Country unification in address search

Am I alone with the problem that for any country the unification of countries to a single choice in address search is not fully working? e.g. in Austria I get: Österreich (AUT) --- most addresses are found under this entry. Austria (AT) // AT (Austria)-- nearly no addresses found here - but it exists so some addresses are classified like this Aut -- find every result twice - but in essence it's the same as Österreich (AUT) I thought * <country name="Österreich" abr="AUT" streetBeforeHousenumber="true" postalcodeBeforeCity="true"> <variant>Austria</variant> <variant>AT</variant> <variant>AUT</variant> <variant>Oesterreich</variant> <variant>Oestereich</variant> <variant>Östereich</variant> </country>* in locatorconfig.xml should solve this. How is it possible that I do get addresses in the wrong country? In Canada i.e. it's really bad. -- Felix Hartman - Openmtbmap.org & VeloMap.org Floragasse 9/11 1040 Wien Austria - Österreich

Hi Felix, I think the results depends on the bounds file and your style. For example, we used to have the rule mkgmap:country!=* & addr:country=* { set mkgmap:country='${addr:country}' } in inc/address. The tag addr:country typically contains a 3-byte-ISO code like AUT, but we expect 2-byte-code in mkgmap:country. So, now we have the rule mkgmap:country!=* & addr:country=* { set mkgmap:country='${addr:country|country-ISO:}' } I am not sure if the "wrong" value was written to the img file, but it caused problems in the housenumber code. If that doesn't help, please post details that allow to reproduce the problem. Gerd ________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver@gmail.com> Gesendet: Mittwoch, 11. November 2015 23:16 An: Development list for mkgmap Betreff: [mkgmap-dev] Country unification in address search Am I alone with the problem that for any country the unification of countries to a single choice in address search is not fully working? e.g. in Austria I get: Österreich (AUT) --- most addresses are found under this entry. Austria (AT) // AT (Austria)-- nearly no addresses found here - but it exists so some addresses are classified like this Aut -- find every result twice - but in essence it's the same as Österreich (AUT) I thought <country name="Österreich" abr="AUT" streetBeforeHousenumber="true" postalcodeBeforeCity="true"> <variant>Austria</variant> <variant>AT</variant> <variant>AUT</variant> <variant>Oesterreich</variant> <variant>Oestereich</variant> <variant>Östereich</variant> </country> in locatorconfig.xml should solve this. How is it possible that I do get addresses in the wrong country? In Canada i.e. it's really bad. -- Felix Hartman - Openmtbmap.org & VeloMap.org Floragasse 9/11 1040 Wien Austria - Österreich

Well I use the bounds file - updated every month or so from here: http://osm.thkukuk.de/data/bounds-latest.zip As for my address rules - I have the same rules for set mkgmap:country as in the default style. I wonder if adding: mkgmap:country=AT {set mkgmap:country=AUT} mkgmap:country=Aut {set mkgmap:country=AUT} would be of any help. But if I assume that the bug is in the bounds file - couldn't there be a possibility for mkgmap to harmonize it according to locator.config rules - they are pretty much covering all problem cases. Felix On 12.11.2015 08:56, Gerd Petermann wrote:
Hi Felix,
I think the results depends on the bounds file and your style.
For example, we used to have the rule
mkgmap:country!=* & addr:country=* { set mkgmap:country='${addr:country}' }
in inc/address. The tag addr:country typically contains a 3-byte-ISO code like AUT,
but we expect 2-byte-code in mkgmap:country.
So, now we have the rule
mkgmap:country!=* & addr:country=* { set mkgmap:country='${addr:country|country-ISO:}' }
I am not sure if the "wrong" value was written to the img file, but it caused problems in the
housenumber code. If that doesn't help, please post details that allow to reproduce the problem.
Gerd
------------------------------------------------------------------------ *Von:* mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver@gmail.com> *Gesendet:* Mittwoch, 11. November 2015 23:16 *An:* Development list for mkgmap *Betreff:* [mkgmap-dev] Country unification in address search Am I alone with the problem that for any country the unification of countries to a single choice in address search is not fully working?
e.g. in Austria I get: Österreich (AUT) --- most addresses are found under this entry. Austria (AT) // AT (Austria)-- nearly no addresses found here - but it exists so some addresses are classified like this Aut -- find every result twice - but in essence it's the same as Österreich (AUT)
I thought
/<country name="Österreich" abr="AUT" streetBeforeHousenumber="true" postalcodeBeforeCity="true"> <variant>Austria</variant> <variant>AT</variant> <variant>AUT</variant> <variant>Oesterreich</variant> <variant>Oestereich</variant> <variant>Östereich</variant> </country> / in locatorconfig.xml should solve this. How is it possible that I do get addresses in the wrong country? In Canada i.e. it's really bad.
-- Felix Hartman - Openmtbmap.org & VeloMap.org Floragasse 9/11 1040 Wien Austria - Österreich
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- keep on biking and discovering new trails Felix openmtbmap.org & www.velomap.org

Hi Felix, I'd like to reproduce the problem. Please let me know a way id or post a small input file that shows the problem. Gerd ________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver@gmail.com> Gesendet: Donnerstag, 12. November 2015 20:52 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search Well I use the bounds file - updated every month or so from here: http://osm.thkukuk.de/data/bounds-latest.zip As for my address rules - I have the same rules for set mkgmap:country as in the default style. I wonder if adding: mkgmap:country=AT {set mkgmap:country=AUT} mkgmap:country=Aut {set mkgmap:country=AUT} would be of any help. But if I assume that the bug is in the bounds file - couldn't there be a possibility for mkgmap to harmonize it according to locator.config rules - they are pretty much covering all problem cases. Felix On 12.11.2015 08:56, Gerd Petermann wrote: Hi Felix, I think the results depends on the bounds file and your style. For example, we used to have the rule mkgmap:country!=* & addr:country=* { set mkgmap:country='${addr:country}' } in inc/address. The tag addr:country typically contains a 3-byte-ISO code like AUT, but we expect 2-byte-code in mkgmap:country. So, now we have the rule mkgmap:country!=* & addr:country=* { set mkgmap:country='${addr:country|country-ISO:}' } I am not sure if the "wrong" value was written to the img file, but it caused problems in the housenumber code. If that doesn't help, please post details that allow to reproduce the problem. Gerd ________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver@gmail.com><mailto:extremecarver@gmail.com> Gesendet: Mittwoch, 11. November 2015 23:16 An: Development list for mkgmap Betreff: [mkgmap-dev] Country unification in address search Am I alone with the problem that for any country the unification of countries to a single choice in address search is not fully working? e.g. in Austria I get: Österreich (AUT) --- most addresses are found under this entry. Austria (AT) // AT (Austria)-- nearly no addresses found here - but it exists so some addresses are classified like this Aut -- find every result twice - but in essence it's the same as Österreich (AUT) I thought <country name="Österreich" abr="AUT" streetBeforeHousenumber="true" postalcodeBeforeCity="true"> <variant>Austria</variant> <variant>AT</variant> <variant>AUT</variant> <variant>Oesterreich</variant> <variant>Oestereich</variant> <variant>Östereich</variant> </country> in locatorconfig.xml should solve this. How is it possible that I do get addresses in the wrong country? In Canada i.e. it's really bad. -- Felix Hartman - Openmtbmap.org & VeloMap.org Floragasse 9/11 1040 Wien Austria - Österreich _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -- keep on biking and discovering new trails Felix openmtbmap.org & www.velomap.org<http://www.velomap.org>

