How to label maps generated by mkgmap -r3742

classic Classic list List threaded Threaded
31 messages Options
12
Reply | Threaded
Open this post in threaded view
|

How to label maps generated by mkgmap -r3742

greg crago
I am trying to label different maps for each state and the map name seems to be comming from cities15000.zip

Here is my splitter command:

java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r560\splitter-r560\splitter.jar --max-nodes=700000 --handle-element-version=keep --mapid="12380000" --geonames-file=\MKGMAP\cities15000.zip --description=OH-greg --max-areas="255" --no-trim --status-freq="600" ohio-latest.osm.pbf
pause

Here is my mkgamp command:

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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_in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --style-file=\MKGMAP\BaseCamp-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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt
pause

I have used 'description' 'mapname' ' family name' 'series-name' I still cannot seem to get my maps to be labeled correctly.

In BaseCamp v4.6.2 the map is labeled "US-Mansfield" and on my Garmin Montana 600 it is also labeled "US-Mansfield"

Greg

_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

rheinskipper1000
Thanks for asking. I have exactly the same problem.

-------- Ursprüngliche Nachricht --------
Von: greg crago <[hidden email]>
Datum: 07.01.17 00:53 (GMT+01:00)
An: Development list for mkgmap <[hidden email]>
Betreff: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I am trying to label different maps for each state and the map name seems to be comming from cities15000.zip

Here is my splitter command:

java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r560\splitter-r560\splitter.jar --max-nodes=700000 --handle-element-version=keep --mapid="12380000" --geonames-file=\MKGMAP\cities15000.zip --description=OH-greg --max-areas="255" --no-trim --status-freq="600" ohio-latest.osm.pbf
pause

Here is my mkgamp command:

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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_in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --style-file=\MKGMAP\BaseCamp-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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt
pause

I have used 'description' 'mapname' ' family name' 'series-name' I still cannot seem to get my maps to be labeled correctly.

In BaseCamp v4.6.2 the map is labeled "US-Mansfield" and on my Garmin Montana 600 it is also labeled "US-Mansfield"

Greg

_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

Gerd Petermann
In reply to this post by greg crago
Hi Greg,

I am not sure what you want to achive. When you use the option --geonames-file in splitter
it adds location specific description options for each fie in the generated template.args:
mapname: 63240001
description: ET-Addis Ababa
input-file: 63240001.osm.gz

If you edit those lines before using it in mkgmap you probably get what you want.
Of course it makes no sense to do this each time when you run splitter, so I suggest to
keep the modified file and pass it to splitter with the --split-file.
While OSM data grows you have to repeat the process.
I see no easy way to automate that with a script.

Another option could be to modify the content of the cities file.

Gerd
________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von greg crago <[hidden email]>
Gesendet: Samstag, 7. Januar 2017 00:53:26
An: Development list for mkgmap
Betreff: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I am trying to label different maps for each state and the map name seems to be comming from cities15000.zip

Here is my splitter command:

java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r560\splitter-r560\splitter.jar --max-nodes=700000 --handle-element-version=keep --mapid="12380000" --geonames-file=\MKGMAP\cities15000.zip --description=OH-greg --max-areas="255" --no-trim --status-freq="600" ohio-latest.osm.pbf
pause

Here is my mkgamp command:

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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_in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --style-file=\MKGMAP\BaseCamp-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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt
pause

I have used 'description' 'mapname' ' family name' 'series-name' I still cannot seem to get my maps to be labeled correctly.

In BaseCamp v4.6.2 the map is labeled "US-Mansfield" and on my Garmin Montana 600 it is also labeled "US-Mansfield"

Greg
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

greg crago
I understand that --geonames labels individual map tiles with the largest city name in 'cities15000.zip'.

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.

How do I control the text I see in BaseCamp or on a Garmin GPS when I look at the list of installed gmaps?

On Sat, Jan 7, 2017 at 12:15 AM, Gerd Petermann <[hidden email]> wrote:
Hi Greg,

I am not sure what you want to achive. When you use the option --geonames-file in splitter
it adds location specific description options for each fie in the generated template.args:
mapname: 63240001
description: ET-Addis Ababa
input-file: 63240001.osm.gz

If you edit those lines before using it in mkgmap you probably get what you want.
Of course it makes no sense to do this each time when you run splitter, so I suggest to
keep the modified file and pass it to splitter with the --split-file.
While OSM data grows you have to repeat the process.
I see no easy way to automate that with a script.

Another option could be to modify the content of the cities file.

Gerd
________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von greg crago <[hidden email]>
Gesendet: Samstag, 7. Januar 2017 00:53:26
An: Development list for mkgmap
Betreff: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I am trying to label different maps for each state and the map name seems to be comming from cities15000.zip

Here is my splitter command:

java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r560\splitter-r560\splitter.jar --max-nodes=700000 --handle-element-version=keep --mapid="12380000" --geonames-file=\MKGMAP\cities15000.zip --description=OH-greg --max-areas="255" --no-trim --status-freq="600" ohio-latest.osm.pbf
pause

Here is my mkgamp command:

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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_in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --style-file=\MKGMAP\BaseCamp-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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt
pause

I have used 'description' 'mapname' ' family name' 'series-name' I still cannot seem to get my maps to be labeled correctly.

In BaseCamp v4.6.2 the map is labeled "US-Mansfield" and on my Garmin Montana 600 it is also labeled "US-Mansfield"

Greg
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

Gerd Petermann
Ahh, ok, that should be --series-name. The help says:
--series-name
        This name will be displayed in MapSource in the map selection
        drop-down. The default is "OSM map".

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von greg crago <[hidden email]>
Gesendet: Samstag, 7. Januar 2017 15:15:14
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I understand that --geonames labels individual map tiles with the largest city name in 'cities15000.zip'.

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.

How do I control the text I see in BaseCamp or on a Garmin GPS when I look at the list of installed gmaps?

On Sat, Jan 7, 2017 at 12:15 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]>> wrote:
Hi Greg,

I am not sure what you want to achive. When you use the option --geonames-file in splitter
it adds location specific description options for each fie in the generated template.args:
mapname: 63240001
description: ET-Addis Ababa
input-file: 63240001.osm.gz

If you edit those lines before using it in mkgmap you probably get what you want.
Of course it makes no sense to do this each time when you run splitter, so I suggest to
keep the modified file and pass it to splitter with the --split-file.
While OSM data grows you have to repeat the process.
I see no easy way to automate that with a script.

Another option could be to modify the content of the cities file.

Gerd
________________________________________
Von: mkgmap-dev <[hidden email]<mailto:[hidden email]>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]>>
Gesendet: Samstag, 7. Januar 2017 00:53:26
An: Development list for mkgmap
Betreff: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I am trying to label different maps for each state and the map name seems to be comming from cities15000.zip

Here is my splitter command:

java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r560\splitter-r560\splitter.jar --max-nodes=700000 --handle-element-version=keep --mapid="12380000" --geonames-file=\MKGMAP\cities15000.zip --description=OH-greg --max-areas="255" --no-trim --status-freq="600" ohio-latest.osm.pbf
pause

Here is my mkgamp command:

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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_in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --style-file=\MKGMAP\BaseCamp-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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt
pause

I have used 'description' 'mapname' ' family name' 'series-name' I still cannot seem to get my maps to be labeled correctly.

In BaseCamp v4.6.2 the map is labeled "US-Mansfield" and on my Garmin Montana 600 it is also labeled "US-Mansfield"

Greg
_______________________________________________
mkgmap-dev mailing list
[hidden email]<mailto:[hidden email]>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

Gerd Petermann

And you have to make sure that the option appears before the options like --nsis or --index etc., probably it should be the first

