Benutzer:Hartmut: Unterschied zwischen den Versionen

Aus Bielepedia
Wechseln zu: Navigation, Suche
K (.)
K (.)
Zeile 1: Zeile 1:
 
<overpass style='width: 600px; height: 400px'>
 
<overpass style='width: 600px; height: 400px'>
<osm-script output="xml" timeout="25">
+
<!--
   <id-query type="area" ref="3600147441" into="area"/>
+
This has been generated by the overpass-turbo wizard.
 +
The original search was:
 +
“emergency=fire_hydrant in bielefeld”
 +
-->
 +
<osm-script output="json" timeout="25">
 +
  <!-- fetch area “bielefeld” to search in -->
 +
   <id-query type="area" ref="3600062646" into="area"/>
 +
  <!-- gather results -->
 +
  <union>
 +
    <!-- query part for: “emergency=fire_hydrant” -->
 +
    <query type="node">
 +
      <has-kv k="emergency" v="fire_hydrant"/>
 +
      <area-query from="area"/>
 +
    </query>
 
     <query type="way">
 
     <query type="way">
       <has-kv k="highway"/>
+
       <has-kv k="emergency" v="fire_hydrant"/>
       <has-kv k="name" v="Ringstraße"/>
+
      <area-query from="area"/>
 +
    </query>
 +
    <query type="relation">
 +
       <has-kv k="emergency" v="fire_hydrant"/>
 
       <area-query from="area"/>
 
       <area-query from="area"/>
 
     </query>
 
     </query>
 +
  </union>
 +
  <!-- print results -->
 
   <print mode="body"/>
 
   <print mode="body"/>
 
   <recurse type="down"/>
 
   <recurse type="down"/>
 
   <print mode="skeleton" order="quadtile"/>
 
   <print mode="skeleton" order="quadtile"/>
</osm-script>
+
</osm-script>
 +
 
 
</overpass>
 
</overpass>

Version vom 29. September 2014, 21:44 Uhr