Hi, On Thu, Nov 12, Felix Hartmann wrote:
Well I use the bounds file - updated every month or so from here: http://osm.thkukuk.de/data/bounds-latest.zip
It's updated every week, if it passes the sanity checks. So if too many boundaries are broken, it's not updated. On my device I have the choice between "Oesterreich" and "AUT". Below "AUT" I can only find very few streets. I haven't found out yet why this is the case, the data looks ok. There is one example, look at the OSM data for Schlosscafe, Glorietteallee 1, Eisenstadt. It's using "AT" as country, but can be found below AUT, so this mapping works. But "Eisenstadt" cannot be found below "Oesterreich". Interesting is, that "Eisenstadt" is adminlevel 6, not the expected 8. Either the mapping of the admin level is wrong or some boundaries are missing, but in any cases, the fallback in inc/address should match? Maybe this example helps some people here to find out what's going wrong. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

okay - I just tried out lambertus generic map ( http://garmin.openstreetmap.nl/ ) - AFAIK it's fully default style - but for that map it seems to work more or less. More or less because it only finds AUT and Austria (AUT). Under AUT every address is found twice - under Austria (AUT) every address is found once only. I don't know. So maybe this is due to the bounds file? I'm not sure what Lambertus is using for bounds. I would guess this can be fixed either in the bounds file creation - or in the map creation itself. I will try to find some more myself. But for my understanding such countries should not even be selectable. The fact that such bogus countries are selectable - must mean that some objects are found for them - doesn't it? I will check up for Canada - as that's where I got twice an error report by a user. At least for single country maps - maybe there could be an option to hardcode the country via command line options? On 12 November 2015 at 21:25, Thorsten Kukuk <kukuk@suse.de> wrote:
Hi,
On Thu, Nov 12, Felix Hartmann wrote:
Well I use the bounds file - updated every month or so from here: http://osm.thkukuk.de/data/bounds-latest.zip
It's updated every week, if it passes the sanity checks. So if too many boundaries are broken, it's not updated.
On my device I have the choice between "Oesterreich" and "AUT". Below "AUT" I can only find very few streets. I haven't found out yet why this is the case, the data looks ok.
There is one example, look at the OSM data for Schlosscafe, Glorietteallee 1, Eisenstadt.
It's using "AT" as country, but can be found below AUT, so this mapping works. But "Eisenstadt" cannot be found below "Oesterreich".
Interesting is, that "Eisenstadt" is adminlevel 6, not the expected 8. Either the mapping of the admin level is wrong or some boundaries are missing, but in any cases, the fallback in inc/address should match?
Maybe this example helps some people here to find out what's going wrong.
Thorsten
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Felix Hartman - Openmtbmap.org & VeloMap.org Floragasse 9/11 1040 Wien Austria - Österreich

On Thu, Nov 12, Felix Hartmann wrote:
I will try to find some more myself. But for my understanding such countries should not even be selectable. The fact that such bogus countries are selectable - must mean that some objects are found for them - doesn't it? I will check up for Canada - as that's where I got twice an error report by a user.
At least for single country maps - maybe there could be an option to hardcode the country via command line options?
As I wrote: the mapping from AT to AUT as country is working, at least in my example. But then something goes wrong. Because AUT should map to Oesterreich according to the LocatorConfig.xml file. Thorsten
On 12 November 2015 at 21:25, Thorsten Kukuk <kukuk@suse.de> wrote:
Hi,
On Thu, Nov 12, Felix Hartmann wrote:
Well I use the bounds file - updated every month or so from here: http://osm.thkukuk.de/data/bounds-latest.zip
It's updated every week, if it passes the sanity checks. So if too many boundaries are broken, it's not updated.
On my device I have the choice between "Oesterreich" and "AUT". Below "AUT" I can only find very few streets. I haven't found out yet why this is the case, the data looks ok.
There is one example, look at the OSM data for Schlosscafe, Glorietteallee 1, Eisenstadt.
It's using "AT" as country, but can be found below AUT, so this mapping works. But "Eisenstadt" cannot be found below "Oesterreich".
Interesting is, that "Eisenstadt" is adminlevel 6, not the expected 8. Either the mapping of the admin level is wrong or some boundaries are missing, but in any cases, the fallback in inc/address should match?
Maybe this example helps some people here to find out what's going wrong.
Thorsten
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Felix Hartman - Openmtbmap.org & VeloMap.org Floragasse 9/11 1040 Wien Austria - Österreich
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

Hi, after quite some testing, I think we see a problem of a corrupted or wrong index. All tests are done with my GPSMap 62s. On Thu, Nov 12, Thorsten Kukuk wrote:
On my device I have the choice between "Oesterreich" and "AUT". Below "AUT" I can only find very few streets. I haven't found out yet why this is the case, the data looks ok.
There is one example, look at the OSM data for Schlosscafe, Glorietteallee 1, Eisenstadt.
After looking at the OSM data: - All addresses found below "AUT" are tagged in OSM with country=AT This at least tells me, that the mapping AT => AUT is working - The addresses found below "AUT" looks the same way as the ones below "Oesterreich", and according too google and OSM data, the addresses are correct (as used in Austria) and fits with the OSM data. - For many of the addresses found only below "AUT": If I select one, one of the two things will happen: 1. the device crashes 2. I get a list of street names/house numbers/cities I have to choose from, which have nothing to do with the address I searched for. This all let me think that at least my GARMIN device is intrepreting the address index a little bit different or there is a broken pointer somewhere in it. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

Hi Thorsten, I think I found an error in the code, sometimes country information is normalized, sometimes not. I am just testing the patch... Gerd ________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thorsten Kukuk <kukuk@suse.de> Gesendet: Freitag, 13. November 2015 09:31 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] Country unification in address search Hi, after quite some testing, I think we see a problem of a corrupted or wrong index. All tests are done with my GPSMap 62s. On Thu, Nov 12, Thorsten Kukuk wrote:
On my device I have the choice between "Oesterreich" and "AUT". Below "AUT" I can only find very few streets. I haven't found out yet why this is the case, the data looks ok.
There is one example, look at the OSM data for Schlosscafe, Glorietteallee 1, Eisenstadt.
After looking at the OSM data: - All addresses found below "AUT" are tagged in OSM with country=AT This at least tells me, that the mapping AT => AUT is working - The addresses found below "AUT" looks the same way as the ones below "Oesterreich", and according too google and OSM data, the addresses are correct (as used in Austria) and fits with the OSM data. - For many of the addresses found only below "AUT": If I select one, one of the two things will happen: 1. the device crashes 2. I get a list of street names/house numbers/cities I have to choose from, which have nothing to do with the address I searched for. This all let me think that at least my GARMIN device is intrepreting the address index a little bit different or there is a broken pointer somewhere in it. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Gerd, On Fri, Nov 13, Gerd Petermann wrote:
Hi Thorsten,
I think I found an error in the code, sometimes country information is normalized, sometimes not. I am just testing the patch...
For Austria it is now working fine for me. I see still some problems in Belgium, but I'm sure that's because our address rules for that country don't fit together with the OSM data. Need to look deeper what is correct. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

