Found the problem, mkgmap r3671 cannot handle SPACES in the --description option
When I changed --description="Ohio 2016.2.10" to --description="Ohio-2016.2.10" I was able to get Ohio-2016.2.10 as a mapset name Greg On Fri, Mar 11, 2016 at 10:26 AM, greg crago <[email protected]> wrote: > Gary, can you explain the regular expression. Not too familiar with that > code, yet. > > Greg > > On Fri, Mar 11, 2016 at 10:13 AM, Gary Bamford <[email protected]> > wrote: > >> >> I use >> >> >> --description=\"" + MapDetails.MapName + "\" >> >> >> and that works for me >> >> ------------------------------ >> *From:* mkgmap-dev <[email protected]> on behalf of >> greg crago <[email protected]> >> *Sent:* 11 March 2016 15:00 >> *To:* Development list for mkgmap >> *Subject:* [mkgmap-dev] Mapset name in BaseCamp and GPS is not showing >> --description --family-name --series-name --area-name options >> >> BaseCamp and my Garmin Montana displays "US-Pittsburgh" as the mapset >> name, which is the LAST entry in my template.args >> >> Here is my mkgmap command: >> >> java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3665\mkgmap-r3665\mkgmap.jar >> --gmapsupp --description="Ohio 2016.2.10" --latin1 --index >> --x-split-name-index --bounds=\MKGMAP\OH\bounds >> --location-autofill=is_in,nearest --housenumbers --overview-mapname=Ohio-ov >> --overview-mapnumber=12380000 --remove-ovm-work-files >> --style-file=\MKGMAP\openmapchest-style\openmapchest --check-styles >> --family-id=665 --family-name="Ohio" --product-id=3 --series-name="Ohio >> 2016.2.10" --area-name="My maps" --min-size-polygon --route >> --drive-on=detect,right --check-roundabouts --check-roundabout-flares >> --remove-short-arcs --add-pois-to-areas >> --pois-to-areas-placement="entrance=main;entrance=yes;building=entrance" >> --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000 >> --make-poi-index --make-opposite-cycleways --process-destination >> --process-exits --tdbfile --poi-address --verbose -c template.args >> master_thin.txt >> >> Here is my template.args >> >> mapname: 12380000 >> description: US-Cincinnati >> input-file: 12380000.osm.pbf >> >> mapname: 12380001 >> description: US-Columbus >> input-file: 12380001.osm.pbf >> >> mapname: 12380002 >> description: US-Dayton >> input-file: 12380002.osm.pbf >> >> mapname: 12380003 >> description: US-Toledo >> input-file: 12380003.osm.pbf >> >> mapname: 12380004 >> description: US-Detroit >> input-file: 12380004.osm.pbf >> >> mapname: 12380005 >> description: US-Mansfield >> input-file: 12380005.osm.pbf >> >> mapname: 12380006 >> description: US-Pittsburgh >> input-file: 12380006.osm.pbf >> >> Which OPTION sets the mapset name in BaseCamp and GPS units? >> >> Greg >> >> >> _______________________________________________ >> mkgmap-dev mailing list >> [email protected] >> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >> > >
_______________________________________________ mkgmap-dev mailing list [email protected] http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
