logo separator

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

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Apr 16 16:00:24 BST 2015

Hi Steve,
> 
> > I am now trying to change the housenumber code so
> > that it produces the additional lists. If I got that right,
> > we need a new data structure containing
> > a) the list of Numbers (as we have now)
> > b) an optional list of zip codes , each a class with two fields:
> > int rNode;
> > String zipCode;
> > c) an optional list of city names, each a class with 4 fields:
> > int rNode;
> > String city,region,country;
> 
> We need left and right versions of each.  We only need the
> integer city index and the integer zip index, if that information
> is available when it is constructed.

good, almost forgot again that left and right can be different.

reg. the field rNode : I think this can be any number node ?

I think the calculation of the int value for the combination of 
city+region+country can only be done when the LBLfile is 
already written? My understanding is that the int 
is a value that corresponds to the field
uk.me.parabola.imgfmt.app.ImgFileWriter.City.index ?

Gerd

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150416/623af66d/attachment-0001.html>


More information about the mkgmap-dev mailing list