great :-) Please post any new findings, I am sure the address rules are not yet complete. Gerd ________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thorsten Kukuk <kukuk@suse.de> Gesendet: Freitag, 13. November 2015 14:23 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search Hi Gerd, On Fri, Nov 13, Gerd Petermann wrote:
Hi Thorsten,
I think I found an error in the code, sometimes country information is normalized, sometimes not. I am just testing the patch...
For Austria it is now working fine for me. I see still some problems in Belgium, but I'm sure that's because our address rules for that country don't fit together with the OSM data. Need to look deeper what is correct. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Thanks for the first patch. In Mapsource "Aut" entry has disappeared now for me. However I can still select Austria (AT) respectively AT (Austria). Besides that I see no errors. I mean there must exist an address with AT in the map - else I could not select it. How can I find such addresses? On 13 November 2015 at 14:45, Gerd Petermann < GPetermann_muenchen@hotmail.com> wrote:
great :-) Please post any new findings, I am sure the address rules are not yet complete.
Gerd ________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk < mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thorsten Kukuk < kukuk@suse.de> Gesendet: Freitag, 13. November 2015 14:23 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search
Hi Gerd,
On Fri, Nov 13, Gerd Petermann wrote:
Hi Thorsten,
I think I found an error in the code, sometimes country information is normalized, sometimes not. I am just testing the patch...
For Austria it is now working fine for me.
I see still some problems in Belgium, but I'm sure that's because our address rules for that country don't fit together with the OSM data. Need to look deeper what is correct.
Thorsten
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Felix Hartman - Openmtbmap.org & VeloMap.org Floragasse 9/11 1040 Wien Austria - Österreich

Hi Felix, my understanding is that both variants find the same addresses and that mkgmap stores only one, so the other is produced by the Garmin software. Gerd ________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver@gmail.com> Gesendet: Sonntag, 15. November 2015 16:07 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search Thanks for the first patch. In Mapsource "Aut" entry has disappeared now for me. However I can still select Austria (AT) respectively AT (Austria). Besides that I see no errors. I mean there must exist an address with AT in the map - else I could not select it. How can I find such addresses? On 13 November 2015 at 14:45, Gerd Petermann <GPetermann_muenchen@hotmail.com<mailto:GPetermann_muenchen@hotmail.com>> wrote: great :-) Please post any new findings, I am sure the address rules are not yet complete. Gerd ________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>> im Auftrag von Thorsten Kukuk <kukuk@suse.de<mailto:kukuk@suse.de>> Gesendet: Freitag, 13. November 2015 14:23 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search Hi Gerd, On Fri, Nov 13, Gerd Petermann wrote:
Hi Thorsten,
I think I found an error in the code, sometimes country information is normalized, sometimes not. I am just testing the patch...
For Austria it is now working fine for me. I see still some problems in Belgium, but I'm sure that's because our address rules for that country don't fit together with the OSM data. Need to look deeper what is correct. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -- Felix Hartman - Openmtbmap.org & VeloMap.org Floragasse 9/11 1040 Wien Austria - Österreich

