[OSM-talk-be] Robot pour CP manquants à Bruxelles - A bot for missing postal codes [FR-EN]
Glenn Plas
glenn at byte-consult.be
Mon Dec 7 17:30:06 UTC 2015
On 06-12-15 18:25, Bruno Veyckemans wrote:
> OK, Thanks for your answers.
>
> I understand that some of you consider postal code as redundant
> information in Belgium. Maybe it is... but I'm not 100% convinced ;-)
I consider repeating addr:postcode on every bloody building (node or
way) in OSM a severe waste of resources, not only in size of the databse
but also in efforts by mappers... relations are exactly meant to make
your live easier by not repeating the same information over an over
again that can easily be derived from existing data itself.
You really don't have to calculate it.... http://overpass-turbo.eu/s/d8S
The only reason I believe it is useful is when a bordercase goes wrong
and you want to help geocoding/reverse geocoding a bit.
You don't repeat addr:city or addr:country and on every node/building in
Belgium either, we know where it is by using the coordinates. It's the
same for postal codes once you have the boundary borders, it's piece of
cake in any programming language to figure out if a point is inside or
outside a polygon.
> When I use OSM as a database with Overpass Turbo, I like to receive
> postal code as a variable and display it without having to calculate it
> (maybe there's another way to do this ?).
Again, that word calculate, makes me wonder where that idea comes from.
Could you elaborate ?
> PS: I hope this answer will be associated with the correct thread...
> This is my first answer in the mailing-list and I'm definitely not a geek :)
I found it! So A-OK. Welcome!
Glenn
More information about the Talk-be
mailing list