[OSM-talk-ie] Overpass or wizard query

Brian Hollinshead brian at hollinshead.net
Wed Oct 29 16:58:04 UTC 2014


Using overpass i tried to see how many items tagged historic in County
Dublin for talk on Saturday as part of Local History Day in Pearse Street
Library.

Tried historic=*   got none

Tried historic= yes  got three martello towers

any suggestions welcome as am not familiar with wizard.
By the way some months ago got the figure of 2,600 features tagged historic
in island of Ireland. Cant remember where or how I got it. A reminder would
also be welcome.

Many thanks

<osm-script output="xml" timeout="250">
  <id-query {{nominatimArea:County Dublin}} into="area"/>
  <!-- gather results -->
  <union>
    <query type="way">
      <has-kv k="Historic" v="*"/>
      <area-query from="area"/>
    </query>
    <query type="node">
      <has-kv k="historic" v="*"/>
      <area-query from="area"/>
    </query>
    <query type="relation">
      <has-kv k="historic" v="*"/>
      <area-query from="area"/>
    </query>



  </union>

  <!-- print results -->
  <print mode="meta"/>
  <recurse type="down"/>
  <print mode="meta" order="quadtile"/>
</osm-script>
{{style: /* this is the MapCSS stylesheet */
area { text: name; }
}}


More information about the Talk-ie mailing list