logo separator

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

From greg crago gregcrago at gmail.com on Sat Jan 7 14:15:14 GMT 2017

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 <
GPetermann_muenchen at hotmail.com> 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 <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von
> greg crago <gregcrago at gmail.com>
> 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
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20170107/4ebe9c91/attachment-0001.html>


More information about the mkgmap-dev mailing list