Problem to understand splitter.jar --description

Hi Maybe it is a problem with my Oregon650, because the map description is different from my older Oregon 450, see the attached screenshot since the last weeekend i'm using template.args instead of tiles/*.o5m, but i can't get a usable description from splitter. before the change i got a description like 'bonn_20150305_1800' this is a workaround for me to limits of the O650 Other devices has a family name followed by the description as example: Basemap bonn_20150305_1800 I know, that template.args overwrite mkgmap's description and template.args should be overwritten by splitter's description. But the description the device is now the same as the description of the last tile. Can someone help me with the correct options? Bernd java -ea -Xmx6G -jar /home/bernd/map_build/splitter-r421/splitter.jar > splitter.log --geonames-file=/home/bernd/map_build/cities15000.zip --description=bonn_20150305_1800 --mapid=65000001 --output=o5m --precomp-sea=/home/bernd/map_build/sea_20150302.zip --write-kml=bonn.kml --keep-complete --overlap=0 --split-file=/home/bernd/map_build/areas/bonn_areas.list /home/bernd/map_build/o5m/bonn.o5m java -ea -Xmx6G -jar /home/bernd/map_build/mkgmap-housenumbers2-r3490/mkgmap.jar --bounds=/home/bernd/map_build/bounds_20150302.zip --precomp-sea=/home/bernd/map_build/sea_20150302.zip --generate-sea --style-file=/home/bernd/map_build/styles/basemap_style --name-tag-list=name:de,name,name:en,int_name --mapname=65001001 --family-id=4 --product-id=44 --family-name=Basemap --draw-priority=10 -c /home/bernd/map_build/styles/options -c /home/bernd/map_build/tiles/template.args /home/bernd/map_build/styles/styles_typ.txt # Following is a list of map tiles. Add a suitable description # for each one. mapname: 65010001 description: DE-Wiesbaden input-file: 65010001.o5m ... mapname: 65010026 description: DE-Oberhausen input-file: 65010026.o5m

El 05/03/15 a las 18:43, Bernd Weigelt escribió:
Hi
Maybe it is a problem with my Oregon650, because the map description is different from my older Oregon 450, see the attached screenshot
since the last weeekend i'm using template.args instead of tiles/*.o5m, but i can't get a usable description from splitter.
before the change i got a description like 'bonn_20150305_1800' this is a workaround for me to limits of the O650
Other devices has a family name followed by the description as example: Basemap bonn_20150305_1800
I know, that template.args overwrite mkgmap's description and template.args should be overwritten by splitter's description.
But the description the device is now the same as the description of the last tile.
Can someone help me with the correct options?
Bernd
java -ea -Xmx6G -jar /home/bernd/map_build/splitter-r421/splitter.jar > splitter.log --geonames-file=/home/bernd/map_build/cities15000.zip --description=bonn_20150305_1800 --mapid=65000001 --output=o5m --precomp-sea=/home/bernd/map_build/sea_20150302.zip --write-kml=bonn.kml --keep-complete --overlap=0 --split-file=/home/bernd/map_build/areas/bonn_areas.list /home/bernd/map_build/o5m/bonn.o5m
java -ea -Xmx6G -jar /home/bernd/map_build/mkgmap-housenumbers2-r3490/mkgmap.jar --bounds=/home/bernd/map_build/bounds_20150302.zip --precomp-sea=/home/bernd/map_build/sea_20150302.zip --generate-sea --style-file=/home/bernd/map_build/styles/basemap_style --name-tag-list=name:de,name,name:en,int_name --mapname=65001001 --family-id=4 --product-id=44 --family-name=Basemap --draw-priority=10 -c /home/bernd/map_build/styles/options -c /home/bernd/map_build/tiles/template.args /home/bernd/map_build/styles/styles_typ.txt
# Following is a list of map tiles. Add a suitable description # for each one.
mapname: 65010001 description: DE-Wiesbaden input-file: 65010001.o5m ... mapname: 65010026 description: DE-Oberhausen input-file: 65010026.o5m
Passing both --description and --geonames-file to splitter doesn't make sense as both parameters are used to add a description to each tile in template.args. If you use both only geonames-file is used and description is ignored.

