User:Soshial

From OpenStreetMap Wiki
Jump to navigation Jump to search

Roads

highway=passing_place
passing_place=left

overpass

Latgalian titles:

name:ltg=

Livonian titles:

name:liv=

Svanetian titles:

name:sva=

Svanetian romanized titles:

name:sva_rm=

Num Link Overpass query
1 All graveyards and cemeteries of Latvia

Visi kapi Latvijā kartē
try it yourself in overpass-turbo
(
  area["name"="Latvija"]->.boundaryarea;
  way(area.boundaryarea)["amenity"="grave_yard"];
  way(area.boundaryarea)["landuse"="cemetery"];
  node(area.boundaryarea)["landuse"="cemetery"]; // these nodes must be converted to ways
  node(area.boundaryarea)["amenity"="grave_yard"]; // these nodes must be converted to ways
  relation(area.boundaryarea)["landuse"="cemetery"];
  relation(area.boundaryarea)["amenity"="grave_yard"];
);
out meta center;
2 All my "creation" edits in Latvia
try it yourself in overpass-turbo
(
  area["name"="Latvija"]->.boundaryarea;
  way(user:soshial)(area.boundaryarea)(if:version()==1);
  node(user:soshial)(area.boundaryarea)(if:version()==1);
);
out meta center;
2 Get village boundaries without administrative centre or label
НУЖНО ВЫЧЕСТЬ И ОДНО И ДРУГОЕ!
try it yourself in overpass-turbo
area["name" = "Latvija"]->.boundaryarea;
rel(area.boundaryarea)["boundary"="administrative"]["admin_level"="9"]->.all_adm_boundaries;
node(r.all_adm_boundaries: "admin_centre")->.admin_centres;
rel(bn.admin_centres)->.relations_with_adm_center;
node(r.all_adm_boundaries: "label")->.labels;
rel(bn.labels)->.relations_with_label;

(.all_adm_boundaries; - .relations_with_adm_center;);
out bb;