Gerd
________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von Gerd Petermann <[hidden email]>
Gesendet: Samstag, 7. Januar 2017 15:29:34
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

Ahh, ok, that should be --series-name. The help says:
--series-name
        This name will be displayed in MapSource in the map selection
        drop-down. The default is "OSM map".

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von greg crago <[hidden email]>
Gesendet: Samstag, 7. Januar 2017 15:15:14
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I understand that --geonames labels individual map tiles with the largest city name in 'cities15000.zip'.

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.

How do I control the text I see in BaseCamp or on a Garmin GPS when I look at the list of installed gmaps?

On Sat, Jan 7, 2017 at 12:15 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]>> wrote:
Hi Greg,

I am not sure what you want to achive. When you use the option --geonames-file in splitter
it adds location specific description options for each fie in the generated template.args:
mapname: 63240001
description: ET-Addis Ababa
input-file: 63240001.osm.gz

If you edit those lines before using it in mkgmap you probably get what you want.
Of course it makes no sense to do this each time when you run splitter, so I suggest to
keep the modified file and pass it to splitter with the --split-file.
While OSM data grows you have to repeat the process.
I see no easy way to automate that with a script.

Another option could be to modify the content of the cities file.

Gerd
________________________________________
Von: mkgmap-dev <[hidden email]<mailto:[hidden email]>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]>>
Gesendet: Samstag, 7. Januar 2017 00:53:26
An: Development list for mkgmap
Betreff: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I am trying to label different maps for each state and the map name seems to be comming from cities15000.zip

Here is my splitter command:

java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r560\splitter-r560\splitter.jar --max-nodes=700000 --handle-element-version=keep --mapid="12380000" --geonames-file=\MKGMAP\cities15000.zip --description=OH-greg --max-areas="255" --no-trim --status-freq="600" ohio-latest.osm.pbf
pause

Here is my mkgamp command:

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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_in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --style-file=\MKGMAP\BaseCamp-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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt
pause

I have used 'description' 'mapname' ' family name' 'series-name' I still cannot seem to get my maps to be labeled correctly.

In BaseCamp v4.6.2 the map is labeled "US-Mansfield" and on my Garmin Montana 600 it is also labeled "US-Mansfield"

Greg
_______________________________________________
mkgmap-dev mailing list
[hidden email]<mailto:[hidden email]>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

greg crago
In reply to this post by Gerd Petermann
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)

Greg

On Sat, Jan 7, 2017 at 6:29 AM, Gerd Petermann <[hidden email]> wrote:
Ahh, ok, that should be --series-name. The help says:
--series-name
        This name will be displayed in MapSource in the map selection
        drop-down. The default is "OSM map".

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von greg crago <[hidden email]>
Gesendet: Samstag, 7. Januar 2017 15:15:14
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I understand that --geonames labels individual map tiles with the largest city name in 'cities15000.zip'.

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.

How do I control the text I see in BaseCamp or on a Garmin GPS when I look at the list of installed gmaps?

On Sat, Jan 7, 2017 at 12:15 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]>> wrote:
Hi Greg,

I am not sure what you want to achive. When you use the option --geonames-file in splitter
it adds location specific description options for each fie in the generated template.args:
mapname: 63240001
description: ET-Addis Ababa
input-file: 63240001.osm.gz

If you edit those lines before using it in mkgmap you probably get what you want.
Of course it makes no sense to do this each time when you run splitter, so I suggest to
keep the modified file and pass it to splitter with the --split-file.
While OSM data grows you have to repeat the process.
I see no easy way to automate that with a script.

Another option could be to modify the content of the cities file.

Gerd
________________________________________
Von: mkgmap-dev <[hidden email]<mailto:[hidden email]>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]>>
Gesendet: Samstag, 7. Januar 2017 00:53:26
An: Development list for mkgmap
Betreff: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I am trying to label different maps for each state and the map name seems to be comming from cities15000.zip

Here is my splitter command:

java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r560\splitter-r560\splitter.jar --max-nodes=700000 --handle-element-version=keep --mapid="12380000" --geonames-file=\MKGMAP\cities15000.zip --description=OH-greg --max-areas="255" --no-trim --status-freq="600" ohio-latest.osm.pbf
pause

Here is my mkgamp command:

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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_in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --style-file=\MKGMAP\BaseCamp-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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt
pause

I have used 'description' 'mapname' ' family name' 'series-name' I still cannot seem to get my maps to be labeled correctly.

In BaseCamp v4.6.2 the map is labeled "US-Mansfield" and on my Garmin Montana 600 it is also labeled "US-Mansfield"

Greg
_______________________________________________
mkgmap-dev mailing list
[hidden email]<mailto:[hidden email]>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

Gerd Petermann
Hi Greg,

you probably missed my additional hint about the position of the option. I tried this command (uses default style)
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_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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args

and I see the string "OH_1-5THIN_BC" in the *.tdb file and in the gmapsupp.img.

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von greg crago <[hidden email]>
Gesendet: Sonntag, 8. Januar 2017 00:05:31
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

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)

Greg

On Sat, Jan 7, 2017 at 6:29 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]>> wrote:
Ahh, ok, that should be --series-name. The help says:
--series-name
        This name will be displayed in MapSource in the map selection
        drop-down. The default is "OSM map".

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]<mailto:[hidden email]>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]>>
Gesendet: Samstag, 7. Januar 2017 15:15:14
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I understand that --geonames labels individual map tiles with the largest city name in 'cities15000.zip'.

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.

How do I control the text I see in BaseCamp or on a Garmin GPS when I look at the list of installed gmaps?

On Sat, Jan 7, 2017 at 12:15 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> wrote:
Hi Greg,

I am not sure what you want to achive. When you use the option --geonames-file in splitter
it adds location specific description options for each fie in the generated template.args:
mapname: 63240001
description: ET-Addis Ababa
input-file: 63240001.osm.gz

If you edit those lines before using it in mkgmap you probably get what you want.
Of course it makes no sense to do this each time when you run splitter, so I suggest to
keep the modified file and pass it to splitter with the --split-file.
While OSM data grows you have to repeat the process.
I see no easy way to automate that with a script.

Another option could be to modify the content of the cities file.

Gerd
________________________________________
Von: mkgmap-dev <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>>
Gesendet: Samstag, 7. Januar 2017 00:53:26
An: Development list for mkgmap
Betreff: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I am trying to label different maps for each state and the map name seems to be comming from cities15000.zip

Here is my splitter command:

java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r560\splitter-r560\splitter.jar --max-nodes=700000 --handle-element-version=keep --mapid="12380000" --geonames-file=\MKGMAP\cities15000.zip --description=OH-greg --max-areas="255" --no-trim --status-freq="600" ohio-latest.osm.pbf
pause

Here is my mkgamp command:

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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_in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --style-file=\MKGMAP\BaseCamp-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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt
pause

I have used 'description' 'mapname' ' family name' 'series-name' I still cannot seem to get my maps to be labeled correctly.

In BaseCamp v4.6.2 the map is labeled "US-Mansfield" and on my Garmin Montana 600 it is also labeled "US-Mansfield"

Greg
_______________________________________________
mkgmap-dev mailing list
[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]<mailto:[hidden email]>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

rheinskipper1000

Hi Gerd,

 

The hint does not work for me. My map also has an unwanted name from cities15000 (last entry from template.args).

 

 

I run mkgmap with this command:

 

java -XX:+UseCompressedOops -Xmx2800m -jar ..\mkgmap\mkgmap.jar -c ..\mkgmap_settings.txt -c ..\tiles\template.args 2>..\err2.txt

 

 

mkgmap_settings.txt contains this:

 

style-file=../styles

style=oseam

family-name=OpenSeaMap

