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

Attachment: reduce_unnecessary_poi_infos.patch
Description: Binary data


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?

Regards
Thilo
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to