logo separator

[mkgmap-dev] inc/address and --housenumbers

From Gerd Petermann gpetermann_muenchen at hotmail.com on Fri Apr 17 08:55:10 BST 2015



Hi Steve,
> > OK, it is probably too early, how about holding just a pointer
> > to the City if that is available.  The index is available at
> > the time the NET section is written out.
> 
> I should have looked at the existing RoadDef.  That is exactly how it
> is done now: there is a single City and Zip in RoadDef.  We need
> instead an array of City and node/side information.  When it comes to
> writing out, if there is only one city for the whole road then we just
> write the city field exactly as now, and if there is more than one we
> write it in the new way.

yes, I also came to that point. The housenumber code fills
lists in RoadDef, the img write routines calculate the int values
and finally write the additional data.

Gerd

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150417/2847bf00/attachment.html>


More information about the mkgmap-dev mailing list