MvtLayer

data class MvtLayer(val name: String, val version: Int, val extent: Int, val keys: List<String>, val values: List<Any?>, val features: List<MvtFeature>)

One named layer inside an MVT tile (e.g. water, transportation, building).

Properties are interned: keys / values are layer-wide dictionaries, MvtFeature.tags is the k, v, k, v, ... index pair stream. Use MvtFeature.toProperties to inflate.

extent is the tile-local coordinate range. Standard is 4096; spec allows powers of two up to 16384. Decoded geometry is in 0, extent with Y increasing downward.

Constructors

Link copied to clipboard
constructor(name: String, version: Int, extent: Int, keys: List<String>, values: List<Any?>, features: List<MvtFeature>)

Properties

Link copied to clipboard
val extent: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val values: List<Any?>
Link copied to clipboard