Hi - Total newb how to modify this query to get all the available postcode nodes for France in http://overpass-turbo.eu/ . I'm mostly interested in just getting the json returned (if possible). Edit: An example of a postcode 'node' is this: http://www.openstreetmap.org/node/2445940960 I did find the postcode 'relation' that corresponds here: http://www.openstreetmap.org/relation/252642 ...I am mostly interested in just getting the lat/long (point location) of all available 'addr:postcode' tags....is that plausible to do without querying for the relations (or will I miss nodes in the process if I do NOT query the relations?
asked 21 Apr '17, 01:23 goldfishinriver |
So you are looking for all nodes in France whose address information include a postcode ? The query is http://overpass-turbo.eu/s/oxp but you will need a much longer timeout. I cannot speak for France, but e.g. in Flanders, we attempt to not map the postal code on individual nodes. We prefer to use postal code relations. I also do not know how may of the addresses are mapped as nodes in France. Perhaps addresses are also mapped on ways. So be prepared to end up with a large collection of nodes that do not represent anything at all, because data is mapped in another way. answered 22 Apr '17, 06:55 escada |
what is a postcode node ? Can you post a link to an example ?
If you look e.g. at Saint-Etienne via Nominatim: http://nominatim.openstreetmap.org/details.php?place_id=159077530 you see that the postcode is not coming from a unique node. But if you look at the boundary relation http://www.openstreetmap.org/relation/117905, you see a addr:postcode there.
Please clarify your goal by updating the original question or as a comment.