logo separator

[mkgmap-dev] [PATCH v1] - Do not write unnecessary POI information

From Charlie Ferrero charlie at cferrero.net on Mon Apr 19 21:32:30 BST 2010

On 18/04/2010 09:46, Thilo Hannemann wrote:
> The attached patch will prevent writing the additional POI information (address, phone number) if
> - it won't be shown (POIs with IDs 0x64xx to 0x66xx won't have their information shown)
> - there is no street given for that POI
>
>
>
>
>
>
> This reduces the size of the map by about 5% for my map (with a lot of POIs actually generated in the range 0x64xx to 0x66xx).
>
> It may be questionable to write no address information if there is no street given. IMHO though, what I want to have from that additional information is the street address. I can see on the map in which city and region the POI is in and in most cases I can also see the distance to my current location. So if I don't have at least a street name the information about the city and region alone (which is most likely autogenerated and therefore error-prone anyway) doesn't help. For my maps the additional size reduction of this is less than 1 % (which I don't understand BTW, should be more).
>
> I'm not sure about the ID range 0x64xx to 0x66xx - has anybody tested this and knows whether there are additional IDs that won't have their information shown?

My tests suggest that only POIs in the range 0x2A00 to 0x32FF can carry 
address information.



More information about the mkgmap-dev mailing list