Ciao a tutti,
    qualcuno sa spiegarmi l'abuso del tag designation?

Secondo il wiki "The tag *designation*=* is used to record the legal
classification of a way. Combining
highway<https://wiki.openstreetmap.org/wiki/Key:highway>
=* and access tagging
<https://wiki.openstreetmap.org/wiki/Key:access>provides a worldwide
approximation of how one is permitted to use a path or
a road in law, but it can be helpful to specify the exact local
classification too. "

Però se faccio delle query con le overpass API, ottengo tutto tranne questo.

Es:

<osm-script>
  <query type="node">
    <has-kv k="designation" regv=".*"/>
    <bbox-query e="8.7" n="46.4" s="43.9" w="6.9"/>
  </query>
<print mode="meta"/>
</osm-script>

O anche:

<osm-script>
  <query type="way">
    <has-kv k="designation" regv=".*"/>
    <bbox-query e="8.7" n="46.4" s="43.9" w="6.9"/>
  </query>
<print mode="meta"/>
</osm-script>

Tutte piene di porcherie.

IMHO un altro tag molto abusato è addr:housename. In Italia non dovrebbe
essere usato e invece:

<osm-script>
  <query type="node">
    <has-kv k="addr:housename" regv=".*"/>
    <bbox-query e="8.7" n="46.4" s="43.9" w="6.9"/>
  </query>
<print mode="meta"/>
</osm-script>

Per semplicità, le query sono centrate sul Piemonte. Si possono provare su:
http://overpass-turbo.eu/

Ciao,

Andrea.
_______________________________________________
Talk-it mailing list
Talk-it@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-it

Rispondere a