series-name=OpenSeaMap

description=OpenSeaMap

mapname=OpenSeaMap

country-name=Europe

area-name=Europe

family-id=8800

product-id=1

copyright-file=../copyright.txt

draw-priority=20

latin1

order-by-decreasing-area

lower-case

precomp-sea=../planet/sea.zip

name-tag-list='name,name:de,name:latin,name:en'

 

 

Von: [hidden email]
Gesendet: Sonntag, 8. Januar 2017 09:48
An: [hidden email]
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

Hi Greg,

 

you probably missed my additional hint about the position of the option. I tried this command (uses default style)

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_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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args

 

and I see the string "OH_1-5THIN_BC" in the *.tdb file and in the gmapsupp.img.

 

Gerd

 

________________________________________

Von: mkgmap-dev <[hidden email]> im Auftrag von greg crago <[hidden email]>

Gesendet: Sonntag, 8. Januar 2017 00:05:31

An: Development list for mkgmap

Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

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)

 

Greg

 

On Sat, Jan 7, 2017 at 6:29 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]>> wrote:

Ahh, ok, that should be --series-name. The help says:

--series-name

        This name will be displayed in MapSource in the map selection

        drop-down. The default is "OSM map".

 

Gerd

 

________________________________________

Von: mkgmap-dev <[hidden email]<mailto:[hidden email]>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]>>

Gesendet: Samstag, 7. Januar 2017 15:15:14

An: Development list for mkgmap

Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

I understand that --geonames labels individual map tiles with the largest city name in 'cities15000.zip'.

 

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.

 

How do I control the text I see in BaseCamp or on a Garmin GPS when I look at the list of installed gmaps?

 

On Sat, Jan 7, 2017 at 12:15 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> wrote:

Hi Greg,

 

I am not sure what you want to achive. When you use the option --geonames-file in splitter

it adds location specific description options for each fie in the generated template.args:

mapname: 63240001

description: ET-Addis Ababa

input-file: 63240001.osm.gz

 

If you edit those lines before using it in mkgmap you probably get what you want.

Of course it makes no sense to do this each time when you run splitter, so I suggest to

keep the modified file and pass it to splitter with the --split-file.

While OSM data grows you have to repeat the process.

I see no easy way to automate that with a script.

 

Another option could be to modify the content of the cities file.

 

Gerd

________________________________________

Von: mkgmap-dev <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>>

Gesendet: Samstag, 7. Januar 2017 00:53:26

An: Development list for mkgmap

Betreff: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

I am trying to label different maps for each state and the map name seems to be comming from cities15000.zip

 

Here is my splitter command:

 

java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r560\splitter-r560\splitter.jar --max-nodes=700000 --handle-element-version=keep --mapid="12380000" --geonames-file=\MKGMAP\cities15000.zip --description=OH-greg --max-areas="255" --no-trim --status-freq="600" ohio-latest.osm.pbf

pause

 

Here is my mkgamp command:

 

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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_in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --style-file=\MKGMAP\BaseCamp-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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt

pause

 

I have used 'description' 'mapname' ' family name' 'series-name' I still cannot seem to get my maps to be labeled correctly.

 

In BaseCamp v4.6.2 the map is labeled "US-Mansfield" and on my Garmin Montana 600 it is also labeled "US-Mansfield"

 

Greg

_______________________________________________

mkgmap-dev mailing list

[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

 

_______________________________________________

mkgmap-dev mailing list

[hidden email]<mailto:[hidden email]>

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

 

_______________________________________________

mkgmap-dev mailing list

[hidden email]

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

 


_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

Gerd Petermann
Hi rheinskipper,

I don't see an option to create a gmapsupp,nsis or tdbfile in your mkgmap_settings.txt.
What command / tool do you use to install the map on the pc or on the device?

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von [hidden email] <[hidden email]>
Gesendet: Sonntag, 8. Januar 2017 17:44:39
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

Hi Gerd,

The hint does not work for me. My map also has an unwanted name from cities15000 (last entry from template.args).


I run mkgmap with this command:

java -XX:+UseCompressedOops -Xmx2800m -jar ..\mkgmap\mkgmap.jar -c ..\mkgmap_settings.txt -c ..\tiles\template.args 2>..\err2.txt


mkgmap_settings.txt contains this:

style-file=../styles
style=oseam
family-name=OpenSeaMap
series-name=OpenSeaMap
description=OpenSeaMap
mapname=OpenSeaMap
country-name=Europe
area-name=Europe
family-id=8800
product-id=1
copyright-file=../copyright.txt
draw-priority=20
latin1
order-by-decreasing-area
lower-case
precomp-sea=../planet/sea.zip
name-tag-list='name,name:de,name:latin,name:en'


Von: Gerd Petermann<mailto:[hidden email]>
Gesendet: Sonntag, 8. Januar 2017 09:48
An: Development list for mkgmap<mailto:[hidden email]>
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

Hi Greg,

you probably missed my additional hint about the position of the option. I tried this command (uses default style)
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_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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args

and I see the string "OH_1-5THIN_BC" in the *.tdb file and in the gmapsupp.img.

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von greg crago <[hidden email]>
Gesendet: Sonntag, 8. Januar 2017 00:05:31
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

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)

Greg

On Sat, Jan 7, 2017 at 6:29 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]>> wrote:
Ahh, ok, that should be --series-name. The help says:
--series-name
        This name will be displayed in MapSource in the map selection
        drop-down. The default is "OSM map".

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]<mailto:[hidden email]>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]>>
Gesendet: Samstag, 7. Januar 2017 15:15:14
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I understand that --geonames labels individual map tiles with the largest city name in 'cities15000.zip'.

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.

How do I control the text I see in BaseCamp or on a Garmin GPS when I look at the list of installed gmaps?

On Sat, Jan 7, 2017 at 12:15 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> wrote:
Hi Greg,

I am not sure what you want to achive. When you use the option --geonames-file in splitter
it adds location specific description options for each fie in the generated template.args:
mapname: 63240001
description: ET-Addis Ababa
input-file: 63240001.osm.gz

If you edit those lines before using it in mkgmap you probably get what you want.
Of course it makes no sense to do this each time when you run splitter, so I suggest to
keep the modified file and pass it to splitter with the --split-file.
While OSM data grows you have to repeat the process.
I see no easy way to automate that with a script.

Another option could be to modify the content of the cities file.

Gerd
________________________________________
Von: mkgmap-dev <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>>
Gesendet: Samstag, 7. Januar 2017 00:53:26
An: Development list for mkgmap
Betreff: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I am trying to label different maps for each state and the map name seems to be comming from cities15000.zip

Here is my splitter command:

java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r560\splitter-r560\splitter.jar --max-nodes=700000 --handle-element-version=keep --mapid="12380000" --geonames-file=\MKGMAP\cities15000.zip --description=OH-greg --max-areas="255" --no-trim --status-freq="600" ohio-latest.osm.pbf
pause

Here is my mkgamp command:

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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_in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --style-file=\MKGMAP\BaseCamp-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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt
pause

I have used 'description' 'mapname' ' family name' 'series-name' I still cannot seem to get my maps to be labeled correctly.

In BaseCamp v4.6.2 the map is labeled "US-Mansfield" and on my Garmin Montana 600 it is also labeled "US-Mansfield"

Greg
_______________________________________________
mkgmap-dev mailing list
[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]<mailto:[hidden email]>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

rheinskipper1000

Ups, last line of my mkgmap_settings.txt should be

gmapsupp

 

I accidently deleted this line while cleaning file from unnecessary commented out options for the post.

 

My gmapsupp.img is used on marine devices or homeport pc program. It can be downloaded here:

https://drive.google.com/drive/folders/0Bz9KchYfWW3reE50SG1OYkZrTjQ?usp=sharing

 

 

 

Von: [hidden email]
Gesendet: Sonntag, 8. Januar 2017 17:51
An: [hidden email]
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

Hi rheinskipper,

 

I don't see an option to create a gmapsupp,nsis or tdbfile in your mkgmap_settings.txt.

What command / tool do you use to install the map on the pc or on the device?

 

Gerd

 

________________________________________

Von: mkgmap-dev <[hidden email]> im Auftrag von [hidden email] <[hidden email]>

Gesendet: Sonntag, 8. Januar 2017 17:44:39

An: Development list for mkgmap

Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

Hi Gerd,

 

The hint does not work for me. My map also has an unwanted name from cities15000 (last entry from template.args).

 

 

I run mkgmap with this command:

 

java -XX:+UseCompressedOops -Xmx2800m -jar ..\mkgmap\mkgmap.jar -c ..\mkgmap_settings.txt -c ..\tiles\template.args 2>..\err2.txt

 

 

mkgmap_settings.txt contains this:

 

style-file=../styles

style=oseam

family-name=OpenSeaMap

series-name=OpenSeaMap

description=OpenSeaMap

mapname=OpenSeaMap

country-name=Europe

area-name=Europe

family-id=8800

product-id=1

copyright-file=../copyright.txt

draw-priority=20

latin1

order-by-decreasing-area

lower-case

precomp-sea=../planet/sea.zip

name-tag-list='name,name:de,name:latin,name:en'

 

 

Von: Gerd Petermann<mailto:[hidden email]>

Gesendet: Sonntag, 8. Januar 2017 09:48

An: Development list for mkgmap<mailto:[hidden email]>

Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

Hi Greg,

 

you probably missed my additional hint about the position of the option. I tried this command (uses default style)

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_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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args

 

and I see the string "OH_1-5THIN_BC" in the *.tdb file and in the gmapsupp.img.

 

Gerd

 

________________________________________

Von: mkgmap-dev <[hidden email]> im Auftrag von greg crago <[hidden email]>

Gesendet: Sonntag, 8. Januar 2017 00:05:31

An: Development list for mkgmap

Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

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)

 

Greg

 

On Sat, Jan 7, 2017 at 6:29 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]>> wrote:

Ahh, ok, that should be --series-name. The help says:

--series-name

        This name will be displayed in MapSource in the map selection

        drop-down. The default is "OSM map".

 

Gerd

 

________________________________________

Von: mkgmap-dev <[hidden email]<mailto:[hidden email]>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]>>

Gesendet: Samstag, 7. Januar 2017 15:15:14

An: Development list for mkgmap

Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

I understand that --geonames labels individual map tiles with the largest city name in 'cities15000.zip'.

 

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.

 

How do I control the text I see in BaseCamp or on a Garmin GPS when I look at the list of installed gmaps?

 

On Sat, Jan 7, 2017 at 12:15 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> wrote:

Hi Greg,

 

I am not sure what you want to achive. When you use the option --geonames-file in splitter

it adds location specific description options for each fie in the generated template.args:

mapname: 63240001

description: ET-Addis Ababa

input-file: 63240001.osm.gz

 

If you edit those lines before using it in mkgmap you probably get what you want.

Of course it makes no sense to do this each time when you run splitter, so I suggest to

keep the modified file and pass it to splitter with the --split-file.

While OSM data grows you have to repeat the process.

I see no easy way to automate that with a script.

 

Another option could be to modify the content of the cities file.

 

Gerd

________________________________________

Von: mkgmap-dev <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>>

Gesendet: Samstag, 7. Januar 2017 00:53:26

An: Development list for mkgmap

Betreff: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

I am trying to label different maps for each state and the map name seems to be comming from cities15000.zip

 

Here is my splitter command:

 

java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r560\splitter-r560\splitter.jar --max-nodes=700000 --handle-element-version=keep --mapid="12380000" --geonames-file=\MKGMAP\cities15000.zip --description=OH-greg --max-areas="255" --no-trim --status-freq="600" ohio-latest.osm.pbf

pause

 

Here is my mkgamp command:

 

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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_in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --style-file=\MKGMAP\BaseCamp-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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt

pause

 

I have used 'description' 'mapname' ' family name' 'series-name' I still cannot seem to get my maps to be labeled correctly.

 

In BaseCamp v4.6.2 the map is labeled "US-Mansfield" and on my Garmin Montana 600 it is also labeled "US-Mansfield"

 

Greg

_______________________________________________

mkgmap-dev mailing list

[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

 

_______________________________________________

mkgmap-dev mailing list

[hidden email]<mailto:[hidden email]>

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

 

_______________________________________________

mkgmap-dev mailing list

[hidden email]

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

 

_______________________________________________

mkgmap-dev mailing list

[hidden email]

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

 


_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

rheinskipper1000

And here is a screenshot from Homeport showing the confusing name:

https://drive.google.com/open?id=0Bz9KchYfWW3rak5HQU1NcWlqWDQ

 

 

 

Von: [hidden email]
Gesendet: Sonntag, 8. Januar 2017 18:12
An: [hidden email]
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

Ups, last line of my mkgmap_settings.txt should be

gmapsupp

 

I accidently deleted this line while cleaning file from unnecessary commented out options for the post.

 

My gmapsupp.img is used on marine devices or homeport pc program. It can be downloaded here:

https://drive.google.com/drive/folders/0Bz9KchYfWW3reE50SG1OYkZrTjQ?usp=sharing

 

 

 

Von: [hidden email]
Gesendet: Sonntag, 8. Januar 2017 17:51
An: [hidden email]
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

Hi rheinskipper,

 

I don't see an option to create a gmapsupp,nsis or tdbfile in your mkgmap_settings.txt.

What command / tool do you use to install the map on the pc or on the device?

 

Gerd

 

________________________________________

Von: mkgmap-dev <[hidden email]> im Auftrag von [hidden email] <[hidden email]>

Gesendet: Sonntag, 8. Januar 2017 17:44:39

An: Development list for mkgmap

Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

Hi Gerd,

 

The hint does not work for me. My map also has an unwanted name from cities15000 (last entry from template.args).

 

 

I run mkgmap with this command:

 

java -XX:+UseCompressedOops -Xmx2800m -jar ..\mkgmap\mkgmap.jar -c ..\mkgmap_settings.txt -c ..\tiles\template.args 2>..\err2.txt

 

 

mkgmap_settings.txt contains this:

 

style-file=../styles

style=oseam

family-name=OpenSeaMap

series-name=OpenSeaMap

description=OpenSeaMap

mapname=OpenSeaMap

country-name=Europe

area-name=Europe

family-id=8800

product-id=1

copyright-file=../copyright.txt

draw-priority=20

latin1

order-by-decreasing-area

lower-case

precomp-sea=../planet/sea.zip

name-tag-list='name,name:de,name:latin,name:en'

 

 

Von: Gerd Petermann<mailto:[hidden email]>

Gesendet: Sonntag, 8. Januar 2017 09:48

An: Development list for mkgmap<mailto:[hidden email]>

Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

Hi Greg,

 

you probably missed my additional hint about the position of the option. I tried this command (uses default style)

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_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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args

 

and I see the string "OH_1-5THIN_BC" in the *.tdb file and in the gmapsupp.img.

 

Gerd

 

________________________________________

Von: mkgmap-dev <[hidden email]> im Auftrag von greg crago <[hidden email]>

Gesendet: Sonntag, 8. Januar 2017 00:05:31

An: Development list for mkgmap

Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

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)

 

Greg

 

On Sat, Jan 7, 2017 at 6:29 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]>> wrote:

Ahh, ok, that should be --series-name. The help says:

--series-name

        This name will be displayed in MapSource in the map selection

        drop-down. The default is "OSM map".

 

Gerd

 

________________________________________

Von: mkgmap-dev <[hidden email]<mailto:[hidden email]>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]>>

Gesendet: Samstag, 7. Januar 2017 15:15:14

An: Development list for mkgmap

Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

I understand that --geonames labels individual map tiles with the largest city name in 'cities15000.zip'.

 

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.

 

How do I control the text I see in BaseCamp or on a Garmin GPS when I look at the list of installed gmaps?

 

On Sat, Jan 7, 2017 at 12:15 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> wrote:

Hi Greg,

 

I am not sure what you want to achive. When you use the option --geonames-file in splitter

it adds location specific description options for each fie in the generated template.args:

mapname: 63240001

description: ET-Addis Ababa

input-file: 63240001.osm.gz

 

If you edit those lines before using it in mkgmap you probably get what you want.

Of course it makes no sense to do this each time when you run splitter, so I suggest to

keep the modified file and pass it to splitter with the --split-file.

While OSM data grows you have to repeat the process.

I see no easy way to automate that with a script.

 

Another option could be to modify the content of the cities file.

 

Gerd

________________________________________

Von: mkgmap-dev <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>>

Gesendet: Samstag, 7. Januar 2017 00:53:26

An: Development list for mkgmap

Betreff: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

I am trying to label different maps for each state and the map name seems to be comming from cities15000.zip

 

Here is my splitter command:

 

java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r560\splitter-r560\splitter.jar --max-nodes=700000 --handle-element-version=keep --mapid="12380000" --geonames-file=\MKGMAP\cities15000.zip --description=OH-greg --max-areas="255" --no-trim --status-freq="600" ohio-latest.osm.pbf

pause

 

Here is my mkgamp command:

 

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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_in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --style-file=\MKGMAP\BaseCamp-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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt

pause

 

I have used 'description' 'mapname' ' family name' 'series-name' I still cannot seem to get my maps to be labeled correctly.

 

In BaseCamp v4.6.2 the map is labeled "US-Mansfield" and on my Garmin Montana 600 it is also labeled "US-Mansfield"

 

Greg

_______________________________________________

mkgmap-dev mailing list

[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

 

_______________________________________________

mkgmap-dev mailing list

[hidden email]<mailto:[hidden email]>

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

 

_______________________________________________

mkgmap-dev mailing list

[hidden email]

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

 

_______________________________________________

mkgmap-dev mailing list

[hidden email]

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

 

 


_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

Gerd Petermann
Hi Rheinskipper,

okay, mkgmap writes the last description into the gmapsupp, sp please try this:
java -XX:+UseCompressedOops -Xmx2800m -jar ..\mkgmap\mkgmap.jar -c ..\mkgmap_settings.txt -c ..\tiles\template.args --description=xyz --gmapsupp 2>..\err2.txt
without the gmapsupp option in the mkgmap_settings.txt

Gerd
________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von [hidden email] <[hidden email]>
Gesendet: Sonntag, 8. Januar 2017 18:27:12
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

And here is a screenshot from Homeport showing the confusing name:
https://drive.google.com/open?id=0Bz9KchYfWW3rak5HQU1NcWlqWDQ



Von: [hidden email]<mailto:[hidden email]>
Gesendet: Sonntag, 8. Januar 2017 18:12
An: Development list for mkgmap<mailto:[hidden email]>
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

Ups, last line of my mkgmap_settings.txt should be
gmapsupp

I accidently deleted this line while cleaning file from unnecessary commented out options for the post.

My gmapsupp.img is used on marine devices or homeport pc program. It can be downloaded here:
https://drive.google.com/drive/folders/0Bz9KchYfWW3reE50SG1OYkZrTjQ?usp=sharing



Von: Gerd Petermann<mailto:[hidden email]>
Gesendet: Sonntag, 8. Januar 2017 17:51
An: Development list for mkgmap<mailto:[hidden email]>
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

Hi rheinskipper,

I don't see an option to create a gmapsupp,nsis or tdbfile in your mkgmap_settings.txt.
What command / tool do you use to install the map on the pc or on the device?

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von [hidden email] <[hidden email]>
Gesendet: Sonntag, 8. Januar 2017 17:44:39
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

Hi Gerd,

The hint does not work for me. My map also has an unwanted name from cities15000 (last entry from template.args).


I run mkgmap with this command:

java -XX:+UseCompressedOops -Xmx2800m -jar ..\mkgmap\mkgmap.jar -c ..\mkgmap_settings.txt -c ..\tiles\template.args 2>..\err2.txt


mkgmap_settings.txt contains this:

style-file=../styles
style=oseam
family-name=OpenSeaMap
series-name=OpenSeaMap
description=OpenSeaMap
mapname=OpenSeaMap
country-name=Europe
area-name=Europe
family-id=8800
product-id=1
copyright-file=../copyright.txt
draw-priority=20
latin1
order-by-decreasing-area
lower-case
precomp-sea=../planet/sea.zip
name-tag-list='name,name:de,name:latin,name:en'


Von: Gerd Petermann<mailto:[hidden email]>
Gesendet: Sonntag, 8. Januar 2017 09:48
An: Development list for mkgmap<mailto:[hidden email]>
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

Hi Greg,

you probably missed my additional hint about the position of the option. I tried this command (uses default style)
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_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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args

and I see the string "OH_1-5THIN_BC" in the *.tdb file and in the gmapsupp.img.

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von greg crago <[hidden email]>
Gesendet: Sonntag, 8. Januar 2017 00:05:31
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

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)

Greg

On Sat, Jan 7, 2017 at 6:29 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]>> wrote:
Ahh, ok, that should be --series-name. The help says:
--series-name
        This name will be displayed in MapSource in the map selection
        drop-down. The default is "OSM map".

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]<mailto:[hidden email]>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]>>
Gesendet: Samstag, 7. Januar 2017 15:15:14
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I understand that --geonames labels individual map tiles with the largest city name in 'cities15000.zip'.

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.

How do I control the text I see in BaseCamp or on a Garmin GPS when I look at the list of installed gmaps?

On Sat, Jan 7, 2017 at 12:15 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> wrote:
Hi Greg,

I am not sure what you want to achive. When you use the option --geonames-file in splitter
it adds location specific description options for each fie in the generated template.args:
mapname: 63240001
description: ET-Addis Ababa
input-file: 63240001.osm.gz

If you edit those lines before using it in mkgmap you probably get what you want.
Of course it makes no sense to do this each time when you run splitter, so I suggest to
keep the modified file and pass it to splitter with the --split-file.
While OSM data grows you have to repeat the process.
I see no easy way to automate that with a script.

Another option could be to modify the content of the cities file.

Gerd
________________________________________
Von: mkgmap-dev <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>>
Gesendet: Samstag, 7. Januar 2017 00:53:26
An: Development list for mkgmap
Betreff: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I am trying to label different maps for each state and the map name seems to be comming from cities15000.zip

Here is my splitter command:

java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r560\splitter-r560\splitter.jar --max-nodes=700000 --handle-element-version=keep --mapid="12380000" --geonames-file=\MKGMAP\cities15000.zip --description=OH-greg --max-areas="255" --no-trim --status-freq="600" ohio-latest.osm.pbf
pause

Here is my mkgamp command:

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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_in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --style-file=\MKGMAP\BaseCamp-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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt
pause

I have used 'description' 'mapname' ' family name' 'series-name' I still cannot seem to get my maps to be labeled correctly.

In BaseCamp v4.6.2 the map is labeled "US-Mansfield" and on my Garmin Montana 600 it is also labeled "US-Mansfield"