Hi at all, i found a problem in the city 'Wien' : if i search in Mapsource any address in the city 'Wien', so i type in the textbox 'Stadt' the string 'Wien', textbox 'Bundesland/Provinz' is empty, Mapsource tell me : 'Die ausgewählte Strasse ist in diesem Kartenprodukt nicht zulässig...' . But if i use textbox 'Bundesland/Provinz = Wien' and textbox 'Stadt' is empty, Mapsource find it successfull. Maybee must in stylefile-->adress--> Austria a speciall line added, so that 'Wien' is not only a region, but also a city ? Thomas Am 15.11.2015 um 17:38 schrieb Gerd Petermann:
Hi Felix,
my understanding is that both variants find the same addresses
and that mkgmap stores only one, so the other is produced by
the Garmin software.
Gerd
------------------------------------------------------------------------ *Von:* mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver@gmail.com> *Gesendet:* Sonntag, 15. November 2015 16:07 *An:* Development list for mkgmap *Betreff:* Re: [mkgmap-dev] Country unification in address search Thanks for the first patch. In Mapsource "Aut" entry has disappeared now for me. However I can still select Austria (AT) respectively AT (Austria). Besides that I see no errors. I mean there must exist an address with AT in the map - else I could not select it.
How can I find such addresses?
On 13 November 2015 at 14:45, Gerd Petermann <GPetermann_muenchen@hotmail.com <mailto:GPetermann_muenchen@hotmail.com>> wrote:
great :-) Please post any new findings, I am sure the address rules are not yet complete.
Gerd ________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk <mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>> im Auftrag von Thorsten Kukuk <kukuk@suse.de <mailto:kukuk@suse.de>> Gesendet: Freitag, 13. November 2015 14:23 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search
Hi Gerd,
On Fri, Nov 13, Gerd Petermann wrote:
> Hi Thorsten, > > I think I found an error in the code, sometimes country > information is normalized, sometimes not. I am just testing the patch...
For Austria it is now working fine for me.
I see still some problems in Belgium, but I'm sure that's because our address rules for that country don't fit together with the OSM data. Need to look deeper what is correct.
Thorsten
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Felix Hartman - Openmtbmap.org & VeloMap.org Floragasse 9/11 1040 Wien Austria - Österreich
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Thomas, yes, Wien has admin_level=4. I think it should be treated the same way like Hamburg in Germany: mkgmap:country=AUT & mkgmap:city!=* & mkgmap:admin_level4=Wien {set mkgmap:city='${mkgmap:admin_level4}' } If I hear no complains I'll commit the attached patch on thursday. Gerd ________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thomas Morgenstern <webmaster@img2ms.de> Gesendet: Montag, 16. November 2015 07:51 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search Hi at all, i found a problem in the city 'Wien' : if i search in Mapsource any address in the city 'Wien', so i type in the textbox 'Stadt' the string 'Wien', textbox 'Bundesland/Provinz' is empty, Mapsource tell me : 'Die ausgewählte Strasse ist in diesem Kartenprodukt nicht zulässig...' . But if i use textbox 'Bundesland/Provinz = Wien' and textbox 'Stadt' is empty, Mapsource find it successfull. Maybee must in stylefile-->adress--> Austria a speciall line added, so that 'Wien' is not only a region, but also a city ? Thomas Am 15.11.2015 um 17:38 schrieb Gerd Petermann: Hi Felix, my understanding is that both variants find the same addresses and that mkgmap stores only one, so the other is produced by the Garmin software. Gerd ________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver@gmail.com><mailto:extremecarver@gmail.com> Gesendet: Sonntag, 15. November 2015 16:07 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search Thanks for the first patch. In Mapsource "Aut" entry has disappeared now for me. However I can still select Austria (AT) respectively AT (Austria). Besides that I see no errors. I mean there must exist an address with AT in the map - else I could not select it. How can I find such addresses? On 13 November 2015 at 14:45, Gerd Petermann <GPetermann_muenchen@hotmail.com<mailto:GPetermann_muenchen@hotmail.com>> wrote: great :-) Please post any new findings, I am sure the address rules are not yet complete. Gerd ________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>> im Auftrag von Thorsten Kukuk <kukuk@suse.de<mailto:kukuk@suse.de>> Gesendet: Freitag, 13. November 2015 14:23 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search Hi Gerd, On Fri, Nov 13, Gerd Petermann wrote:
Hi Thorsten,
I think I found an error in the code, sometimes country information is normalized, sometimes not. I am just testing the patch...
For Austria it is now working fine for me. I see still some problems in Belgium, but I'm sure that's because our address rules for that country don't fit together with the OSM data. Need to look deeper what is correct. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -- Felix Hartman - Openmtbmap.org & VeloMap.org Floragasse 9/11 1040 Wien Austria - Österreich _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi, sorry , the pach do not work. After using the pach, the situation is like befor: 'Wien' as city give me no results->error : 'Die ausgewählte Strasse ist in diesem Kartenproduct nicht zulässig'. String 'Wien' as region is successfull. But in my opinion Wien is a at first a city und second a region. My test-exampel : searching for : Praterstrasse 44, Wien. regards thomas Am 17.11.2015 um 10:43 schrieb Gerd Petermann:
Hi Thomas,
yes, Wien has admin_level=4. I think it should be treated the same way like Hamburg in Germany:
mkgmap:country=AUT & mkgmap:city!=* & mkgmap:admin_level4=Wien {set mkgmap:city='${mkgmap:admin_level4}' }
If I hear no complains I'll commit the attached patch on thursday.
Gerd
------------------------------------------------------------------------ *Von:* mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thomas Morgenstern <webmaster@img2ms.de> *Gesendet:* Montag, 16. November 2015 07:51 *An:* Development list for mkgmap *Betreff:* Re: [mkgmap-dev] Country unification in address search Hi at all, i found a problem in the city 'Wien' : if i search in Mapsource any address in the city 'Wien', so i type in the textbox 'Stadt' the string 'Wien', textbox 'Bundesland/Provinz' is empty, Mapsource tell me : 'Die ausgewählte Strasse ist in diesem Kartenprodukt nicht zulässig...' . But if i use textbox 'Bundesland/Provinz = Wien' and textbox 'Stadt' is empty, Mapsource find it successfull. Maybee must in stylefile-->adress--> Austria a speciall line added, so that 'Wien' is not only a region, but also a city ?
Thomas
Am 15.11.2015 um 17:38 schrieb Gerd Petermann:
Hi Felix,
my understanding is that both variants find the same addresses
and that mkgmap stores only one, so the other is produced by
the Garmin software.
Gerd
------------------------------------------------------------------------ *Von:* mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver@gmail.com> *Gesendet:* Sonntag, 15. November 2015 16:07 *An:* Development list for mkgmap *Betreff:* Re: [mkgmap-dev] Country unification in address search Thanks for the first patch. In Mapsource "Aut" entry has disappeared now for me. However I can still select Austria (AT) respectively AT (Austria). Besides that I see no errors. I mean there must exist an address with AT in the map - else I could not select it.
How can I find such addresses?
On 13 November 2015 at 14:45, Gerd Petermann <GPetermann_muenchen@hotmail.com <mailto:GPetermann_muenchen@hotmail.com>> wrote:
great :-) Please post any new findings, I am sure the address rules are not yet complete.
Gerd ________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk <mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>> im Auftrag von Thorsten Kukuk <kukuk@suse.de <mailto:kukuk@suse.de>> Gesendet: Freitag, 13. November 2015 14:23 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search
Hi Gerd,
On Fri, Nov 13, Gerd Petermann wrote:
> Hi Thorsten, > > I think I found an error in the code, sometimes country > information is normalized, sometimes not. I am just testing the patch...
For Austria it is now working fine for me.
I see still some problems in Belgium, but I'm sure that's because our address rules for that country don't fit together with the OSM data. Need to look deeper what is correct.
Thorsten
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Felix Hartman - Openmtbmap.org & VeloMap.org Floragasse 9/11 1040 Wien Austria - Österreich
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

