[mkgmap-dev] addr:place support
From Florian Lohoff f at zz.de on Sat Apr 4 19:56:15 BST 2015
On Sat, Apr 04, 2015 at 03:03:47PM +0200, Gerd Petermann wrote: > Hi all, > > some month ago we discussed the idea to implement addr:place support. > It it assumed that an address has addr:housenumber and either addr:place or > addr:street. Up to now those with addr:place are ignored. > It is also assumed that the addr:place tag is used in hamlets and small villages > and that the roads in such a hamlet have no name. > > I've coded the following simple approach: > For each element (node/way) with addr:housenumber=* and addr:place=* and addr:street!=* > search the nearest routable way that has no name (mkgmap:street!=*) > If the closest road is within a given range (150m), store the place name as a possible road > name. Perform a 2nd search to find also the closest road with a name or ref. > If we find exactly one possible name for the road, use it. As a small example - I have a small Hamlet here called Bosfeld beloning to a town called Rheda-Wiedenbrück with a suburb of Rheda. The main street through Bosfeld is called "Bosfelder Weg" although all adresses are "Bosfeld 1" through 60 or something. So mkgmap:street!=* will be wrong in finding the next routable way. Flo -- Florian Lohoff f at zz.de We need to self-defense - GnuPG/PGP enable your email today! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 828 bytes Desc: Digital signature URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150404/72cc3471/attachment-0001.sig>
- Previous message: [mkgmap-dev] addr:place support
- Next message: [mkgmap-dev] addr:place support
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list