Package org.mapsforge.poi.writer.model
Class PoiWriterConfiguration
java.lang.Object
org.mapsforge.poi.writer.model.PoiWriterConfiguration
Configuration for the POI writer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBboxConfiguration(String bbox) Convenience method.voidaddOutputFile(String file) Convenience method.org.mapsforge.core.model.BoundingBoxintbooleanbooleanbooleanbooleanisNames()booleanbooleanbooleanbooleanisWays()voidloadTagMappingFile(String file) Convenience method.voidsetAllTags(boolean allTags) voidsetBboxConfiguration(org.mapsforge.core.model.BoundingBox bboxConfiguration) voidsetComment(String comment) voidsetFileSpecificationVersion(int fileSpecificationVersion) voidsetFilterCategories(boolean filterCategories) voidsetGeoTags(boolean geoTags) voidsetNames(boolean names) voidsetNormalize(boolean normalize) voidsetOutputFile(File outputFile) voidsetPreferredLanguage(String preferredLanguage) voidsetProgressLogs(boolean progressLogs) voidsetWayFiltering(boolean wayFiltering) voidsetWays(boolean ways) voidsetWriterVersion(String writerVersion)
-
Constructor Details
-
PoiWriterConfiguration
public PoiWriterConfiguration()
-
-
Method Details
-
addBboxConfiguration
Convenience method.- Parameters:
bbox- the bounding box specification in format minLat, minLon, maxLat, maxLon in exactly this order as degrees
-
addOutputFile
Convenience method.- Parameters:
file- the path to the output file
-
getBboxConfiguration
public org.mapsforge.core.model.BoundingBox getBboxConfiguration()- Returns:
- the bounding box configuration
-
getComment
- Returns:
- the comment
-
getFileSpecificationVersion
public int getFileSpecificationVersion()- Returns:
- the file specification version
-
getOutputFile
- Returns:
- the output file
-
getPreferredLanguage
- Returns:
- the preferred language
-
getTagMapping
- Returns:
- the tag mapping
-
getWriterVersion
- Returns:
- the writer version
-
isAllTags
public boolean isAllTags()- Returns:
- the all tags
-
isFilterCategories
public boolean isFilterCategories()- Returns:
- the filter categories
-
isGeoTags
public boolean isGeoTags()- Returns:
- if add additional tags to data, to resolve geolocation
-
isNames
public boolean isNames()- Returns:
- the names
-
isNormalize
public boolean isNormalize()- Returns:
- the normalize
-
isProgressLogs
public boolean isProgressLogs()- Returns:
- the progressLogs
-
isWayFiltering
public boolean isWayFiltering()- Returns:
- the way filtering
-
isWays
public boolean isWays()- Returns:
- the ways
-
loadTagMappingFile
Convenience method.- Parameters:
file- the path to the tag mapping
-
setAllTags
public void setAllTags(boolean allTags) - Parameters:
allTags- the all tags to set
-
setBboxConfiguration
public void setBboxConfiguration(org.mapsforge.core.model.BoundingBox bboxConfiguration) - Parameters:
bboxConfiguration- the bounding box configuration to set
-
setComment
- Parameters:
comment- the comment to set
-
setFileSpecificationVersion
public void setFileSpecificationVersion(int fileSpecificationVersion) - Parameters:
fileSpecificationVersion- the file specification version to set
-
setFilterCategories
public void setFilterCategories(boolean filterCategories) - Parameters:
filterCategories- the filter categories to set
-
setGeoTags
public void setGeoTags(boolean geoTags) - Parameters:
geoTags- if add additional tags to data, to resolve geolocation
-
setNames
public void setNames(boolean names) - Parameters:
names- the names to set
-
setNormalize
public void setNormalize(boolean normalize) - Parameters:
normalize- the normalize to set
-
setOutputFile
- Parameters:
outputFile- the output file to set
-
setPreferredLanguage
- Parameters:
preferredLanguage- the preferred language to set
-
setProgressLogs
public void setProgressLogs(boolean progressLogs) - Parameters:
progressLogs- the progressLogs to set
-
setWayFiltering
public void setWayFiltering(boolean wayFiltering) - Parameters:
wayFiltering- the way filtering to set
-
setWays
public void setWays(boolean ways) - Parameters:
ways- the ways to set
-
setWriterVersion
- Parameters:
writerVersion- the writer version to set
-