On Wed, Nov 18, Thomas Morgenstern wrote:
Hi, sorry , the pach do not work. After using the pach, the situation is like befor: 'Wien' as city give me no results->error : 'Die ausgewählte Strasse ist in diesem Kartenproduct nicht zulässig'. String 'Wien' as region is successfull. But in my opinion Wien is a at first a city und second a region. My test-exampel : searching for : Praterstrasse 44, Wien.
Works fine for me with this patch. For me it sounds like you are not using MapSource correct. I bet you are in the tab "Adresse", not "Stadt", and you did only enter Wien, no street name. In this case you will get this error message. So a user error, not a mkgmap problem. Thorsten
regards thomas Am 17.11.2015 um 10:43 schrieb Gerd Petermann:
Hi Thomas,
yes, Wien has admin_level=4. I think it should be treated the same way like Hamburg in Germany:
mkgmap:country=AUT & mkgmap:city!=* & mkgmap:admin_level4=Wien {set mkgmap:city='${mkgmap:admin_level4}' }
If I hear no complains I'll commit the attached patch on thursday.
Gerd
------------------------------------------------------------------------ *Von:* mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thomas Morgenstern <webmaster@img2ms.de> *Gesendet:* Montag, 16. November 2015 07:51 *An:* Development list for mkgmap *Betreff:* Re: [mkgmap-dev] Country unification in address search Hi at all, i found a problem in the city 'Wien' : if i search in Mapsource any address in the city 'Wien', so i type in the textbox 'Stadt' the string 'Wien', textbox 'Bundesland/Provinz' is empty, Mapsource tell me : 'Die ausgewählte Strasse ist in diesem Kartenprodukt nicht zulässig...' . But if i use textbox 'Bundesland/Provinz = Wien' and textbox 'Stadt' is empty, Mapsource find it successfull. Maybee must in stylefile-->adress--> Austria a speciall line added, so that 'Wien' is not only a region, but also a city ?
Thomas
Am 15.11.2015 um 17:38 schrieb Gerd Petermann:
Hi Felix,
my understanding is that both variants find the same addresses
and that mkgmap stores only one, so the other is produced by
the Garmin software.
Gerd
------------------------------------------------------------------------ *Von:* mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver@gmail.com> *Gesendet:* Sonntag, 15. November 2015 16:07 *An:* Development list for mkgmap *Betreff:* Re: [mkgmap-dev] Country unification in address search Thanks for the first patch. In Mapsource "Aut" entry has disappeared now for me. However I can still select Austria (AT) respectively AT (Austria). Besides that I see no errors. I mean there must exist an address with AT in the map - else I could not select it.
How can I find such addresses?
On 13 November 2015 at 14:45, Gerd Petermann <GPetermann_muenchen@hotmail.com <mailto:GPetermann_muenchen@hotmail.com>> wrote:
great :-) Please post any new findings, I am sure the address rules are not yet complete.
Gerd ________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk <mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>> im Auftrag von Thorsten Kukuk <kukuk@suse.de <mailto:kukuk@suse.de>> Gesendet: Freitag, 13. November 2015 14:23 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search
Hi Gerd,
On Fri, Nov 13, Gerd Petermann wrote:
Hi Thorsten,
I think I found an error in the code, sometimes country information is normalized, sometimes not. I am just testing the patch...
For Austria it is now working fine for me.
I see still some problems in Belgium, but I'm sure that's because our address rules for that country don't fit together with the OSM data. Need to look deeper what is correct.
Thorsten
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Felix Hartman - Openmtbmap.org & VeloMap.org Floragasse 9/11 1040 Wien Austria - Österreich
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

