LocationHook: place_name and name-tag-list

Hi, There are quite a lot of relations, which don't use "name" but "place_name". My idea was to name-tag-list and added the following line to style/options: name-tag-list=name, place_name But this does not work, I still get warnings like: 2012/01/25 11:01:05 WARNUNG (LocationHook): 71200080.osm.pbf: Cannot process boundary element because it contains no name and no zip tag. [place=village; mkgmap:lies_in=2:r49715;4:r104401;6:r343814;8:r342936; place_name=Bezrzecze; admin_level=10; border_type=village; boundary=administrative; mkgmap:boundaryid=w35134402] What I'm doing wrong? How else can I make sure, that LocationHook is using 'place_name' if 'name' does not exist? Thanks, Thorsten -- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)

Hi Thorsten, I think it should work, at least I see that the name-tag-list is evaluated in LocationHook. Please check if you overwrite the name-tag-list again Gerd
Date: Wed, 25 Jan 2012 12:08:24 +0100 From: kukuk@suse.de To: mkgmap-dev@lists.mkgmap.org.uk Subject: [mkgmap-dev] LocationHook: place_name and name-tag-list
Hi,
There are quite a lot of relations, which don't use "name" but "place_name". My idea was to name-tag-list and added the following line to style/options:
name-tag-list=name, place_name
But this does not work, I still get warnings like: 2012/01/25 11:01:05 WARNUNG (LocationHook): 71200080.osm.pbf: Cannot process boundary element because it contains no name and no zip tag. [place=village; mkgmap:lies_in=2:r49715;4:r104401;6:r343814;8:r342936; place_name=Bezrzecze; admin_level=10; border_type=village; boundary=administrative; mkgmap:boundaryid=w35134402]
What I'm doing wrong? How else can I make sure, that LocationHook is using 'place_name' if 'name' does not exist?
Thanks, Thorsten
-- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (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 Wed, Jan 25, Gerd Petermann wrote:
I think it should work, at least I see that the name-tag-list is evaluated in LocationHook. Please check if you overwrite the name-tag-list again
I checked and I don't overwrite the name-tag-list again. But: If I specify the name-tag-list on the command line, it works. If I specify it in the style/options file, it doesn't seem to work. Is that file maybe evaluated too late for initializing the LocationHook? Whatever, my problem is fixed for now. All other open warnings are cases where no default name tag did exist, like "Mainz" which was not foundable. Fixed in the OSM database now. Thorsten
Date: Wed, 25 Jan 2012 12:08:24 +0100 From: kukuk@suse.de To: mkgmap-dev@lists.mkgmap.org.uk Subject: [mkgmap-dev] LocationHook: place_name and name-tag-list
Hi,
There are quite a lot of relations, which don't use "name" but "place_name". My idea was to name-tag-list and added the following line to style/options:
name-tag-list=name, place_name
But this does not work, I still get warnings like: 2012/01/25 11:01:05 WARNUNG (LocationHook): 71200080.osm.pbf: Cannot process boundary element because it contains no name and no zip tag. [place=village; mkgmap:lies_in=2:r49715;4:r104401;6:r343814;8:r342936; place_name=Bezrzecze; admin_level=10; border_type=village; boundary=administrative; mkgmap:boundaryid=w35134402]
What I'm doing wrong? How else can I make sure, that LocationHook is using 'place_name' if 'name' does not exist?
Thanks, Thorsten
-- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (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
-- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
participants (2)
-
Gerd Petermann
-
Thorsten Kukuk