Package org.mapsforge.poi.writer.model
Class PoiWriterConfiguration
- java.lang.Object
-
- org.mapsforge.poi.writer.model.PoiWriterConfiguration
-
public class PoiWriterConfiguration extends java.lang.ObjectConfiguration for the POI writer.
-
-
Constructor Summary
Constructors Constructor Description PoiWriterConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBboxConfiguration(java.lang.String bbox)Convenience method.voidaddOutputFile(java.lang.String file)Convenience method.org.mapsforge.core.model.BoundingBoxgetBboxConfiguration()java.lang.StringgetComment()intgetFileSpecificationVersion()java.io.FilegetOutputFile()java.lang.StringgetPreferredLanguage()java.net.URLgetTagMapping()java.lang.StringgetWriterVersion()booleanisAllTags()booleanisFilterCategories()booleanisGeoTags()booleanisNames()booleanisNormalize()booleanisProgressLogs()booleanisWays()voidloadTagMappingFile(java.lang.String file)Convenience method.voidsetAllTags(boolean allTags)voidsetBboxConfiguration(org.mapsforge.core.model.BoundingBox bboxConfiguration)voidsetComment(java.lang.String comment)voidsetFileSpecificationVersion(int fileSpecificationVersion)voidsetFilterCategories(boolean filterCategories)voidsetGeoTags(boolean geoTags)voidsetNames(boolean names)voidsetNormalize(boolean normalize)voidsetOutputFile(java.io.File outputFile)voidsetPreferredLanguage(java.lang.String preferredLanguage)voidsetProgressLogs(boolean progressLogs)voidsetWays(boolean ways)voidsetWriterVersion(java.lang.String writerVersion)
-
-
-
Method Detail
-
addBboxConfiguration
public void addBboxConfiguration(java.lang.String bbox)
Convenience method.- Parameters:
bbox- the bounding box specification in format minLat, minLon, maxLat, maxLon in exactly this order as degrees
-
addOutputFile
public void addOutputFile(java.lang.String file)
Convenience method.- Parameters:
file- the path to the output file
-
getBboxConfiguration
public org.mapsforge.core.model.BoundingBox getBboxConfiguration()
- Returns:
- the bounding box configuration
-
getComment
public java.lang.String getComment()
- Returns:
- the comment
-
getFileSpecificationVersion
public int getFileSpecificationVersion()
- Returns:
- the file specification version
-
getOutputFile
public java.io.File getOutputFile()
- Returns:
- the output file
-
getPreferredLanguage
public java.lang.String getPreferredLanguage()
- Returns:
- the preferred language
-
getTagMapping
public java.net.URL getTagMapping()
- Returns:
- the tag mapping
-
getWriterVersion
public java.lang.String 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
-
isWays
public boolean isWays()
- Returns:
- the ways
-
loadTagMappingFile
public void loadTagMappingFile(java.lang.String file)
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
public void setComment(java.lang.String comment)
- 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
public void setOutputFile(java.io.File outputFile)
- Parameters:
outputFile- the output file to set
-
setPreferredLanguage
public void setPreferredLanguage(java.lang.String preferredLanguage)
- Parameters:
preferredLanguage- the preferred language to set
-
setProgressLogs
public void setProgressLogs(boolean progressLogs)
- Parameters:
progressLogs- the progressLogs to set
-
setWays
public void setWays(boolean ways)
- Parameters:
ways- the ways to set
-
setWriterVersion
public void setWriterVersion(java.lang.String writerVersion)
- Parameters:
writerVersion- the writer version to set
-
-