Hi Thorsten, thanks , I just started to download the bounds file. Another explanation: Thorsten did not use the patched style. @Thorsten: When you use the patch to change the default style you must either compile mkgmap on your own or use the --style-file option to point to the patched files, else mkgmap will use the style files which are stored in mkgmap.jar. Gerd ________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thorsten Kukuk <kukuk@suse.de> Gesendet: Mittwoch, 18. November 2015 10:07 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] Country unification in address search On Wed, Nov 18, Thomas Morgenstern wrote:
Hi, sorry , the pach do not work. After using the pach, the situation is like befor: 'Wien' as city give me no results->error : 'Die ausgewählte Strasse ist in diesem Kartenproduct nicht zulässig'. String 'Wien' as region is successfull. But in my opinion Wien is a at first a city und second a region. My test-exampel : searching for : Praterstrasse 44, Wien.
Works fine for me with this patch. For me it sounds like you are not using MapSource correct. I bet you are in the tab "Adresse", not "Stadt", and you did only enter Wien, no street name. In this case you will get this error message. So a user error, not a mkgmap problem. Thorsten
regards thomas Am 17.11.2015 um 10:43 schrieb Gerd Petermann:
Hi Thomas,
yes, Wien has admin_level=4. I think it should be treated the same way like Hamburg in Germany:
mkgmap:country=AUT & mkgmap:city!=* & mkgmap:admin_level4=Wien {set mkgmap:city='${mkgmap:admin_level4}' }
If I hear no complains I'll commit the attached patch on thursday.
Gerd
------------------------------------------------------------------------ *Von:* mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thomas Morgenstern <webmaster@img2ms.de> *Gesendet:* Montag, 16. November 2015 07:51 *An:* Development list for mkgmap *Betreff:* Re: [mkgmap-dev] Country unification in address search Hi at all, i found a problem in the city 'Wien' : if i search in Mapsource any address in the city 'Wien', so i type in the textbox 'Stadt' the string 'Wien', textbox 'Bundesland/Provinz' is empty, Mapsource tell me : 'Die ausgewählte Strasse ist in diesem Kartenprodukt nicht zulässig...' . But if i use textbox 'Bundesland/Provinz = Wien' and textbox 'Stadt' is empty, Mapsource find it successfull. Maybee must in stylefile-->adress--> Austria a speciall line added, so that 'Wien' is not only a region, but also a city ?
Thomas
Am 15.11.2015 um 17:38 schrieb Gerd Petermann:
Hi Felix,
my understanding is that both variants find the same addresses
and that mkgmap stores only one, so the other is produced by
the Garmin software.
Gerd
------------------------------------------------------------------------ *Von:* mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver@gmail.com> *Gesendet:* Sonntag, 15. November 2015 16:07 *An:* Development list for mkgmap *Betreff:* Re: [mkgmap-dev] Country unification in address search Thanks for the first patch. In Mapsource "Aut" entry has disappeared now for me. However I can still select Austria (AT) respectively AT (Austria). Besides that I see no errors. I mean there must exist an address with AT in the map - else I could not select it.
How can I find such addresses?
On 13 November 2015 at 14:45, Gerd Petermann <GPetermann_muenchen@hotmail.com <mailto:GPetermann_muenchen@hotmail.com>> wrote:
great :-) Please post any new findings, I am sure the address rules are not yet complete.
Gerd ________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk <mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>> im Auftrag von Thorsten Kukuk <kukuk@suse.de <mailto:kukuk@suse.de>> Gesendet: Freitag, 13. November 2015 14:23 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search
Hi Gerd,
On Fri, Nov 13, Gerd Petermann wrote:
Hi Thorsten,
I think I found an error in the code, sometimes country information is normalized, sometimes not. I am just testing the patch...
For Austria it is now working fine for me.
I see still some problems in Belgium, but I'm sure that's because our address rules for that country don't fit together with the OSM data. Need to look deeper what is correct.
Thorsten
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Felix Hartman - Openmtbmap.org & VeloMap.org Floragasse 9/11 1040 Wien Austria - Österreich
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Sorry, meant Thomas, not Thorsten in the last two places... Gerd ________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <GPetermann_muenchen@hotmail.com> Gesendet: Mittwoch, 18. November 2015 10:12 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search Hi Thorsten, thanks , I just started to download the bounds file. Another explanation: Thorsten did not use the patched style. @Thorsten: When you use the patch to change the default style you must either compile mkgmap on your own or use the --style-file option to point to the patched files, else mkgmap will use the style files which are stored in mkgmap.jar. Gerd ________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thorsten Kukuk <kukuk@suse.de> Gesendet: Mittwoch, 18. November 2015 10:07 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] Country unification in address search On Wed, Nov 18, Thomas Morgenstern wrote:
Hi, sorry , the pach do not work. After using the pach, the situation is like befor: 'Wien' as city give me no results->error : 'Die ausgewählte Strasse ist in diesem Kartenproduct nicht zulässig'. String 'Wien' as region is successfull. But in my opinion Wien is a at first a city und second a region. My test-exampel : searching for : Praterstrasse 44, Wien.
Works fine for me with this patch. For me it sounds like you are not using MapSource correct. I bet you are in the tab "Adresse", not "Stadt", and you did only enter Wien, no street name. In this case you will get this error message. So a user error, not a mkgmap problem. Thorsten
regards thomas Am 17.11.2015 um 10:43 schrieb Gerd Petermann:
Hi Thomas,
yes, Wien has admin_level=4. I think it should be treated the same way like Hamburg in Germany:
mkgmap:country=AUT & mkgmap:city!=* & mkgmap:admin_level4=Wien {set mkgmap:city='${mkgmap:admin_level4}' }
If I hear no complains I'll commit the attached patch on thursday.
Gerd
------------------------------------------------------------------------ *Von:* mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thomas Morgenstern <webmaster@img2ms.de> *Gesendet:* Montag, 16. November 2015 07:51 *An:* Development list for mkgmap *Betreff:* Re: [mkgmap-dev] Country unification in address search Hi at all, i found a problem in the city 'Wien' : if i search in Mapsource any address in the city 'Wien', so i type in the textbox 'Stadt' the string 'Wien', textbox 'Bundesland/Provinz' is empty, Mapsource tell me : 'Die ausgewählte Strasse ist in diesem Kartenprodukt nicht zulässig...' . But if i use textbox 'Bundesland/Provinz = Wien' and textbox 'Stadt' is empty, Mapsource find it successfull. Maybee must in stylefile-->adress--> Austria a speciall line added, so that 'Wien' is not only a region, but also a city ?
Thomas
Am 15.11.2015 um 17:38 schrieb Gerd Petermann:
Hi Felix,
my understanding is that both variants find the same addresses
and that mkgmap stores only one, so the other is produced by
the Garmin software.
Gerd
------------------------------------------------------------------------ *Von:* mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver@gmail.com> *Gesendet:* Sonntag, 15. November 2015 16:07 *An:* Development list for mkgmap *Betreff:* Re: [mkgmap-dev] Country unification in address search Thanks for the first patch. In Mapsource "Aut" entry has disappeared now for me. However I can still select Austria (AT) respectively AT (Austria). Besides that I see no errors. I mean there must exist an address with AT in the map - else I could not select it.
How can I find such addresses?
On 13 November 2015 at 14:45, Gerd Petermann <GPetermann_muenchen@hotmail.com <mailto:GPetermann_muenchen@hotmail.com>> wrote:
great :-) Please post any new findings, I am sure the address rules are not yet complete.
Gerd ________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk <mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>> im Auftrag von Thorsten Kukuk <kukuk@suse.de <mailto:kukuk@suse.de>> Gesendet: Freitag, 13. November 2015 14:23 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search
Hi Gerd,
On Fri, Nov 13, Gerd Petermann wrote:
Hi Thorsten,
I think I found an error in the code, sometimes country information is normalized, sometimes not. I am just testing the patch...
For Austria it is now working fine for me.
I see still some problems in Belgium, but I'm sure that's because our address rules for that country don't fit together with the OSM data. Need to look deeper what is correct.
Thorsten
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Felix Hartman - Openmtbmap.org & VeloMap.org Floragasse 9/11 1040 Wien Austria - Österreich
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Thomas, do you still think that the patch doesn't work? I'd like to commit it soon. Gerd ________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thomas Morgenstern <webmaster@img2ms.de> Gesendet: Mittwoch, 18. November 2015 09:20 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search Hi, sorry , the pach do not work. After using the pach, the situation is like befor: 'Wien' as city give me no results->error : 'Die ausgewählte Strasse ist in diesem Kartenproduct nicht zulässig'. String 'Wien' as region is successfull. But in my opinion Wien is a at first a city und second a region. My test-exampel : searching for : Praterstrasse 44, Wien. regards thomas Am 17.11.2015 um 10:43 schrieb Gerd Petermann: Hi Thomas, yes, Wien has admin_level=4. I think it should be treated the same way like Hamburg in Germany: mkgmap:country=AUT & mkgmap:city!=* & mkgmap:admin_level4=Wien {set mkgmap:city='${mkgmap:admin_level4}' } If I hear no complains I'll commit the attached patch on thursday. Gerd ________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thomas Morgenstern <webmaster@img2ms.de><mailto:webmaster@img2ms.de> Gesendet: Montag, 16. November 2015 07:51 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search Hi at all, i found a problem in the city 'Wien' : if i search in Mapsource any address in the city 'Wien', so i type in the textbox 'Stadt' the string 'Wien', textbox 'Bundesland/Provinz' is empty, Mapsource tell me : 'Die ausgewählte Strasse ist in diesem Kartenprodukt nicht zulässig...' . But if i use textbox 'Bundesland/Provinz = Wien' and textbox 'Stadt' is empty, Mapsource find it successfull. Maybee must in stylefile-->adress--> Austria a speciall line added, so that 'Wien' is not only a region, but also a city ? Thomas Am 15.11.2015 um 17:38 schrieb Gerd Petermann: Hi Felix, my understanding is that both variants find the same addresses and that mkgmap stores only one, so the other is produced by the Garmin software. Gerd ________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver@gmail.com><mailto:extremecarver@gmail.com> Gesendet: Sonntag, 15. November 2015 16:07 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search Thanks for the first patch. In Mapsource "Aut" entry has disappeared now for me. However I can still select Austria (AT) respectively AT (Austria). Besides that I see no errors. I mean there must exist an address with AT in the map - else I could not select it. How can I find such addresses? On 13 November 2015 at 14:45, Gerd Petermann <GPetermann_muenchen@hotmail.com<mailto:GPetermann_muenchen@hotmail.com>> wrote: great :-) Please post any new findings, I am sure the address rules are not yet complete. Gerd ________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>> im Auftrag von Thorsten Kukuk <kukuk@suse.de<mailto:kukuk@suse.de>> Gesendet: Freitag, 13. November 2015 14:23 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search Hi Gerd, On Fri, Nov 13, Gerd Petermann wrote:
Hi Thorsten,
I think I found an error in the code, sometimes country information is normalized, sometimes not. I am just testing the patch...
For Austria it is now working fine for me. I see still some problems in Belgium, but I'm sure that's because our address rules for that country don't fit together with the OSM data. Need to look deeper what is correct. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -- Felix Hartman - Openmtbmap.org & VeloMap.org Floragasse 9/11 1040 Wien Austria - Österreich _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Gerd, congratulation ! i have today new compiled my map again. The patch works . No idea, why it yesterday did not work. A litle 'Schönheitsfehler' ( eng. beauty error ???) is : By searching in Mapssource, each country in the textbox 'Land' is double listed. For example : 1. as /Dänemark(DNK)/ and 2. as /DNK(Dänemark)/ . Maybee you can fix this ? Thanks for your work. thomas Am 19.11.2015 um 17:47 schrieb Gerd Petermann:
Hi Thomas,
do you still think that the patch doesn't work? I'd like to commit it
soon.
Gerd
------------------------------------------------------------------------ *Von:* mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thomas Morgenstern <webmaster@img2ms.de> *Gesendet:* Mittwoch, 18. November 2015 09:20 *An:* Development list for mkgmap *Betreff:* Re: [mkgmap-dev] Country unification in address search Hi, sorry , the pach do not work. After using the pach, the situation is like befor: 'Wien' as city give me no results->error : 'Die ausgewählte Strasse ist in diesem Kartenproduct nicht zulässig'. String 'Wien' as region is successfull. But in my opinion Wien is a at first a city und second a region. My test-exampel : searching for : Praterstrasse 44, Wien.
regards thomas Am 17.11.2015 um 10:43 schrieb Gerd Petermann:
Hi Thomas,
yes, Wien has admin_level=4. I think it should be treated the same way like Hamburg in Germany:
mkgmap:country=AUT & mkgmap:city!=* & mkgmap:admin_level4=Wien {set mkgmap:city='${mkgmap:admin_level4}' }
If I hear no complains I'll commit the attached patch on thursday.
Gerd
------------------------------------------------------------------------ *Von:* mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thomas Morgenstern <webmaster@img2ms.de> *Gesendet:* Montag, 16. November 2015 07:51 *An:* Development list for mkgmap *Betreff:* Re: [mkgmap-dev] Country unification in address search Hi at all, i found a problem in the city 'Wien' : if i search in Mapsource any address in the city 'Wien', so i type in the textbox 'Stadt' the string 'Wien', textbox 'Bundesland/Provinz' is empty, Mapsource tell me : 'Die ausgewählte Strasse ist in diesem Kartenprodukt nicht zulässig...' . But if i use textbox 'Bundesland/Provinz = Wien' and textbox 'Stadt' is empty, Mapsource find it successfull. Maybee must in stylefile-->adress--> Austria a speciall line added, so that 'Wien' is not only a region, but also a city ?
Thomas
Am 15.11.2015 um 17:38 schrieb Gerd Petermann:
Hi Felix,
my understanding is that both variants find the same addresses
and that mkgmap stores only one, so the other is produced by
the Garmin software.
Gerd
------------------------------------------------------------------------ *Von:* mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver@gmail.com> *Gesendet:* Sonntag, 15. November 2015 16:07 *An:* Development list for mkgmap *Betreff:* Re: [mkgmap-dev] Country unification in address search Thanks for the first patch. In Mapsource "Aut" entry has disappeared now for me. However I can still select Austria (AT) respectively AT (Austria). Besides that I see no errors. I mean there must exist an address with AT in the map - else I could not select it.
How can I find such addresses?
On 13 November 2015 at 14:45, Gerd Petermann <GPetermann_muenchen@hotmail.com <mailto:GPetermann_muenchen@hotmail.com>> wrote:
great :-) Please post any new findings, I am sure the address rules are not yet complete.
Gerd ________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk <mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>> im Auftrag von Thorsten Kukuk <kukuk@suse.de <mailto:kukuk@suse.de>> Gesendet: Freitag, 13. November 2015 14:23 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search
Hi Gerd,
On Fri, Nov 13, Gerd Petermann wrote:
> Hi Thorsten, > > I think I found an error in the code, sometimes country > information is normalized, sometimes not. I am just testing the patch...
For Austria it is now working fine for me.
I see still some problems in Belgium, but I'm sure that's because our address rules for that country don't fit together with the OSM data. Need to look deeper what is correct.
Thorsten
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Felix Hartman - Openmtbmap.org & VeloMap.org Floragasse 9/11 1040 Wien Austria - Österreich
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Thomas, thanks for testing. I thing the duplicate entries are wanted, AFAIK they are produced by the Garmin software. I'll commit the patch tomorrow. Gerd ________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thomas Morgenstern <webmaster@img2ms.de> Gesendet: Donnerstag, 19. November 2015 18:39 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search Hi Gerd, congratulation ! i have today new compiled my map again. The patch works . No idea, why it yesterday did not work. A litle 'Schönheitsfehler' ( eng. beauty error ???) is : By searching in Mapssource, each country in the textbox 'Land' is double listed. For example : 1. as Dänemark(DNK) and 2. as DNK(Dänemark) . Maybee you can fix this ? Thanks for your work. thomas Am 19.11.2015 um 17:47 schrieb Gerd Petermann: Hi Thomas, do you still think that the patch doesn't work? I'd like to commit it soon. Gerd ________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thomas Morgenstern <webmaster@img2ms.de><mailto:webmaster@img2ms.de> Gesendet: Mittwoch, 18. November 2015 09:20 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search Hi, sorry , the pach do not work. After using the pach, the situation is like befor: 'Wien' as city give me no results->error : 'Die ausgewählte Strasse ist in diesem Kartenproduct nicht zulässig'. String 'Wien' as region is successfull. But in my opinion Wien is a at first a city und second a region. My test-exampel : searching for : Praterstrasse 44, Wien. regards thomas Am 17.11.2015 um 10:43 schrieb Gerd Petermann: Hi Thomas, yes, Wien has admin_level=4. I think it should be treated the same way like Hamburg in Germany: mkgmap:country=AUT & mkgmap:city!=* & mkgmap:admin_level4=Wien {set mkgmap:city='${mkgmap:admin_level4}' } If I hear no complains I'll commit the attached patch on thursday. Gerd ________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thomas Morgenstern <webmaster@img2ms.de><mailto:webmaster@img2ms.de> Gesendet: Montag, 16. November 2015 07:51 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search Hi at all, i found a problem in the city 'Wien' : if i search in Mapsource any address in the city 'Wien', so i type in the textbox 'Stadt' the string 'Wien', textbox 'Bundesland/Provinz' is empty, Mapsource tell me : 'Die ausgewählte Strasse ist in diesem Kartenprodukt nicht zulässig...' . But if i use textbox 'Bundesland/Provinz = Wien' and textbox 'Stadt' is empty, Mapsource find it successfull. Maybee must in stylefile-->adress--> Austria a speciall line added, so that 'Wien' is not only a region, but also a city ? Thomas Am 15.11.2015 um 17:38 schrieb Gerd Petermann: Hi Felix, my understanding is that both variants find the same addresses and that mkgmap stores only one, so the other is produced by the Garmin software. Gerd ________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver@gmail.com><mailto:extremecarver@gmail.com> Gesendet: Sonntag, 15. November 2015 16:07 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search Thanks for the first patch. In Mapsource "Aut" entry has disappeared now for me. However I can still select Austria (AT) respectively AT (Austria). Besides that I see no errors. I mean there must exist an address with AT in the map - else I could not select it. How can I find such addresses? On 13 November 2015 at 14:45, Gerd Petermann <GPetermann_muenchen@hotmail.com<mailto:GPetermann_muenchen@hotmail.com>> wrote: great :-) Please post any new findings, I am sure the address rules are not yet complete. Gerd ________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>> im Auftrag von Thorsten Kukuk <kukuk@suse.de<mailto:kukuk@suse.de>> Gesendet: Freitag, 13. November 2015 14:23 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search Hi Gerd, On Fri, Nov 13, Gerd Petermann wrote:
Hi Thorsten,
I think I found an error in the code, sometimes country information is normalized, sometimes not. I am just testing the patch...
For Austria it is now working fine for me. I see still some problems in Belgium, but I'm sure that's because our address rules for that country don't fit together with the OSM data. Need to look deeper what is correct. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -- Felix Hartman - Openmtbmap.org & VeloMap.org Floragasse 9/11 1040 Wien Austria - Österreich _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

