Package com.massifmaps.vectortiles
Class TileFormat
java.lang.Object
com.massifmaps.vectortiles.TileFormat
Supported binary vector tile formats.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceThe accepted values of this constant namespace. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDetect the format from the tile data.static final intMapLibre Tile, the columnar format.static final intMapBox Vector Tile, the protobuf format. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TILE_FORMAT_AUTO
public static final int TILE_FORMAT_AUTODetect the format from the tile data. The two are unambiguous in practice, but set the
format explicitly when the source is known - it skips the check and cannot be fooled.- See Also:
-
TILE_FORMAT_MVT
public static final int TILE_FORMAT_MVTMapBox Vector Tile, the protobuf format.- See Also:
-
TILE_FORMAT_MLT
public static final int TILE_FORMAT_MLTMapLibre Tile, the columnar format. Smaller tiles and faster decoding, but the whole
tile is decoded at once - MVT decodes only the layers and attributes the style asks for.- See Also:
-
-
Constructor Details
-
TileFormat
public TileFormat()
-