Class PoiWriterConfiguration

java.lang.Object
org.mapsforge.poi.writer.model.PoiWriterConfiguration

public class PoiWriterConfiguration extends Object
Configuration for the POI writer.
  • Constructor Details

    • PoiWriterConfiguration

      public PoiWriterConfiguration()
  • Method Details

    • addBboxConfiguration

      public void addBboxConfiguration(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(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 String getComment()
      Returns:
      the comment
    • getFileSpecificationVersion

      public int getFileSpecificationVersion()
      Returns:
      the file specification version
    • getOutputFile

      public File getOutputFile()
      Returns:
      the output file
    • getPreferredLanguage

      public String getPreferredLanguage()
      Returns:
      the preferred language
    • getTagMapping

      public URL getTagMapping()
      Returns:
      the tag mapping
    • getWriterVersion

      public 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
    • isWayFiltering

      public boolean isWayFiltering()
      Returns:
      the way filtering
    • isWays

      public boolean isWays()
      Returns:
      the ways
    • loadTagMappingFile

      public void loadTagMappingFile(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(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(File outputFile)
      Parameters:
      outputFile - the output file to set
    • setPreferredLanguage

      public void setPreferredLanguage(String preferredLanguage)
      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

      public void setWriterVersion(String writerVersion)
      Parameters:
      writerVersion - the writer version to set