Rev 176 | Blame | Compare with Previous | Last modification | View Log | RSS feed
/*
* Copyright (c) 2009.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*/
package uk.me.parabola.splitter.args;
/**
* Command line parameters for the splitter
*
* @author Chris Miller
*/
public interface SplitterParams {
/**
* @return the ID for the first split area.
*/
@Option(defaultValue = "63240001", description = "The starting map ID.")
int getMapid();
@Option(description = "A default description to give to each area.")
String getDescription();
@Option(defaultValue = "255", description = "The maximum number of areas to process in a single pass. More areas require more memory. 1-255.")
int getMaxAreas();
@Option(defaultValue = "2000", description = "Nodes/ways/rels that fall outside an area will still be included if they are within this many map units.")
int getOverlap();
@Option(defaultValue = "1600000", description = "The maximum number of nodes permitted in each split area.")
int getMaxNodes();
@Option(defaultValue = "13", description = "The resolution of the overview map to be produced by mkgmap.")
int getResolution();
@Option(description = "Specify this if the input osm file has nodes, ways and relations intermingled.")
boolean isMixed();
@Option(description = "The path to the cache directory. If the path doesn't exist it will be created.")
String getCache();
@Option(description = "The path to the output directory. Defaults to the current working directory.")
String getOutputDir();
@Option(description = "The name of the file containing the area definitions. Can be .list or .kml.")
String getSplitFile();
@Option(description = "The name of a GeoNames file to use for determining tile names. Typically cities15000.zip from http://download.geonames.org/export/dump/")
String getGeonamesFile();
@Option(description = "The name of a kml file to write out the areas to. This is in addition to areas.list (which is always written out).")
String getWriteKml();
@Option(description = "Enables the old area subdivision algorithm in case of compatibility problems. This requires lots of memory! Deprecated, will be removed in a future version.")
boolean isLegacyMode();
@Option(defaultValue = "120", description = "Displays the amount of memory used by the JVM every --status-freq seconds. Set =0 to disable.")
int getStatusFreq();
@Option(description = "Don't trim empty space off the edges of tiles.")
boolean isNoTrim();
@Option(defaultValue = "auto", description = "The maximum number of threads used by splitter.")
ThreadCount getMaxThreads();
@Option(defaultValue = "unset", description = "The output type, either pbf or xml.")
String getOutput();
}