Mapuploader5 Commands | ||
Mapuploader 5.51+ Commands
You can automate the process of splitting ,creating & launching a map using a script.
TAP here to see an example of a script that downloads a pbf file and creates a map with DEM and Contours!
<mapuploader>version number</mapuploader>
<file>c:\xxx-latest.osm.pbf</file>
Files can have following extensions:pbb ,osm ,o5m,mp
<mapname>map</mapname>
Mapname is required and cannot be empty
<basecamp>yes</basecamp>
If not added,default is no
options :yes ,no
<mapsource>yes</mapsource>
same as basecamp
<fid>auto</fid>
Essential:
use number or auto
<FID>1243</FID>
numbers must not have been used before
<mapid>12345678</mapid>
must be 8 digits ,no letters
<gmapsupp>yes<gmapsupp>
Default is no
<gmapsupp_name>gmap</gmapsupp_name>
name of gmapsupp.img
<country>My Country</country>
Enter name of country
<description> </description>
<split>no</split>
Use option no if you require to use specific tiles
Option yes not needed :Can to combine this option with <split_file>
If no split file is specified the currentb one is used.
<split_file>name of archived tiles</split_file>
Use this option when selecting individual tiles
Use with <split>no</split>
<save_tiles>name</save_tiles>
Tiles created are archived under name given.
<maxnodes>800000 </maxnodes>
Not essential
<memory>28000</memory>
Not essential:
<contours>yes</contours>
Other options
<contours>clip</contours>
Contours are clipped to map area preventing them to 'stick out'
No need to follow this with <contours>use_clip</contours>
<contours>use_clip</contours>
Use previously clipped files
<dem>yes</dem>
default:no dem
<hgt>auto</hgt>
Imporftant to use this option when using Contours or DEM
when set to auto ,it searches folders 1-5 else starte number of folder,ie
<hgt>2</hgt> This searches for hght files in the second of your hgt folders - see Contours/Dem,Settings
<typ>[path]</typ>
Requires full path
other option:<typ>current</typ>
This uses current TYP file
<style>[name of style]</style>
needs name of style ,NOT directory,ie
<style>default</style>
<style>current</style> uses current style
<launch>yes</launch>
Will automatically register and launch map - will only work if
a) Mapsource or Basecamp are on your PC
b) You have administrative rights to access registry
c) Check setting of display level - see below
<detail> </detail>
Use this to define your display level when launching Mapsource/Basecamp 64bit only
Acceptable values:lowest,lower,low,medium,high,higher,highest
ie <detail>medium</detail>
Should be used in combination with <launch>
<nsis>yes</nsis>
If you want to create a setup file for your map ,then use this option.
Mapuploader needs to have pointers to makensis.exe in Settings
option> </option>
requires a number 1/8 or ''no'
Numbers correspond to number given to option
<url> </url>
needs full path.
Example :<url>http://download.geofabrik.de/europe/great-britain/england/devon-latest.osm.pbf</url>
<download_path></download_path>
Path points to where you want the pbf to be saved
Example:<download_path>c:\downloads</download_path>
<size>[number]m/g</size>
m=megabytes g=gigabytes
example :<size>123m</size> or <size>3.2g</size>
This command is not essential but provides some indication of how much has been downloaded.
<overwrite>yes</overwrite>
setting this to 'yes' automatically deletes existing pbf file
<active_route>[number]</active_route>
#1 Driving 2 Motor Cycling 3 Walking 4 Bicycling 5 Trucking 6 Direct 7 Hiking 8 Mountaineering
#9 Tour Cycling 10 Mountain Biking 11 ATV 12 Dirt Biking 13 RV 14 Off Roading
Example
<active_route>4</active_route> # Cycling
#
used to add a comment
(©) Pinns UK |