logo separator

[mkgmap-dev] [PATCH] POI Address Support, Country Region Autofill

From Bernhard Heibler bernhard at heibler.de on Thu Feb 5 20:44:27 GMT 2009

Hi,

here comes the latest version of my patch. Now updated to latest SVN 
version 861. Patch v3 is a full patch and can be applied without the 
previous ones. Changes to previous version are:

- Reactivated map.setPoiDisplayFlags method to control format of address 
for POIs. Flag is read from xml config file per country
- Road Name POI: Replaced linear search for next city by faster tile 
based search I developed for Country/Region Autofill

I have tested this stuff so far for the following locations: Paris, 
Switzerland, Souther Bavaria - Western Austria, North Italy and 
Cambridge Area UK. Sometimes some cities might end up in the wrong 
region / country because of missing or wrong is_in tagging.

I think I might be able to improve this by geometrically analyzing the 
borderlines in the maps but I have to take a closer look into this.

Resources/LocatorConfig.xml contains only information for a bunch of 
countries. You might want to add a entry to specify variants of country 
names used in the osm file.

Berni.
> - Country Region Autofill for Marks recently added find-by-name function
> - POI simple and complex house number and phone number support
> - POI address info is taken from "Karlsruhe address" info if available
> - Phone support is pretty cool if you have a garmin that support cell 
> phone control
>
> If no country / region / address info is given information is take 
> from nearest city. I have added a class that uses tiles for fast 
> nearest point search. In countries that have OpenGeoDB data imported 
> into OSM this works pretty good. In Bavaria and Austria it works  
> pretty good.
>
> For other countries this doesn't work so well. I have also tested it 
> near Cambridge UK and I it was also not so bad. Unfortunately the 
> is_in tag I have to us is very fuzzy. I needed some lookup tables 
> right now. This are hardcoded in Locator.java right now this should be 
> in a config file. It might help to pass your country with the 
> --country-name option for better County detection.
>
> If you use the .osm file as direct input for mkgmap you should be 
> fine. If you use polish map you have to patch osm2mp because I needed 
> some more fields.  Let me know If this works for you guys or if you 
> have further questions ... 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mkgmap_poi_addr_R861_v3.patch
Url: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090205/9ab5082f/attachment.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: osm2mp_poi_addr_R29_v1.patch
Url: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090205/9ab5082f/attachment-0001.pl 


More information about the mkgmap-dev mailing list