Greg
_______________________________________________
mkgmap-dev mailing list
[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]<mailto:[hidden email]>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

greg crago
In reply to this post by Gerd Petermann
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.

I tried your suggestion using my custom style file:

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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-style\openmapchest --latin1 --index --x-split-name-index --bounds=\MKGMAP\bounds.zip --location-autofill=bounds,is_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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt
pause

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.

Attached is mt style file

Greg

On Sun, Jan 8, 2017 at 12:47 AM, Gerd Petermann <[hidden email]> wrote:
Hi Greg,

you probably missed my additional hint about the position of the option. I tried this command (uses default style)
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_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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args

and I see the string "OH_1-5THIN_BC" in the *.tdb file and in the gmapsupp.img.

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von greg crago <[hidden email]>
Gesendet: Sonntag, 8. Januar 2017 00:05:31
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

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)

Greg

On Sat, Jan 7, 2017 at 6:29 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]>> wrote:
Ahh, ok, that should be --series-name. The help says:
--series-name
        This name will be displayed in MapSource in the map selection
        drop-down. The default is "OSM map".

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]<mailto:[hidden email]>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]>>
Gesendet: Samstag, 7. Januar 2017 15:15:14
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I understand that --geonames labels individual map tiles with the largest city name in 'cities15000.zip'.

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.

How do I control the text I see in BaseCamp or on a Garmin GPS when I look at the list of installed gmaps?

On Sat, Jan 7, 2017 at 12:15 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> wrote:
Hi Greg,

I am not sure what you want to achive. When you use the option --geonames-file in splitter
it adds location specific description options for each fie in the generated template.args:
mapname: 63240001
description: ET-Addis Ababa
input-file: 63240001.osm.gz

If you edit those lines before using it in mkgmap you probably get what you want.
Of course it makes no sense to do this each time when you run splitter, so I suggest to
keep the modified file and pass it to splitter with the --split-file.
While OSM data grows you have to repeat the process.
I see no easy way to automate that with a script.

Another option could be to modify the content of the cities file.

Gerd
________________________________________
Von: mkgmap-dev <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>>
Gesendet: Samstag, 7. Januar 2017 00:53:26
An: Development list for mkgmap
Betreff: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I am trying to label different maps for each state and the map name seems to be comming from cities15000.zip

Here is my splitter command:

java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r560\splitter-r560\splitter.jar --max-nodes=700000 --handle-element-version=keep --mapid="12380000" --geonames-file=\MKGMAP\cities15000.zip --description=OH-greg --max-areas="255" --no-trim --status-freq="600" ohio-latest.osm.pbf
pause

Here is my mkgamp command:

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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_in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --style-file=\MKGMAP\BaseCamp-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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt
pause

I have used 'description' 'mapname' ' family name' 'series-name' I still cannot seem to get my maps to be labeled correctly.

In BaseCamp v4.6.2 the map is labeled "US-Mansfield" and on my Garmin Montana 600 it is also labeled "US-Mansfield"

Greg
_______________________________________________
mkgmap-dev mailing list
[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]<mailto:[hidden email]>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

BaseCamp-style.rar (31K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

Gerd Petermann
Hi Greg,

I don't think that the style has an influence here.
I think we have three problems here:
1)  the documentation is not very clear about the meaning of the different options to set a name or id.
For example, the "series-name" is (only) stored in the *.tdb file, the "description" is stored in each *.img file.
2)  the template.args file generated by splitter sets (overwrites) the options "mapname", "description", and "input-file".
3) mkgmap processes the OSM input files and the TYP file first, then it starts the so-called combiners
which create the gmapsupp.img, the *.tdb and other files like *.nsis, *.mdr, *.mdx etc.
This means that the combiners are started with the last values of "description" and "mapname".

So, if you want the description "XYZ" in your gmapsupp.img you have to use a command like this:
java ... mkgmap.jar --gmapsupp ... -c template.args master_thin.txt --description=XYZ
or (maybe easier  to understand)
java ... mkgmap.jar ... -c template.args master_thin.txt --description=XYZ --gmapsupp

@Steve: I hope I got that right. I seem to remember that you plan to change something here to make this more transparent?

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von greg crago <[hidden email]>
Gesendet: Montag, 9. Januar 2017 05:59:04
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

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.

I tried your suggestion using my custom style file:

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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-style\openmapchest --latin1 --index --x-split-name-index --bounds=\MKGMAP\bounds.zip --location-autofill=bounds,is_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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt
pause

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.

Attached is mt style file

Greg

On Sun, Jan 8, 2017 at 12:47 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]>> wrote:
Hi Greg,

you probably missed my additional hint about the position of the option. I tried this command (uses default style)
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_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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args

and I see the string "OH_1-5THIN_BC" in the *.tdb file and in the gmapsupp.img.

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]<mailto:[hidden email]>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]>>
Gesendet: Sonntag, 8. Januar 2017 00:05:31
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

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)

Greg

On Sat, Jan 7, 2017 at 6:29 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> wrote:
Ahh, ok, that should be --series-name. The help says:
--series-name
        This name will be displayed in MapSource in the map selection
        drop-down. The default is "OSM map".

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>>
Gesendet: Samstag, 7. Januar 2017 15:15:14
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I understand that --geonames labels individual map tiles with the largest city name in 'cities15000.zip'.

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.

How do I control the text I see in BaseCamp or on a Garmin GPS when I look at the list of installed gmaps?

