Class MapInfo

java.lang.Object
org.oscim.tiling.source.mapfile.MapInfo
Direct Known Subclasses:
MapFileInfo

public class MapInfo extends Object
Contains the immutable metadata of a map file.
  • Field Details

    • boundingBox

      public final BoundingBox boundingBox
      The bounding box of the map file.
    • comment

      public final String comment
      The comment field of the map file (may be null).
    • createdBy

      public final String createdBy
      The created by field of the map file (may be null).
    • fileSize

      public final long fileSize
      The size of the map file, measured in bytes.
    • fileVersion

      public final int fileVersion
      The file version number of the map file.
    • languagesPreference

      public final String languagesPreference
      The preferred language(s) separated with ',' for names as defined in ISO 639-1 or ISO 639-2 (may be null).
    • mapCenter

      public final GeoPoint mapCenter
      The center point of the map file.
    • mapDate

      public final long mapDate
      The date of the map data in milliseconds since January 1, 1970.
    • projectionName

      public final String projectionName
      The name of the projection used in the map file.
    • startPosition

      public final GeoPoint startPosition
      The map start position from the file header (may be null).
    • startZoomLevel

      public final Byte startZoomLevel
      The map start zoom level from the file header (may be null).
    • zoomLevel

      public final int[] zoomLevel
      Zoomlevels provided by this Database, if null then any zoomlevel can be queried.
  • Constructor Details

    • MapInfo

      public MapInfo(BoundingBox bbox, Byte zoom, GeoPoint start, String projection, long date, long size, int version, String language, String comment, String createdBy, int[] zoomLevel)
      Parameters:
      bbox - ...
      zoom - ...
      start - ...
      projection - ...
      date - ...
      size - ...
      version - ...
      language - ...
      comment - ...
      createdBy - ...
      zoomLevel - TODO