Commit: r1269: Fix working out the name that belongs to a city and also

Version 1269 was commited by steve on 2009-10-09 23:05:53 +0100 (Fri, 09 Oct 2009) BRANCH: mdr Fix working out the name that belongs to a city and also fetch the correct city for POIs that have an associated city.

svn commit wrote:
Version 1269 was commited by steve on 2009-10-09 23:05:53 +0100 (Fri, 09 Oct 2009) BRANCH: mdr
Fix working out the name that belongs to a city and also fetch the correct city for POIs that have an associated city.
The city seems to be more or less correct now. The state/county information is still a bit on the weak side but a lot better. Strangely Vorarlberg and Tirol are often replaced with "Hall" which is a city. Maybe if unsure, addresses for several counties could be made up? This way if something is wrongly placed the chance to still find it gets bigger.... Also the "country" is sometimes AT and sometimes AUT. I noticed that official garmin maps often have several records for the same country (e.g. Austria AT; Austria AUT; Oesterreich) - maybe it is possible to associate points/adresses with several countries or put up placeholders? I am using the --country-name= option but it seems not to be used for the index. However - how are the cities determined? Is this dependant on the POI stylefile? - If so please tell which 0x are used - or put up some documentation in which file in the source this is changeable. As for compatibility with GPS - I last tested with 1268 on GPS and it worked well - if I only sent one tile. When I sent whole of Austria I had problems finding "streets" far away from current position, while the street was found in Mapsource. Hope my feedbacks contains something useful.
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

On 09/10/09 23:53, Felix Hartmann wrote:
Fix working out the name that belongs to a city and also fetch the correct city for POIs that have an associated city.
The city seems to be more or less correct now. The state/county information is still a bit on the weak side but a lot better. Strangely Vorarlberg and Tirol are often replaced with "Hall" which is a city. Maybe if unsure, addresses for several counties could be made up? This way if something is wrongly placed the chance to still find it gets bigger....
OK thanks for testing that. The problem with the cities was just a couple of bugs, but after you wrote your message I've discovered a region related field which is now set correctly and may help with counties.
Also the "country" is sometimes AT and sometimes AUT. I noticed that official garmin maps often have several records for the same country (e.g. Austria AT; Austria AUT; Oesterreich) - maybe it is possible to associate points/adresses with several countries or put up placeholders? I am using the --country-name= option but it seems not to be used for the index.
I don't think it is possible to have POIs in more than one country, it may be possible to have several names/translations for the same country, but either way I don't know how.
However - how are the cities determined? Is this dependant on the POI stylefile? - If so please tell which 0x are used - or put up some documentation in which file in the source this is changeable.
Cities are 0x1 to 0x11 inclusive.
As for compatibility with GPS - I last tested with 1268 on GPS and it worked well - if I only sent one tile. When I sent whole of Austria I had problems finding "streets" far away from current position, while the street was found in Mapsource.
OK thanks for the report, I've not done much on device testing yet, it seemed OK with one tile as you found.
Hope my feedbacks contains something useful.
It certainly does, hopefully regions are now better. Regards, ..Steve

Steve Ratcliffe wrote:
On 09/10/09 23:53, Felix Hartmann wrote:
Also the "country" is sometimes AT and sometimes AUT. I noticed that official garmin maps often have several records for the same country (e.g. Austria AT; Austria AUT; Oesterreich) - maybe it is possible to associate points/adresses with several countries or put up placeholders? I am using the --country-name= option but it seems not to be used for the index.
I don't think it is possible to have POIs in more than one country, it may be possible to have several names/translations for the same country, but either way I don't know how.
o.k. on first tries with 1269 it seems mostly correct anyhow. Strangely there are some cities without any county/state or country.
However - how are the cities determined? Is this dependant on the POI stylefile? - If so please tell which 0x are used - or put up some documentation in which file in the source this is changeable.
Cities are 0x1 to 0x11 inclusive.
I assume 0x0100 to 0x1100 too. I have one more serious problem: I can sometimes select a streetname, but impossible to find it (only tested in mapsource). There has to be a bug related to this too. And I would have one feature request. For many things it is very useful to start the search via a description. E.g. I currently preceed the name of mtb routes with mrt {name}. It would be great to be able to search it via {name} or mrt {name}. For this to work both entries would have to be included in the search index. This would also be very useful for many POI. (e.g. we only have one place to put hostels, hotels, guesthouses and motels, so having additional entries preceeded with say motel one could exclusively search for motels near by, but also search for a place where one knows the name, but does not know whether it is a motel or guesthouse....). This is not really a must have, but would be a nice to have feature to make mkgmap created maps stand out from the crowd... - To implement this there would need to be a new code for the style-file to specify this. Or would you say a workaround using "continue patch" and creating POI twice to have them classed in both search possibilites is the only solution for now (will not work for streets however, only POI, and also cause other minor annoyances like bigger size of map in MB)?

As for compatibility with GPS - I last tested with 1268 on GPS and it worked well - if I only sent one tile. When I sent whole of Austria I had problems finding "streets" far away from current position, while the street was found in Mapsource.
OK thanks for the report, I've not done much on device testing yet, it seemed OK with one tile as you found.
Same here. I am able to transfer the small tile that was failing before. Thanks, N.
participants (4)
-
Felix Hartmann
-
Nakor
-
Steve Ratcliffe
-
svn commit