On Thu, Nov 19, Thomas Morgenstern wrote:
Hi Gerd, congratulation ! i have today new compiled my map again. The patch works . No idea, why it yesterday did not work. A litle 'Schönheitsfehler' ( eng. beauty error ???) is : By searching in Mapssource, each country in the textbox 'Land' is double listed. For example : 1. as /Dänemark(DNK)/ and 2. as /DNK(Dänemark)/ . Maybee you can fix this ? Thanks for your work.
This behavior depends on your Software and/or Device and not on the map. So nothing you can change with mkgmap. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

Please try again with r3650. I fixed one place that caused an error, but there may be more. The data flow is a bit spaghetti within mkgmap, country names are translated to ISO and vice versa, one never knows for sure what a specific method expects. I am not yet sure where to clean this. Gerd ________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thorsten Kukuk <kukuk@suse.de> Gesendet: Freitag, 13. November 2015 09:31 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] Country unification in address search Hi, after quite some testing, I think we see a problem of a corrupted or wrong index. All tests are done with my GPSMap 62s. On Thu, Nov 12, Thorsten Kukuk wrote:
On my device I have the choice between "Oesterreich" and "AUT". Below "AUT" I can only find very few streets. I haven't found out yet why this is the case, the data looks ok.
There is one example, look at the OSM data for Schlosscafe, Glorietteallee 1, Eisenstadt.
After looking at the OSM data: - All addresses found below "AUT" are tagged in OSM with country=AT This at least tells me, that the mapping AT => AUT is working - The addresses found below "AUT" looks the same way as the ones below "Oesterreich", and according too google and OSM data, the addresses are correct (as used in Austria) and fits with the OSM data. - For many of the addresses found only below "AUT": If I select one, one of the two things will happen: 1. the device crashes 2. I get a list of street names/house numbers/cities I have to choose from, which have nothing to do with the address I searched for. This all let me think that at least my GARMIN device is intrepreting the address index a little bit different or there is a broken pointer somewhere in it. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Thorsten, On Thu, Nov 12, 2015 at 9:25 PM, Thorsten Kukuk <kukuk@suse.de> wrote:
Hi,
On Thu, Nov 12, Felix Hartmann wrote:
Well I use the bounds file - updated every month or so from here: http://osm.thkukuk.de/data/bounds-latest.zip
It's updated every week, if it passes the sanity checks. So if too many boundaries are broken, it's not updated.
I'm curious to know what sanity checks you do? Would it be possible to add these checks to mkgmap somehow so that a waning message is printed when there are problems with the bounds? Thanks, Ben

