Package org.oscim.tiling.source.mapfile
Class MapInfo
java.lang.Object
org.oscim.tiling.source.mapfile.MapInfo
- Direct Known Subclasses:
MapFileInfo
Contains the immutable metadata of a map file.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal BoundingBoxThe bounding box of the map file.final StringThe comment field of the map file (may be null).final StringThe created by field of the map file (may be null).final longThe size of the map file, measured in bytes.final intThe file version number of the map file.final StringThe preferred language(s) separated with ',' for names as defined in ISO 639-1 or ISO 639-2 (may be null).final GeoPointThe center point of the map file.final longThe date of the map data in milliseconds since January 1, 1970.final StringThe name of the projection used in the map file.final GeoPointThe map start position from the file header (may be null).final ByteThe map start zoom level from the file header (may be null).final int[]Zoomlevels provided by this Database, if null then any zoomlevel can be queried. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
boundingBox
The bounding box of the map file. -
comment
The comment field of the map file (may be null). -
createdBy
The created by field of the map file (may be null). -
fileSize
public final long fileSizeThe size of the map file, measured in bytes. -
fileVersion
public final int fileVersionThe file version number of the map file. -
languagesPreference
The preferred language(s) separated with ',' for names as defined in ISO 639-1 or ISO 639-2 (may be null). -
mapCenter
The center point of the map file. -
mapDate
public final long mapDateThe date of the map data in milliseconds since January 1, 1970. -
projectionName
The name of the projection used in the map file. -
startPosition
The map start position from the file header (may be null). -
startZoomLevel
The map start zoom level from the file header (may be null). -
zoomLevel
public final int[] zoomLevelZoomlevels 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
-