<div dir="ltr"><div><div><div><div>Thank you.<br><br>java ... mkgmap.jar ... -c template.args master_thin.txt --description=XYZ --gmapsupp<br><br></div>Worked on BaseCamp and on Garmin GPS.<br><br></div>The only thing that would be nice would be a FAMILY description on the GPS.<br></div>Right now, Garmin City Navigator Shows a MAPNAME and in a smaller font another name (family name?)<br><br></div>Greg<br><div><div><div><div><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 8, 2017 at 10:08 PM, Gerd Petermann <span dir="ltr"><<a href="mailto:GPetermann_muenchen@hotmail.com" target="_blank">GPetermann_muenchen@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Greg,<br>
<br>
I don't think that the style has an influence here.<br>
I think we have three problems here:<br>
1)  the documentation is not very clear about the meaning of the different options to set a name or id.<br>
For example, the "series-name" is (only) stored in the *.tdb file, the "description" is stored in each *.img file.<br>
2)  the template.args file generated by splitter sets (overwrites) the options "mapname", "description", and "input-file".<br>
3) mkgmap processes the OSM input files and the TYP file first, then it starts the so-called combiners<br>
which create the gmapsupp.img, the *.tdb and other files like *.nsis, *.mdr, *.mdx etc.<br>
This means that the combiners are started with the last values of "description" and "mapname".<br>
<br>
So, if you want the description "XYZ" in your gmapsupp.img you have to use a command like this:<br>
java ... mkgmap.jar --gmapsupp ... -c template.args master_thin.txt --description=XYZ<br>
or (maybe easier  to understand)<br>
java ... mkgmap.jar ... -c template.args master_thin.txt --description=XYZ --gmapsupp<br>
<br>
@Steve: I hope I got that right. I seem to remember that you plan to change something here to make this more transparent?<br>
<span class=""><br>
Gerd<br>
<br>
______________________________<wbr>__________<br>
Von: mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mkgmap-dev-bounces@lists.<wbr>mkgmap.org.uk</a>> im Auftrag von greg crago <<a href="mailto:gregcrago@gmail.com">gregcrago@gmail.com</a>><br>
</span>Gesendet: Montag, 9. Januar 2017 05:59:04<br>
<span class="">An: Development list for mkgmap<br>
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742<br>
<br>
</span><span class="">I did not see the hint of option position. I tried to follow the document attached to mkgmap and put my options in that sequence.<br>
<br>
I tried your suggestion using my custom style file:<br>
<br>
java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-<wbr>r3742\mkgmap.jar --family-id=666 --family-name="Michigan" --product-id=3 --series-name="MI_1-5THIN_BC" --area-name="My_maps" --description="MI_1-5THIN_BC" --gmapsupp --style-file=\MKGMAP\BaseCamp-<wbr>style\openmapchest --latin1 --index --x-split-name-index --bounds=\MKGMAP\bounds.zip --location-autofill=bounds,is_<wbr>in,nearest --housenumbers --overview-mapname=MI-ov --overview-mapnumber=12390000 --remove-ovm-work-files --check-styles --min-size-polygon --route --drive-on=detect,right --check-roundabouts --check-roundabout-flares --remove-short-arcs --add-pois-to-areas --add-pois-to-lines --pois-to-areas-placement="<wbr>entrance=main;entrance=yes;<wbr>building=entrance" --generate-sea=extend-sea-<wbr>sectors,multipolygon,<wbr>floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt<br>
pause<br>
<br>
I did not see where --description should be placed. I stuck my --style-file just behind --gmapsupp. This created a map named "US-West Bloomfiled Township" in BaseCamp and on my Garmin Montana 600. Does this mean my custom style file is causing this improper map labeling.<br>
<br>
Attached is mt style file<br>
<br>
Greg<br>
<br>
</span><span class="">On Sun, Jan 8, 2017 at 12:47 AM, Gerd Petermann <<a href="mailto:GPetermann_muenchen@hotmail.com">GPetermann_muenchen@hotmail.<wbr>com</a><mailto:<a href="mailto:GPetermann_muenchen@hotmail.com">GPetermann_<wbr>muenchen@hotmail.com</a>>> wrote:<br>
Hi Greg,<br>
<br>
</span><span class="">you probably missed my additional hint about the position of the option. I tried this command (uses default style)<br>
java -ea -Xmx1024M -jar d:\MKGMAP\dist\mkgmap.jar --family-id=665 --family-name="Ohio" --product-id=3 --series-name="OH_1-5THIN_BC" --area-name="My_maps" --gmapsupp --latin1 --index --x-split-name-index --bounds=f:\osm\bounds.zip --location-autofill=bounds,is_<wbr>in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --check-styles --min-size-polygon --route --drive-on=detect,right --check-roundabouts --check-roundabout-flares --remove-short-arcs --add-pois-to-areas --add-pois-to-lines --pois-to-areas-placement="<wbr>entrance=main;entrance=yes;<wbr>building=entrance" --generate-sea=extend-sea-<wbr>sectors,multipolygon,<wbr>floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args<br>
<br>
and I see the string "OH_1-5THIN_BC" in the *.tdb file and in the gmapsupp.img.<br>
<br>
Gerd<br>
<br>
______________________________<wbr>__________<br>
</span><span class="">Von: mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mkgmap-dev-bounces@lists.<wbr>mkgmap.org.uk</a><mailto:<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mkgmap-<wbr>dev-bounces@lists.mkgmap.org.<wbr>uk</a>>> im Auftrag von greg crago <<a href="mailto:gregcrago@gmail.com">gregcrago@gmail.com</a><mailto:<a href="mailto:gregcrago@gmail.com">gr<wbr>egcrago@gmail.com</a>>><br>
</span><span class="">Gesendet: Sonntag, 8. Januar 2017 00:05:31<br>
An: Development list for mkgmap<br>
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742<br>
<br>
I am using "--series-name="OH_1-5THIN_BC" (you can see in my mkgmap command, pasted previously) and I do not see this label in BaseCamp nor on my Garmin Montana 600. You can see that I never specify "US-Mansfield" (which is the label I see in BaseCamp and on my GPS) in either my splitter command nor my mkgmap command, so I assume it is coming from cities15000.zip (from the splitter side)<br>
<br>
Greg<br>
<br>
</span><span class="">On Sat, Jan 7, 2017 at 6:29 AM, Gerd Petermann <<a href="mailto:GPetermann_muenchen@hotmail.com">GPetermann_muenchen@hotmail.<wbr>com</a><mailto:<a href="mailto:GPetermann_muenchen@hotmail.com">GPetermann_<wbr>muenchen@hotmail.com</a>><mailto:<a href="mailto:GPetermann_muenchen@hotmail.com">G<wbr>Petermann_muenchen@hotmail.com</a><wbr><mailto:<a href="mailto:GPetermann_muenchen@hotmail.com">GPetermann_muenchen@<wbr>hotmail.com</a>>>> wrote:<br>
Ahh, ok, that should be --series-name. The help says:<br>
--series-name<br>
        This name will be displayed in MapSource in the map selection<br>
        drop-down. The default is "OSM map".<br>
