User:AlephNull/Overpass queries

From OpenStreetMap Wiki
Jump to navigation Jump to search

PGS cleanup

[out:json][timeout:25];
(
  node["source"="PGS"]((bbox={{{minlon}}},{{{minlat}}},{{{maxlon}}},{{{maxlat}}}));
  way["source"="PGS"]((bbox={{{minlon}}},{{{minlat}}},{{{maxlon}}},{{{maxlat}}}));
  relation["source"="PGS"]((bbox={{{minlon}}},{{{minlat}}},{{{maxlon}}},{{{maxlat}}}));
);
out body;
>;
out skel qt;

Common short names

Mt

[out:json][timeout:25];
(
  node["name"~"Mt .*"]((bbox={{{minlon}}},{{{minlat}}},{{{maxlon}}},{{{maxlat}}}));
  way["name"~"Mt .*"]((bbox={{{minlon}}},{{{minlat}}},{{{maxlon}}},{{{maxlat}}}));
  relation["name"~"Mt .*"]((bbox={{{minlon}}},{{{minlat}}},{{{maxlon}}},{{{maxlat}}}));
);
out body;
>;
out skel qt;

St

[out:json][timeout:25];
(
  node["name"~"St .*"]((bbox={{{minlon}}},{{{minlat}}},{{{maxlon}}},{{{maxlat}}}));
  way["name"~"St .*"]((bbox={{{minlon}}},{{{minlat}}},{{{maxlon}}},{{{maxlat}}}));
  relation["name"~"St .*"]((bbox={{{minlon}}},{{{minlat}}},{{{maxlon}}},{{{maxlat}}}));
);
out body;
>;
out skel qt;