logo separator

[mkgmap-dev] [PATCH v2] MDR6

From WanMil wmgcnfg at web.de on Mon Jan 17 18:29:31 GMT 2011

>> Steve: Do you know where addresses are loaded? At the moment only the
>> zips of POIs are put into the MDR6 and on a first look I haven't found
>> where addresses with street names and house number etc. are loaded.
> All address information for streets is in the NET section.  Look at
> RoadDef for the class that writes it out. We only do ZIPs/cities
> currently.

I have looked through the code and got the following question:

In MapReader.linesForLevel the following happens:
- List<Subdivision> from the TRE file for a given level is created
- Using the List<Subdivision> a List<Polyline> is created using the RGN file
- Now I want to load and set the related RoadDef instance to each 
Polyline of the list. For this purpose the NET file must be loaded.

My question:
Which relation (id, index etc.) is there between a Polyline object in 
the RGN and a RoadDef object in the NET file?
Does my plan make sense?


More information about the mkgmap-dev mailing list