
17 Apr
2015
17 Apr
'15
7:55 a.m.
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