<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><br>
</p>
<p>Sorry, forget the regular expression, I have written a C# program that does all the heavy lifting for me, all that bit does is put the name I want inside a pair of quotation marks</p>
<p><br>
</p>
<p>--description= "Gregs Map"</p>
<p><br>
</p>
<p>should do the buisness<br>
</p>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> on behalf of greg crago <gregcrago@gmail.com><br>
<b>Sent:</b> 11 March 2016 15:26<br>
<b>To:</b> Development list for mkgmap<br>
<b>Subject:</b> Re: [mkgmap-dev] Mapset name in BaseCamp and GPS is not showing --description --family-name --series-name --area-name options</font>
<div> </div>
</div>
<div>
<div dir="ltr">Gary, can you explain the regular expression. Not too familiar with that code, yet.
<div><br>
</div>
<div>Greg</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Mar 11, 2016 at 10:13 AM, Gary Bamford <span dir="ltr">
<<a href="mailto:garybamford@hotmail.com" target="_blank">garybamford@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<p><br>
</p>
<p>I use <br>
</p>
<p><br>
</p>
<p>--description=\"" + MapDetails.MapName + "\"</p>
<p><br>
</p>
<p>and that works for me<br>
</p>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-bounces@lists.mkgmap.org.uk</a>> on behalf of greg crago <<a href="mailto:gregcrago@gmail.com" target="_blank">gregcrago@gmail.com</a>><br>
<b>Sent:</b> 11 March 2016 15:00<br>
<b>To:</b> Development list for mkgmap<br>
<b>Subject:</b> [mkgmap-dev] Mapset name in BaseCamp and GPS is not showing --description --family-name --series-name --area-name options</font>
<div> </div>
</div>
<div>
<div class="h5">
<div>
<div dir="ltr">
<div>BaseCamp and my Garmin Montana displays "US-Pittsburgh" as the mapset name, which is the LAST entry in my template.args</div>
<div><br>
</div>
<div>Here is my mkgmap command:<br>
</div>
<div><br>
</div>
<div>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<br>
</div>
<div><br>
</div>
<div>Here is my template.args</div>
<div><br>
</div>
<div>
<div>mapname: 12380000</div>
<div>description: US-Cincinnati</div>
<div>input-file: 12380000.osm.pbf</div>
<div><br>
</div>
<div>mapname: 12380001</div>
<div>description: US-Columbus</div>
<div>input-file: 12380001.osm.pbf</div>
<div><br>
</div>
<div>mapname: 12380002</div>
<div>description: US-Dayton</div>
<div>input-file: 12380002.osm.pbf</div>
<div><br>
</div>
<div>mapname: 12380003</div>
<div>description: US-Toledo</div>
<div>input-file: 12380003.osm.pbf</div>
<div><br>
</div>
<div>mapname: 12380004</div>
<div>description: US-Detroit</div>
<div>input-file: 12380004.osm.pbf</div>
<div><br>
</div>
<div>mapname: 12380005</div>
<div>description: US-Mansfield</div>
<div>input-file: 12380005.osm.pbf</div>
<div><br>
</div>
<div>mapname: 12380006</div>
<div>description: US-Pittsburgh</div>
<div>input-file: 12380006.osm.pbf</div>
</div>
<div><br>
</div>
<div>Which OPTION sets the mapset name in BaseCamp and GPS units?</div>
<div><br>
</div>
<div>Greg</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>