<br>
Gerd<br>
<br>
______________________________<wbr>__________<br>
</span><span class="">Von: mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mkgmap-dev-bounces@lists.<wbr>mkgmap.org.uk</a><mailto:<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mkgmap-<wbr>dev-bounces@lists.mkgmap.org.<wbr>uk</a>><mailto:<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mkgmap-dev-bounces@<wbr>lists.mkgmap.org.uk</a><mailto:<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mkg<wbr>map-dev-bounces@lists.mkgmap.<wbr>org.uk</a>>>> im Auftrag von greg crago <<a href="mailto:gregcrago@gmail.com">gregcrago@gmail.com</a><mailto:<a href="mailto:gregcrago@gmail.com">gr<wbr>egcrago@gmail.com</a>><mailto:<a href="mailto:gregcrago@gmail.com">greg<wbr>crago@gmail.com</a><mailto:<a href="mailto:gregcrago@gmail.com">gregcra<wbr>go@gmail.com</a>>>><br>
</span><span class="">Gesendet: Samstag, 7. Januar 2017 15:15:14<br>
An: Development list for mkgmap<br>
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742<br>
<br>
I understand that --geonames labels individual map tiles with the largest city name in 'cities15000.zip'.<br>
<br>
I am trying to generate a gmap for each state in the USA. The example I gave was for the state of OHIO. The generated gmap file, when opened in BaseCamp and my Garmin Montana 600, has the label "US-Mansfield" instead of "OH" or one of the other labels I was trying to associate with this gmap of OHIO. It is very confusing because I am generating about 10 states, and each one has a label that seems to be extracted from the cities15000.zip.<br>
<br>
How do I control the text I see in BaseCamp or on a Garmin GPS when I look at the list of installed gmaps?<br>
<br>
</span><span class="">On Sat, Jan 7, 2017 at 12:15 AM, Gerd Petermann <<a href="mailto:GPetermann_muenchen@hotmail.com">GPetermann_muenchen@hotmail.<wbr>com</a><mailto:<a href="mailto:GPetermann_muenchen@hotmail.com">GPetermann_<wbr>muenchen@hotmail.com</a>><mailto:<a href="mailto:GPetermann_muenchen@hotmail.com">G<wbr>Petermann_muenchen@hotmail.com</a><wbr><mailto:<a href="mailto:GPetermann_muenchen@hotmail.com">GPetermann_muenchen@<wbr>hotmail.com</a>>><mailto:<a href="mailto:GPetermann_muenchen@hotmail.com">GPeterman<wbr>n_muenchen@hotmail.com</a><mailto:<a href="mailto:GPetermann_muenchen@hotmail.com"><wbr>GPetermann_muenchen@hotmail.<wbr>com</a>><mailto:<a href="mailto:GPetermann_muenchen@hotmail.com">GPetermann_<wbr>muenchen@hotmail.com</a><mailto:<a href="mailto:GPetermann_muenchen@hotmail.com">GP<wbr>etermann_muenchen@hotmail.com</a>><wbr>>>> wrote:<br>
Hi Greg,<br>
<br>
I am not sure what you want to achive. When you use the option --geonames-file in splitter<br>
it adds location specific description options for each fie in the generated template.args:<br>
mapname: 63240001<br>
description: ET-Addis Ababa<br>
input-file: 63240001.osm.gz<br>
<br>
If you edit those lines before using it in mkgmap you probably get what you want.<br>
Of course it makes no sense to do this each time when you run splitter, so I suggest to<br>
keep the modified file and pass it to splitter with the --split-file.<br>
While OSM data grows you have to repeat the process.<br>
I see no easy way to automate that with a script.<br>
<br>
Another option could be to modify the content of the cities file.<br>
<br>
Gerd<br>
______________________________<wbr>__________<br>
</span>Von: mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mkgmap-dev-bounces@lists.<wbr>mkgmap.org.uk</a><mailto:<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mkgmap-<wbr>dev-bounces@lists.mkgmap.org.<wbr>uk</a>><mailto:<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mkgmap-dev-bounces@<wbr>lists.mkgmap.org.uk</a><mailto:<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mkg<wbr>map-dev-bounces@lists.mkgmap.<wbr>org.uk</a>>><mailto:<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mkgmap-dev-<wbr>bounces@lists.mkgmap.org.uk</a><<wbr>mailto:<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mkgmap-dev-bounces@<wbr>lists.mkgmap.org.uk</a>><mailto:<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mk<wbr>gmap-dev-bounces@lists.mkgmap.<wbr>org.uk</a><mailto:<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mkgmap-dev-<wbr>bounces@lists.mkgmap.org.uk</a>>>><wbr>> im Auftrag von greg crago <<a href="mailto:gregcrago@gmail.com">gregcrago@gmail.com</a><mailto:<a href="mailto:gregcrago@gmail.com">gr<wbr>egcrago@gmail.com</a>><mailto:<a href="mailto:gregcrago@gmail.com">greg<wbr>crago@gmail.com</a><mailto:<a href="mailto:gregcrago@gmail.com">gregcra<wbr>go@gmail.com</a>>><mailto:<a href="mailto:gregcrago@gmail.com">gregcrag<wbr>o@gmail.com</a><mailto:<a href="mailto:gregcrago@gmail.com">gregcrago@<wbr>gmail.com</a>><mailto:<a href="mailto:gregcrago@gmail.com">gregcrago@<wbr>gmail.com</a><mailto:<a href="mailto:gregcrago@gmail.com">gregcrago@<wbr>gmail.com</a>>>>><br>
<span class="">Gesendet: Samstag, 7. Januar 2017 00:53:26<br>
An: Development list for mkgmap<br>
Betreff: [mkgmap-dev] How to label maps generated by mkgmap -r3742<br>
<br>
I am trying to label different maps for each state and the map name seems to be comming from cities15000.zip<br>
<br>
Here is my splitter command:<br>
<br>
java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r560\<wbr>splitter-r560\splitter.jar --max-nodes=700000 --handle-element-version=keep --mapid="12380000" --geonames-file=\MKGMAP\<wbr>cities15000.zip --description=OH-greg --max-areas="255" --no-trim --status-freq="600" ohio-latest.osm.pbf<br>
pause<br>
<br>
Here is my mkgamp command:<br>
<br>
java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-<wbr>r3742\mkgmap.jar --gmapsupp --mapname=Ohio --description="OH_1-5THIN_BC" --latin1 --index --x-split-name-index --bounds=\MKGMAP\bounds.zip --location-autofill=bounds,is_<wbr>in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --style-file=\MKGMAP\BaseCamp-<wbr>style\openmapchest --check-styles --family-id=665 --family-name="Ohio" --product-id=3 --series-name="OH_1-5THIN_BC" --area-name="My_maps" --min-size-polygon --route --drive-on=detect,right --check-roundabouts --check-roundabout-flares --remove-short-arcs --add-pois-to-areas --add-pois-to-lines --pois-to-areas-placement="<wbr>entrance=main;entrance=yes;<wbr>building=entrance" --generate-sea=extend-sea-<wbr>sectors,multipolygon,<wbr>floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt<br>
pause<br>
<br>
I have used 'description' 'mapname' ' family name' 'series-name' I still cannot seem to get my maps to be labeled correctly.<br>
<br>
In BaseCamp v4.6.2 the map is labeled "US-Mansfield" and on my Garmin Montana 600 it is also labeled "US-Mansfield"<br>
<br>
Greg<br>
______________________________<wbr>_________________<br>
mkgmap-dev mailing list<br>
</span><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><wbr><mailto:<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.<wbr>mkgmap.org.uk</a>><mailto:<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-<wbr>dev@lists.mkgmap.org.uk</a><<wbr>mailto:<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.<wbr>mkgmap.org.uk</a>>><mailto:<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-<wbr>dev@lists.mkgmap.org.uk</a><<wbr>mailto:<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.<wbr>mkgmap.org.uk</a>><mailto:<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-<wbr>dev@lists.mkgmap.org.uk</a><<wbr>mailto:<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.<wbr>mkgmap.org.uk</a>>>><br>
<div class="HOEnZb"><div class="h5"><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/<wbr>mailman/listinfo/mkgmap-dev</a><br>
<br>
______________________________<wbr>_________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><wbr><mailto:<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.<wbr>mkgmap.org.uk</a>><mailto:<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-<wbr>dev@lists.mkgmap.org.uk</a><<wbr>mailto:<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.<wbr>mkgmap.org.uk</a>>><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/<wbr>mailman/listinfo/mkgmap-dev</a><br>
<br>
______________________________<wbr>_________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><wbr><mailto:<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.<wbr>mkgmap.org.uk</a>><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/<wbr>mailman/listinfo/mkgmap-dev</a><br>
<br>
______________________________<wbr>_________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/<wbr>mailman/listinfo/mkgmap-dev</a><br>
</div></div></blockquote></div><br></div>