On Sat, Jan 7, 2017 at 12:15 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>><mailto:[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>>> wrote:
Hi Greg,

I am not sure what you want to achive. When you use the option --geonames-file in splitter
it adds location specific description options for each fie in the generated template.args:
mapname: 63240001
description: ET-Addis Ababa
input-file: 63240001.osm.gz

If you edit those lines before using it in mkgmap you probably get what you want.
Of course it makes no sense to do this each time when you run splitter, so I suggest to
keep the modified file and pass it to splitter with the --split-file.
While OSM data grows you have to repeat the process.
I see no easy way to automate that with a script.

Another option could be to modify the content of the cities file.

Gerd
________________________________________
Von: mkgmap-dev <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>><mailto:[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>><mailto:[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>>>
Gesendet: Samstag, 7. Januar 2017 00:53:26
An: Development list for mkgmap
Betreff: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I am trying to label different maps for each state and the map name seems to be comming from cities15000.zip

Here is my splitter command:

java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r560\splitter-r560\splitter.jar --max-nodes=700000 --handle-element-version=keep --mapid="12380000" --geonames-file=\MKGMAP\cities15000.zip --description=OH-greg --max-areas="255" --no-trim --status-freq="600" ohio-latest.osm.pbf
pause

Here is my mkgamp command:

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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_in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --style-file=\MKGMAP\BaseCamp-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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt
pause

I have used 'description' 'mapname' ' family name' 'series-name' I still cannot seem to get my maps to be labeled correctly.

In BaseCamp v4.6.2 the map is labeled "US-Mansfield" and on my Garmin Montana 600 it is also labeled "US-Mansfield"

Greg
_______________________________________________
mkgmap-dev mailing list
[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>><mailto:[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]<mailto:[hidden email]>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

rheinskipper1000
In reply to this post by Gerd Petermann

This did the trick!

 

Thanks a lot for your great support.

 

 

Von: [hidden email]
Gesendet: Sonntag, 8. Januar 2017 18:46
An: [hidden email]
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

Hi Rheinskipper,

 

okay, mkgmap writes the last description into the gmapsupp, sp please try this:

java -XX:+UseCompressedOops -Xmx2800m -jar ..\mkgmap\mkgmap.jar -c ..\mkgmap_settings.txt -c ..\tiles\template.args --description=xyz --gmapsupp 2>..\err2.txt

without the gmapsupp option in the mkgmap_settings.txt

 

Gerd

________________________________________

Von: mkgmap-dev <[hidden email]> im Auftrag von [hidden email] <[hidden email]>

Gesendet: Sonntag, 8. Januar 2017 18:27:12

An: Development list for mkgmap

Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

And here is a screenshot from Homeport showing the confusing name:

https://drive.google.com/open?id=0Bz9KchYfWW3rak5HQU1NcWlqWDQ

 

 

 

Von: [hidden email]<mailto:[hidden email]>

Gesendet: Sonntag, 8. Januar 2017 18:12

An: Development list for mkgmap<mailto:[hidden email]>

Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

Ups, last line of my mkgmap_settings.txt should be

gmapsupp

 

I accidently deleted this line while cleaning file from unnecessary commented out options for the post.

 

My gmapsupp.img is used on marine devices or homeport pc program. It can be downloaded here:

https://drive.google.com/drive/folders/0Bz9KchYfWW3reE50SG1OYkZrTjQ?usp=sharing

 

 

 

Von: Gerd Petermann<mailto:[hidden email]>

Gesendet: Sonntag, 8. Januar 2017 17:51

An: Development list for mkgmap<mailto:[hidden email]>

Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

Hi rheinskipper,

 

I don't see an option to create a gmapsupp,nsis or tdbfile in your mkgmap_settings.txt.

What command / tool do you use to install the map on the pc or on the device?

 

Gerd

 

________________________________________

Von: mkgmap-dev <[hidden email]> im Auftrag von [hidden email] <[hidden email]>

Gesendet: Sonntag, 8. Januar 2017 17:44:39

An: Development list for mkgmap

Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

Hi Gerd,

 

The hint does not work for me. My map also has an unwanted name from cities15000 (last entry from template.args).

 

 

I run mkgmap with this command:

 

java -XX:+UseCompressedOops -Xmx2800m -jar ..\mkgmap\mkgmap.jar -c ..\mkgmap_settings.txt -c ..\tiles\template.args 2>..\err2.txt

 

 

mkgmap_settings.txt contains this:

 

style-file=../styles

style=oseam

family-name=OpenSeaMap

series-name=OpenSeaMap

description=OpenSeaMap

mapname=OpenSeaMap

country-name=Europe

area-name=Europe

family-id=8800

product-id=1

copyright-file=../copyright.txt

draw-priority=20

latin1

order-by-decreasing-area

lower-case

precomp-sea=../planet/sea.zip

name-tag-list='name,name:de,name:latin,name:en'

 

 

Von: Gerd Petermann<mailto:[hidden email]>

Gesendet: Sonntag, 8. Januar 2017 09:48

An: Development list for mkgmap<mailto:[hidden email]>

Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

Hi Greg,

 

you probably missed my additional hint about the position of the option. I tried this command (uses default style)

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_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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args

 

and I see the string "OH_1-5THIN_BC" in the *.tdb file and in the gmapsupp.img.

 

Gerd

 

________________________________________

Von: mkgmap-dev <[hidden email]> im Auftrag von greg crago <[hidden email]>

Gesendet: Sonntag, 8. Januar 2017 00:05:31

An: Development list for mkgmap

Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

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)

 

Greg

 

On Sat, Jan 7, 2017 at 6:29 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]>> wrote:

Ahh, ok, that should be --series-name. The help says:

--series-name

        This name will be displayed in MapSource in the map selection

        drop-down. The default is "OSM map".

 

Gerd

 

________________________________________

Von: mkgmap-dev <[hidden email]<mailto:[hidden email]>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]>>

Gesendet: Samstag, 7. Januar 2017 15:15:14

An: Development list for mkgmap

Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

I understand that --geonames labels individual map tiles with the largest city name in 'cities15000.zip'.

 

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.

 

How do I control the text I see in BaseCamp or on a Garmin GPS when I look at the list of installed gmaps?

 

On Sat, Jan 7, 2017 at 12:15 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> wrote:

Hi Greg,

 

I am not sure what you want to achive. When you use the option --geonames-file in splitter

it adds location specific description options for each fie in the generated template.args:

mapname: 63240001

description: ET-Addis Ababa

input-file: 63240001.osm.gz

 

If you edit those lines before using it in mkgmap you probably get what you want.

Of course it makes no sense to do this each time when you run splitter, so I suggest to

keep the modified file and pass it to splitter with the --split-file.

While OSM data grows you have to repeat the process.

I see no easy way to automate that with a script.

 

Another option could be to modify the content of the cities file.

 

Gerd

________________________________________

Von: mkgmap-dev <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>>

Gesendet: Samstag, 7. Januar 2017 00:53:26

An: Development list for mkgmap

Betreff: [mkgmap-dev] How to label maps generated by mkgmap -r3742

 

I am trying to label different maps for each state and the map name seems to be comming from cities15000.zip

 

Here is my splitter command:

 

java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r560\splitter-r560\splitter.jar --max-nodes=700000 --handle-element-version=keep --mapid="12380000" --geonames-file=\MKGMAP\cities15000.zip --description=OH-greg --max-areas="255" --no-trim --status-freq="600" ohio-latest.osm.pbf

pause

 

Here is my mkgamp command:

 

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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_in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --style-file=\MKGMAP\BaseCamp-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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt

pause

 

I have used 'description' 'mapname' ' family name' 'series-name' I still cannot seem to get my maps to be labeled correctly.

 

In BaseCamp v4.6.2 the map is labeled "US-Mansfield" and on my Garmin Montana 600 it is also labeled "US-Mansfield"

 

Greg

_______________________________________________

mkgmap-dev mailing list

[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

 

_______________________________________________

mkgmap-dev mailing list

[hidden email]<mailto:[hidden email]>

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

 

_______________________________________________

mkgmap-dev mailing list

[hidden email]

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

 

_______________________________________________

mkgmap-dev mailing list

[hidden email]

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

 

 

_______________________________________________

mkgmap-dev mailing list

[hidden email]

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

 


_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

greg crago
In reply to this post by Gerd Petermann
Thank you.

java ... mkgmap.jar ... -c template.args master_thin.txt --description=XYZ --gmapsupp

Worked on BaseCamp and on Garmin GPS.

The only thing that would be nice would be a FAMILY description on the GPS.
Right now, Garmin City Navigator Shows a MAPNAME and in a smaller font another name (family name?)

Greg


On Sun, Jan 8, 2017 at 10:08 PM, Gerd Petermann <[hidden email]> wrote:
Hi Greg,

I don't think that the style has an influence here.
I think we have three problems here:
1)  the documentation is not very clear about the meaning of the different options to set a name or id.
For example, the "series-name" is (only) stored in the *.tdb file, the "description" is stored in each *.img file.
2)  the template.args file generated by splitter sets (overwrites) the options "mapname", "description", and "input-file".
3) mkgmap processes the OSM input files and the TYP file first, then it starts the so-called combiners
which create the gmapsupp.img, the *.tdb and other files like *.nsis, *.mdr, *.mdx etc.
This means that the combiners are started with the last values of "description" and "mapname".

So, if you want the description "XYZ" in your gmapsupp.img you have to use a command like this:
java ... mkgmap.jar --gmapsupp ... -c template.args master_thin.txt --description=XYZ
or (maybe easier  to understand)
java ... mkgmap.jar ... -c template.args master_thin.txt --description=XYZ --gmapsupp

@Steve: I hope I got that right. I seem to remember that you plan to change something here to make this more transparent?

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von greg crago <[hidden email]>
Gesendet: Montag, 9. Januar 2017 05:59:04
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

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.

I tried your suggestion using my custom style file:

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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-style\openmapchest --latin1 --index --x-split-name-index --bounds=\MKGMAP\bounds.zip --location-autofill=bounds,is_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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt
pause

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.