Hi Ben, the boundaries are full of problems, and mkgmap produces lots of warnings when you process the whole planet to create the bounds file. See this post for more details: http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2014q1/019854.html Gerd ________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Ben Konrath <ben@bagu.org> Gesendet: Samstag, 12. Dezember 2015 09:39 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Country unification in address search Hi Thorsten, On Thu, Nov 12, 2015 at 9:25 PM, Thorsten Kukuk <kukuk@suse.de<mailto:kukuk@suse.de>> wrote: Hi, On Thu, Nov 12, Felix Hartmann wrote:
Well I use the bounds file - updated every month or so from here: http://osm.thkukuk.de/data/bounds-latest.zip
It's updated every week, if it passes the sanity checks. So if too many boundaries are broken, it's not updated. I'm curious to know what sanity checks you do? Would it be possible to add these checks to mkgmap somehow so that a waning message is printed when there are problems with the bounds? Thanks, Ben

On Sat, Dec 12, Ben Konrath wrote:
On Thu, Nov 12, 2015 at 9:25 PM, Thorsten Kukuk <kukuk@suse.de> wrote:
It's updated every week, if it passes the sanity checks. So if too many boundaries are broken, it's not updated.
I'm curious to know what sanity checks you do? Would it be possible to add these checks to mkgmap somehow so that a waning message is printed when there are problems with the bounds?
Nothing you could add to mkgmap, it's mostly doing some comparisations of size and number of mkgmap errors/warnings with the previous build. So if something bigger got broken compared to the old version, the boundaries are not updated. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

(sorry if this arrives a second time - got a failure notice and don't know if it went through) Well I use the bounds file - updated every month or so from here: http://osm.thkukuk.de/data/ As for my address rules - I have the same rules for set mkgmap:country as in the default style. I wonder if adding: mkgmap:country=AT {set mkgmap:country=AUT} mkgmap:country=Aut {set mkgmap:country=AUT} would be of any help. But if I assume that the bug is in the bounds file - couldn't there be a possibility for mkgmap to harmonize it according to locator.config rules - they are pretty much covering all problem cases. Felix On 12.11.2015 08:56, Gerd Petermann wrote:
Hi Felix,
I think the results depends on the bounds file and your style.
For example, we used to have the rule
mkgmap:country!=* & addr:country=* { set mkgmap:country='${addr:country}' }
in inc/address. The tag addr:country typically contains a 3-byte-ISO code like AUT,
but we expect 2-byte-code in mkgmap:country.
So, now we have the rule
mkgmap:country!=* & addr:country=* { set mkgmap:country='${addr:country|country-ISO:}' }
I am not sure if the "wrong" value was written to the img file, but it caused problems in the
housenumber code. If that doesn't help, please post details that allow to reproduce the problem.
Gerd
------------------------------------------------------------------------
participants (5)
-
Ben Konrath
-
Felix Hartmann
-
Gerd Petermann
-
Thomas Morgenstern
-
Thorsten Kukuk