Hi, I think Bernd should either not use the template.args file or add --description=xyz before --gmapsupp ? I never looked at it: What tool shows the description of an individual tile and where? Gerd
Date: Thu, 5 Mar 2015 20:10:45 +0100 From: cdavilam@orangecorreo.es To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] Problem to understand splitter.jar --description
El 05/03/15 a las 18:43, Bernd Weigelt escribió:
Hi
Maybe it is a problem with my Oregon650, because the map description is different from my older Oregon 450, see the attached screenshot
since the last weeekend i'm using template.args instead of tiles/*.o5m, but i can't get a usable description from splitter.
before the change i got a description like 'bonn_20150305_1800' this is a workaround for me to limits of the O650
Other devices has a family name followed by the description as example: Basemap bonn_20150305_1800
I know, that template.args overwrite mkgmap's description and template.args should be overwritten by splitter's description.
But the description the device is now the same as the description of the last tile.
Can someone help me with the correct options?
Bernd
java -ea -Xmx6G -jar /home/bernd/map_build/splitter-r421/splitter.jar > splitter.log --geonames-file=/home/bernd/map_build/cities15000.zip --description=bonn_20150305_1800 --mapid=65000001 --output=o5m --precomp-sea=/home/bernd/map_build/sea_20150302.zip --write-kml=bonn.kml --keep-complete --overlap=0 --split-file=/home/bernd/map_build/areas/bonn_areas.list /home/bernd/map_build/o5m/bonn.o5m
java -ea -Xmx6G -jar /home/bernd/map_build/mkgmap-housenumbers2-r3490/mkgmap.jar --bounds=/home/bernd/map_build/bounds_20150302.zip --precomp-sea=/home/bernd/map_build/sea_20150302.zip --generate-sea --style-file=/home/bernd/map_build/styles/basemap_style --name-tag-list=name:de,name,name:en,int_name --mapname=65001001 --family-id=4 --product-id=44 --family-name=Basemap --draw-priority=10 -c /home/bernd/map_build/styles/options -c /home/bernd/map_build/tiles/template.args /home/bernd/map_build/styles/styles_typ.txt
# Following is a list of map tiles. Add a suitable description # for each one.
mapname: 65010001 description: DE-Wiesbaden input-file: 65010001.o5m ... mapname: 65010026 description: DE-Oberhausen input-file: 65010026.o5m
Passing both --description and --geonames-file to splitter doesn't make sense as both parameters are used to add a description to each tile in template.args. If you use both only geonames-file is used and description is ignored. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Am Freitag, 6. März 2015, 08:12:51 schrieb Gerd Petermann:
I think Bernd should either not use the template.args file or add --description=xyz before --gmapsupp ?
I never looked at it: What tool shows the description of an individual tile and where?
Hi Gerd template.args shouldn't overwrite mkgmap's description, while splitter's description has to much limits splitter's description is not the best solution, when you created more then one layer(=gmapsupp.img) for a region, because you can't get something like bonn_20150503_1700_basemap oder bonn_20150503_1700_fixme, only the description you set in template.args, here bonn_20150503_1700. or you have to run splitter for every layer. splitter and my dach extract takes ~ 9 minutes per run with mkgmap's description i can created different descriptions, but then i can't use template.args. and with mkgmap's description i can see more the one installed gmapsupp of bonn But template.args with cities15000.zip is a good possibility to find out in which tiles which city is, see the splitter.log, maybe it is usable in different ways. Bernd -- amarok2 now playing:

Hi Bernd, I fear I can't follow. I would expect that you run splitter once to create the tiles. You run mkgmap once for each layer with a different --description for each layer. I would not use template.args for this. I prefer to use the write-kml option in splitter. I load the file in JOSM to see what tile contains e.g. data from my hometown. Gerd Bernd Weigelt wrote
Am Freitag, 6. März 2015, 08:12:51 schrieb Gerd Petermann:
I think Bernd should either not use the template.args file or add --description=xyz before --gmapsupp ?
I never looked at it: What tool shows the description of an individual tile and where?
Hi Gerd template.args shouldn't overwrite mkgmap's description, while splitter's description has to much limits
splitter's description is not the best solution, when you created more then one layer(=gmapsupp.img) for a region, because you can't get something like bonn_20150503_1700_basemap oder bonn_20150503_1700_fixme, only the description you set in template.args, here bonn_20150503_1700. or you have to run splitter for every layer. splitter and my dach extract takes ~ 9 minutes per run
with mkgmap's description i can created different descriptions, but then i can't use template.args. and with mkgmap's description i can see more the one installed gmapsupp of bonn
But template.args with cities15000.zip is a good possibility to find out in which tiles which city is, see the splitter.log, maybe it is usable in different ways.
Bernd
-- amarok2 now playing:
_______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
-- View this message in context: http://gis.19327.n5.nabble.com/Problem-to-understand-splitter-jar-descriptio... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Am Freitag, 6. März 2015, 09:31:32 schrieb GerdP: Hi Gerd
I fear I can't follow. I would expect that you run splitter once to create the tiles. You run mkgmap once for each layer with a different --description for each layer. I would not use template.args for this.
I prefer to use the write-kml option in splitter. I load the file in JOSM to see what tile contains e.g. data from my hometown.
That's what i have done before i'm using template.args and i will do this again in the future. As you remember, you gave me the hint 'keep it simple' and your command line includes tiles/template.args, not tiles/*.o5m ;-) this are my new old command lines for the basemap java -ea -Xmx6G -jar /home/bernd/map_build/splitter-r421/splitter.jar > splitter.log --geonames-file=/home/bernd/map_build/cities15000.zip --mapid=65000001 --output=o5m --precomp-sea=/home/bernd/map_build/sea_20150302.zip --write-kml=bonn.kml --keep-complete --overlap=0 --split-file=/home/bernd/map_build/areas/bonn_areas.list /home/bernd/map_build/o5m/bonn.o5m java -ea -Xmx6G -jar /home/bernd/map_build/mkgmap-housenumbers2-r3490/mkgmap.jar --bounds=/home/bernd/map_build/bounds_20150302.zip --precomp-sea=/home/bernd/map_build/sea_20150302.zip --generate-sea --style-file=/home/bernd/map_build/styles/basemap_style --name-tag-list=name:de,name,name:en,int_name --mapname=65001001 --family-id=4 --product-id=44 --description=bonn_20150306_1700_basemap --family-name=Basemap --draw-priority=10 -c /home/bernd/map_build/styles/options /home/bernd/map_build/tiles/*.o5m /home/bernd/map_build/styles/styles_typ.txt splitter.log includes lines like Area 65010001: 2322432,370688 to 2367488,401408 covers (0x237000,0x5a800) to (0x242000,0x62000) DE-Wiesbaden bonn.kml <description> <![CDATA[DE-Wiesbaden]]> </description> and my layer a description bonn_20150306_1700_basemap BTW: the Oregon 650 don't show the family-name, the Oregon 450 shos it, but this seems to be a limit of the device Bernd -- amarok2 now playing:

Hi Bernd, okay, sorry, I really did not want to say that using -c template.args is better than *.o5m. Don't know why I used it in my example :-( I think there is one case where it might be better: when you use a polygon-desc-file for splitter the generated template.args files contain the mapping between the *.o5m name and the desired mapname. I think Thorsten uses this with overlapping polygons. Gerd Bernd Weigelt wrote
Am Freitag, 6. März 2015, 09:31:32 schrieb GerdP:
Hi Gerd
I fear I can't follow. I would expect that you run splitter once to create the tiles. You run mkgmap once for each layer with a different --description for each layer. I would not use template.args for this.
I prefer to use the write-kml option in splitter. I load the file in JOSM to see what tile contains e.g. data from my hometown.
That's what i have done before i'm using template.args and i will do this again in the future.
As you remember, you gave me the hint 'keep it simple' and your command line includes tiles/template.args, not tiles/*.o5m ;-)
this are my new old command lines for the basemap
java -ea -Xmx6G -jar /home/bernd/map_build/splitter-r421/splitter.jar > splitter.log --geonames-file=/home/bernd/map_build/cities15000.zip --mapid=65000001 --output=o5m --precomp-sea=/home/bernd/map_build/sea_20150302.zip --write-kml=bonn.kml --keep-complete --overlap=0 --split-file=/home/bernd/map_build/areas/bonn_areas.list /home/bernd/map_build/o5m/bonn.o5m
java -ea -Xmx6G -jar /home/bernd/map_build/mkgmap-housenumbers2-r3490/mkgmap.jar --bounds=/home/bernd/map_build/bounds_20150302.zip --precomp-sea=/home/bernd/map_build/sea_20150302.zip --generate-sea --style-file=/home/bernd/map_build/styles/basemap_style --name-tag-list=name:de,name,name:en,int_name --mapname=65001001 --family-id=4 --product-id=44 --description=bonn_20150306_1700_basemap --family-name=Basemap --draw-priority=10 -c /home/bernd/map_build/styles/options /home/bernd/map_build/tiles/*.o5m /home/bernd/map_build/styles/styles_typ.txt
splitter.log includes lines like Area 65010001: 2322432,370688 to 2367488,401408 covers (0x237000,0x5a800) to (0x242000,0x62000) DE-Wiesbaden
bonn.kml
<description>
</description> and my layer a description bonn_20150306_1700_basemap
BTW: the Oregon 650 don't show the family-name, the Oregon 450 shos it, but this seems to be a limit of the device
Bernd
-- amarok2 now playing:
_______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
-- View this message in context: http://gis.19327.n5.nabble.com/Problem-to-understand-splitter-jar-descriptio... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi Bernd
you can't get something like bonn_20150503_1700_basemap oder bonn_20150503_1700_fixme, only the description you set in template.args
I'm not sure if I understand your problem, since solution looks simple form me - add required description after template.args, like: ... mkgmap.jar ... -c options -c template.args --description=bonn_20150503_1700_basemap --gmapsupp -- Best regards, Andrzej

Am Samstag, 7. März 2015, 04:50:15 schrieb Andrzej Popowski:
I'm not sure if I understand your problem, since solution looks simple form me - add required description after template.args, like: ... mkgmap.jar ... -c options -c template.args --description=bonn_20150503_1700_basemap --gmapsupp
hi Andrzej Thank you for that additional hint. gmapsupp is the last option in my style option, in my buildscript are only variable options, except such for testing I will test it Bernd -- amarok2 now playing: artist: Tito & Tarantula meets Mittermeier title: Exorcize Your Funky Little Demon album: Mittermeier & Friends

Am Samstag, 7. März 2015, 08:46:06 schrieb Bernd Weigelt:
I will test it
No didn't work. only the description of the last layer is visible on the device, see the attached screenshot 106.jpg my script set the correct description for every layer first layer: java -ea -Xmx6G -jar /home/bernd/map_build/mkgmap-housenumbers2-r3490/mkgmap.jar ... -c /home/bernd/map_build/tiles/template.args --description=sri_lanka_20150307_0900_bikemap --gmapsupp /home/bernd/map_build/styles/styles_typ.txt second layer: java -ea -Xmx6G -jar /home/bernd/map_build/mkgmap-housenumbers2-r3490/mkgmap.jar ... -c /home/bernd/map_build/tiles/template.args --description=sri_lanka_20150307_0900_basemap --gmapsupp /home/bernd/map_build/styles/styles_typ.txt but it is not a really problem for me, because tiles/*o5m works as expected. see 28.jpg not sure if this is a feature or a bug ;-) Bernd -- amarok2 now playing: artist: Johnny Cash title: Ring Of Fire album: 100 Greatest Country Songs Of All Time

Am Samstag, 7. März 2015, 10:11:16 schrieb Bernd Weigelt:
but it is not a really problem for me, because tiles/*o5m works as expected. see 28.jpg
not sure if this is a feature or a bug
But it is possibly, that the mapid has to set after -c template.args, not tested at this moment. Bernd -- amarok2 now playing: artist: Deep Purple title: Stormbringer album: The Compact Disc Anthology

Am Samstag, 7. März 2015, 13:27:50 schrieben Sie:
Am Samstag, 7. März 2015, 10:11:16 schrieb Bernd Weigelt:
but it is not a really problem for me, because tiles/*o5m works as expected. see 28.jpg
not sure if this is a feature or a bug
But it is possibly, that the mapid has to set after -c template.args, not tested at this moment.
Bernd
Sorry, i meant the option '--mapname' -- amarok2 now playing: artist: John Lee Hooker Jr. title: Fed Up album: Cold As Ice

Hi Bernd,
No didn't work. only the description of the last layer is visible on the device, see the attached screenshot 106.jpg
Are you creating multiple maps from single template.img? Template.args include "mapname", which overwrites definition, that you give as mkgmap option. This results in duplicated mapnames in your files. GPS rejects duplicates and probably this is the reason, why you don't see maps. You can try to remove mapnames from template.args: grep -v mapname template.args > template2.args And then compile map with options like this: ... mkgmap.jar ... --mapname=65001001 -c template2.args --description=bonn_20150306_1700_basemap --gmapsupp The only advantage of using template.args is that you get name for each tile, which is not visible in GPS anyway. -- Best regards, Andrzej

Am Samstag, 7. März 2015, 13:45:29 schrieb Andrzej Popowski:
And then compile map with options like this: ... mkgmap.jar ... --mapname=65001001 -c template2.args --description=bonn_20150306_1700_basemap --gmapsupp
That's what i'm doing right now, setting a different mapid for every layer and every region Splitter tile 6500'0'xyz Bonn Basemap 6500'1'xyz Bonn Bikemap 6500'2'xyz or splitter tile 65020xyz DACH Basemap 6502'1'xyz ... works for me since years Bernd -- amarok2 now playing: artist: Jackson 5 title: You've Got A Friend album: Soul Legends
participants (5)
-
Andrzej Popowski
-
Bernd Weigelt
-
Carlos Dávila
-
Gerd Petermann
-
GerdP