Attached is mt style file

Greg

On Sun, Jan 8, 2017 at 12:47 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]>> wrote:
Hi Greg,

you probably missed my additional hint about the position of the option. I tried this command (uses default style)
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_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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args

and I see the string "OH_1-5THIN_BC" in the *.tdb file and in the gmapsupp.img.

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]<mailto:[hidden email]>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]>>
Gesendet: Sonntag, 8. Januar 2017 00:05:31
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

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)

Greg

On Sat, Jan 7, 2017 at 6:29 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> wrote:
Ahh, ok, that should be --series-name. The help says:
--series-name
        This name will be displayed in MapSource in the map selection
        drop-down. The default is "OSM map".

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>>
Gesendet: Samstag, 7. Januar 2017 15:15:14
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I understand that --geonames labels individual map tiles with the largest city name in 'cities15000.zip'.

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.

How do I control the text I see in BaseCamp or on a Garmin GPS when I look at the list of installed gmaps?

On Sat, Jan 7, 2017 at 12:15 AM, Gerd Petermann <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>><mailto:[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>>> wrote:
Hi Greg,

I am not sure what you want to achive. When you use the option --geonames-file in splitter
it adds location specific description options for each fie in the generated template.args:
mapname: 63240001
description: ET-Addis Ababa
input-file: 63240001.osm.gz

If you edit those lines before using it in mkgmap you probably get what you want.
Of course it makes no sense to do this each time when you run splitter, so I suggest to
keep the modified file and pass it to splitter with the --split-file.
While OSM data grows you have to repeat the process.
I see no easy way to automate that with a script.

Another option could be to modify the content of the cities file.

Gerd
________________________________________
Von: mkgmap-dev <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>><mailto:[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>>> im Auftrag von greg crago <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>><mailto:[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>>>
Gesendet: Samstag, 7. Januar 2017 00:53:26
An: Development list for mkgmap
Betreff: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I am trying to label different maps for each state and the map name seems to be comming from cities15000.zip

Here is my splitter command:

java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r560\splitter-r560\splitter.jar --max-nodes=700000 --handle-element-version=keep --mapid="12380000" --geonames-file=\MKGMAP\cities15000.zip --description=OH-greg --max-areas="255" --no-trim --status-freq="600" ohio-latest.osm.pbf
pause

Here is my mkgamp command:

java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3742\mkgmap-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_in,nearest --housenumbers --overview-mapname=OH-ov --overview-mapnumber=12380000 --remove-ovm-work-files --style-file=\MKGMAP\BaseCamp-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="entrance=main;entrance=yes;building=entrance" --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 --make-poi-index --process-destination --process-exits --tdbfile --poi-address --verbose -c template.args master_thin.txt
pause

I have used 'description' 'mapname' ' family name' 'series-name' I still cannot seem to get my maps to be labeled correctly.

In BaseCamp v4.6.2 the map is labeled "US-Mansfield" and on my Garmin Montana 600 it is also labeled "US-Mansfield"

Greg
_______________________________________________
mkgmap-dev mailing list
[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>><mailto:[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]<mailto:[hidden email]>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

Gerd Petermann
The java code shows that the options area-name and mapset-name are evaluated.
The latter one doesn't appear in the help file, so it is an undocumented option and
you can only use it with --x-mapeset-name=blabla

GMapTool shows the value, but I did not try where it appears on the device or what effect it has.

Gerd

greg crago wrote
Thank you.

java ... mkgmap.jar ... -c template.args master_thin.txt --description=XYZ
--gmapsupp

Worked on BaseCamp and on Garmin GPS.

The only thing that would be nice would be a FAMILY description on the GPS.
Right now, Garmin City Navigator Shows a MAPNAME and in a smaller font
another name (family name?)
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

greg crago
I want to make sure I understand how the ORDER of the OPTIONS are to used.
I was using the "options.txt" file to determine the order of the options. Is that correct?

Why exactly did you recommend putting the --description AFTER the -c template.args option?

Can you add a note to "options.txt" and using SPLTTER (template.args) OVERWRITES --mapname, --description, and --input-file?

I have --area-name and I cannot see it anywhere in BaseCamp or my GPS.
I used --x-mapeset-name=blabla and I cannot see it anywhere in BaseCamp or my GPS.

Greg

On Mon, Jan 9, 2017 at 10:49 PM, Gerd Petermann <[hidden email]> wrote:
The java code shows that the options area-name and mapset-name are evaluated.
The latter one doesn't appear in the help file, so it is an undocumented
option and
you can only use it with --x-mapeset-name=blabla

GMapTool shows the value, but I did not try where it appears on the device
or what effect it has.

Gerd


greg crago wrote
> Thank you.
>
> java ... mkgmap.jar ... -c template.args master_thin.txt --description=XYZ
> --gmapsupp
>
> Worked on BaseCamp and on Garmin GPS.
>
> The only thing that would be nice would be a FAMILY description on the
> GPS.
> Right now, Garmin City Navigator Shows a MAPNAME and in a smaller font
> another name (family name?)





--
View this message in context: http://gis.19327.n8.nabble.com/How-to-label-maps-generated-by-mkgmap-r3742-tp5888897p5889072.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: How to label maps generated by mkgmap -r3742

Gerd Petermann
In reply to this post by greg crago

Hi Greg,

options.txt groups options by meaning. The order of options is important in that way that you can do something like this:
java -jar mkgmap.jar --style=s1 1234*.osm.pbf  --description=2nd_style --style=s2 1235*.osm.pbf
For the files 1234*.osm.pbf the style s1 is used and option  description is "not visible", for the files 1235*.osm.pbf the style s2 is used
and description is "2nd_style".
This concept is broken when it comes to options like "index","gmapsupp", "tdbfile", and others which are always processed after
the *.pbf files so that they always "see" the last setting of an option.
I hope that makes it clearer?

The file template.args is just a generated file which uses these rules, you can create your own file as well.
I'll think about a hint reg. template.args.

Gerd
________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von greg crago <[hidden email]>
Gesendet: Dienstag, 10. Januar 2017 17:11:04
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

I want to make sure I understand how the ORDER of the OPTIONS are to used.
I was using the "options.txt" file to determine the order of the options. Is that correct?

Why exactly did you recommend putting the --description AFTER the -c template.args option?

Can you add a note to "options.txt" and using SPLTTER (template.args) OVERWRITES --mapname, --description, and --input-file?

I have --area-name and I cannot see it anywhere in BaseCamp or my GPS.
I used --x-mapeset-name=blabla and I cannot see it anywhere in BaseCamp or my GPS.

Greg

On Mon, Jan 9, 2017 at 10:49 PM, Gerd Petermann <[hidden email]<mailto:[hidden email]>> wrote:
The java code shows that the options area-name and mapset-name are evaluated.
The latter one doesn't appear in the help file, so it is an undocumented
option and
you can only use it with --x-mapeset-name=blabla

GMapTool shows the value, but I did not try where it appears on the device
or what effect it has.

Gerd


greg crago wrote

> Thank you.
>
> java ... mkgmap.jar ... -c template.args master_thin.txt --description=XYZ
> --gmapsupp
>
> Worked on BaseCamp and on Garmin GPS.
>
> The only thing that would be nice would be a FAMILY description on the
> GPS.
> Right now, Garmin City Navigator Shows a MAPNAME and in a smaller font
> another name (family name?)





--
View this message in context: http://gis.19327.n8.nabble.com/How-to-label-maps-generated-by-mkgmap-r3742-tp5888897p5889072.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
_______________________________________________
mkgmap-dev mailing list
[hidden email]<mailto:[hidden email]>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
12