logo separator

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

From Thilo Hannemann thannema at gmx.de on Sun Apr 18 09:46:39 BST 2010

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: reduce_unnecessary_poi_infos.patch
Type: application/octet-stream
Size: 1073 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100418/3ae3f104/attachment.obj 
-------------- next part --------------


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


More information about the mkgmap-dev mailing list