logo separator

[mkgmap-dev] complete list of all mkgmap options

From Clinton Gladstone clinton.gladstone at googlemail.com on Mon Aug 3 21:25:07 BST 2009

On Aug 2, 2009, at 2:26, Greg Troxel wrote:

>  I searched for a complete list of all mkgmap command-line options and
>  what they should do, but I couldn't find a good and up-to-date
>  list. The list in the wiki is much too old.

I grepped the mkgmap source for the following terms:

   args.get(
   args.exists(
   getProperty
   containsKey
   opt.equals(

This, I hope should, find most of the options. The next step would be  
to confirm their function and status.

Here is the list, with the source code file and the line where the  
option appears. You can also, in many cases, see the default values:

src/uk/me/parabola/mkgmap/combiners/GmapsuppBuilder.java:		familyId =  
args.get("family-id", 0);
src/uk/me/parabola/mkgmap/combiners/GmapsuppBuilder.java:		productId =  
args.get("product-id", 1);
src/uk/me/parabola/mkgmap/combiners/GmapsuppBuilder.java:		familyName  
= args.get("family-name", "family name");
src/uk/me/parabola/mkgmap/combiners/GmapsuppBuilder.java:		areaName =  
args.get("area-name", null);
src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java:		overviewMapname  
= args.get("overview-mapname", "OSM_map");
src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java:		 
overviewMapnumber = args.get("overview-mapnumber", "63240000");
src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java:		 
overviewDescription = args.get("overview-description", "Overview Map");
src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java:		int familyId =  
args.get("family-id", 0);
src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java:		int productId =  
args.get("product-id", 1);
src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java:		short  
productVersion = (short)args.get("product-version", 100);
src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java:		String  
seriesName = args.get("series-name", "OSM map");
src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java:		String  
familyName = args.get("family-name", "OSM map");
src/uk/me/parabola/mkgmap/main/MapMaker.java:		String s =  
args.get("add-pois-to-areas", null);
src/uk/me/parabola/mkgmap/main/MapMaker.java:		String rnp =  
args.get("road-name-pois", null);
src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java:		if  
(args.exists("tdb-v3")) {
src/uk/me/parabola/imgfmt/app/trergn/TREHeader.java:			 
setDisplayPriority(props.getProperty(key, 0x19));
src/uk/me/parabola/log/Logger.java:		String logconf =  
props.getProperty("log.config");
src/uk/me/parabola/mkgmap/build/MapBuilder.java:		countryName =  
props.getProperty("country-name", countryName);
src/uk/me/parabola/mkgmap/build/MapBuilder.java:		countryAbbr =  
props.getProperty("country-abbr", countryAbbr);
src/uk/me/parabola/mkgmap/build/MapBuilder.java:		regionName =  
props.getProperty("region-name", null);
src/uk/me/parabola/mkgmap/build/MapBuilder.java:		regionAbbr =  
props.getProperty("region-abbr", null);
src/uk/me/parabola/mkgmap/build/MapBuilder.java:		 
if(props.getProperty("no-poi-address", null) != null)
src/uk/me/parabola/mkgmap/build/MapBuilder.java:		String autoFillPar =  
props.getProperty("location-autofill", null);
src/uk/me/parabola/mkgmap/build/MapBuilder.java:		 
if(props.getProperty("no-sorted-roads", null) != null)
src/uk/me/parabola/mkgmap/CommandArgs.java:		return  
currentOptions.getProperty(name, def);
src/uk/me/parabola/mkgmap/CommandArgs.java:		return  
currentOptions.getProperty(name, def);
src/uk/me/parabola/mkgmap/CommandArgs.java:		return  
currentOptions.getProperty("description");
src/uk/me/parabola/mkgmap/CommandArgs.java:		return  
currentOptions.getProperty("mapname");
src/uk/me/parabola/mkgmap/CommandArgs.java:		String charset =  
currentOptions.getProperty("latin1");
src/uk/me/parabola/mkgmap/CommandArgs.java:		charset =  
currentOptions.getProperty("charset",  
currentOptions.getProperty("xcharset"));
src/uk/me/parabola/mkgmap/CommandArgs.java:		String s =  
currentOptions.getProperty("code-page",  
currentOptions.getProperty("xcode-page", "0"));
src/uk/me/parabola/mkgmap/CommandArgs.java:		return  
currentOptions.getProperty("lower-case") == null;
src/uk/me/parabola/mkgmap/CommandArgsReader.java:			mapname =  
args.getProperty("mapname");
src/uk/me/parabola/mkgmap/main/Main.java:					if(! 
args.getProperties().getProperty("keep-going", false)) {
src/uk/me/parabola/mkgmap/main/MapMaker.java:			if  
(args.getProperties().getProperty("route", false))
src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java:		 
ignoreMaxspeeds = props.getProperty("ignore-maxspeeds") != null;
src/uk/me/parabola/mkgmap/reader/dem/DEM.java:		String demType =  
config.getProperty("dem-type", "SRTM");
src/uk/me/parabola/mkgmap/reader/dem/DEM.java:				dataPath =  
config.getProperty("dem-path", "ASTER");
src/uk/me/parabola/mkgmap/reader/dem/DEM.java:				dataPath =  
config.getProperty("dem-path", "CGIAR");
src/uk/me/parabola/mkgmap/reader/dem/DEM.java:				dataPath =  
config.getProperty("dem-path", "SRTM");
src/uk/me/parabola/mkgmap/reader/dem/DEM.java:		int increment =  
config.getProperty("dem-increment", 10);
src/uk/me/parabola/mkgmap/reader/dem/DEM.java:		int maxLevels =  
config.getProperty("dem-maxlevels", 100);
src/uk/me/parabola/mkgmap/reader/dem/DEM.java:		String loc =  
config.getProperty("style-file");
src/uk/me/parabola/mkgmap/reader/dem/DEM.java:			loc =  
config.getProperty("map-features");
src/uk/me/parabola/mkgmap/reader/dem/DEM.java:		String name =  
config.getProperty("style");
src/uk/me/parabola/mkgmap/reader/dem/DEM.java:		if  
(config.getProperty("dem-separate-img", false)) {
src/uk/me/parabola/mkgmap/reader/dem/DEM.java:		if  
(config.getProperty("dem-separate-img", false)) {
src/uk/me/parabola/mkgmap/reader/dem/DEM.java:			long mapName =  
Integer.valueOf(config.getProperty("mapname", "63240000"));
src/uk/me/parabola/mkgmap/reader/MapperBasedMapDataSource.java:		if (! 
getConfig().getProperty("transparent", false)) {
src/uk/me/parabola/mkgmap/reader/MapperBasedMapDataSource.java:		if  
(getConfig().getProperty("contours", false)) {		
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5MapDataSource.java:		 
String loc = props.getProperty("style-file");
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5MapDataSource.java:			loc  
= props.getProperty("map-features");
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5MapDataSource.java:		 
String name = props.getProperty("style");
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5XmlHandler.java:		 
if(props.getProperty("make-all-cycleways", false)) {
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5XmlHandler.java:			 
makeOppositeCycleways = props.getProperty("make-opposite-cycleways",  
false);
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5XmlHandler.java:			 
makeCycleways = props.getProperty("make-cycleways", false);
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5XmlHandler.java:		 
linkPOIsToWays = props.getProperty("link-pois-to-ways", false);
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5XmlHandler.java:		 
ignoreBounds = props.getProperty("ignore-osm-bounds", false);
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5XmlHandler.java:		String  
rsa = props.getProperty("remove-short-arcs", null);
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5XmlHandler.java:		 
frigRoundabouts = props.getProperty("frig-roundabouts");
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5XmlHandler.java:		 
ignoreTurnRestrictions = props.getProperty("ignore-turn-restrictions",  
false);
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5XmlHandler.java:		if  
(props.getProperty("preserve-element-order", false)) {
src/uk/me/parabola/mkgmap/reader/osm/xml/OsmMapDataSource.java:		 
String levelSpec = getConfig().getProperty("levels");
src/uk/me/parabola/mkgmap/reader/test/TestPoints.java:		String s =  
props.getProperty("npoints");
src/uk/me/parabola/mkgmap/Version.java:		return  
props.getProperty("svn.version", DEFAULT_VERSION);
src/uk/me/parabola/imgfmt/app/map/Map.java:			if  
(props.containsKey("route")) {
src/uk/me/parabola/imgfmt/app/map/Map.java:			} else if  
(props.containsKey("net")) {
src/uk/me/parabola/imgfmt/app/trergn/TREHeader.java:		if  
(props.containsKey(key))
src/uk/me/parabola/imgfmt/app/trergn/TREHeader.java:		if  
(props.containsKey("transparent"))
src/uk/me/parabola/mkgmap/CommandArgs.java:		return  
currentOptions.containsKey(name);
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5XmlHandler.java:		routing  
= props.containsKey("route");
src/uk/me/parabola/mkgmap/reader/polish/RoadHelper.java:		if  
(nodes.containsKey(nodeIndex))
src/uk/me/parabola/mkgmap/main/Main.java:		if (opt.equals("number-of- 
files")) {
src/uk/me/parabola/mkgmap/main/Main.java:		} else if  
(opt.equals("tdbfile")) {
src/uk/me/parabola/mkgmap/main/Main.java:		} else if  
(opt.equals("gmapsupp")) {
src/uk/me/parabola/mkgmap/main/Main.java:		} else if  
(opt.equals("help")) {
src/uk/me/parabola/mkgmap/main/Main.java:		} else if  
(opt.equals("style-file") || opt.equals("map-features")) {
src/uk/me/parabola/mkgmap/main/Main.java:		} else if  
(opt.equals("verbose")) {
src/uk/me/parabola/mkgmap/main/Main.java:		} else if (opt.equals("list- 
styles")) {
src/uk/me/parabola/mkgmap/main/Main.java:		} else if (opt.equals("max- 
jobs")) {
src/uk/me/parabola/mkgmap/main/Main.java:		} else if  
(opt.equals("version")) {
src/uk/me/parabola/mkgmap/osmstyle/StyleImpl.java:			if  
(opt.equals("name-tag-list")) {




More information about the mkgmap-dev mailing list