User:Mmd/TurboExample

From OpenStreetMap Wiki
Jump to: navigation, search


try it yourself in overpass-turbo
node["name"="Gielgen"];
out skel;
nowiki test -> Source code not included as URL parameter
try it yourself in overpass-turbo
node["amenity"="post_box"]({{bbox}});
Escaping test

Escaping outside of template: {{

try it yourself in overpass-turbo
node["amenity"="post_box"]({{bbox}});
{{   // escaping inside fails


try it yourself in overpass-turbo
[bbox:{{bbox}}]
[timeout:180];

way[building]->.a1;
foreach.a1->.a(
  node(w.a);
  way(bn)[building] -> .d;
  
  way.a1(around.a:0.4)->.b;
//  way.a1(around.a:0)->.c;

  ((.b; 
   // - .c;
   ); - .d;);
  (._; .result;)->.result;
); 

(.result;.result >;);
out meta;

{{data:overpass,server=http://dev.overpass-api.de/api_mmd/}}