MvtFeature

data class MvtFeature(val id: Long, val type: MvtGeometryType, val tags: IntArray, val geometry: IntArray)

One feature. geometry is the raw MVT command stream (interleaved CommandIntegers and ParameterIntegers, all as packed uint32s) — pass to MvtGeometry to materialise into lat/lon points/lines/rings. tags holds keyIdx, valueIdx, ... pairs that index into the parent MvtLayer's MvtLayer.keys / MvtLayer.values.

Constructors

Link copied to clipboard
constructor(id: Long, type: MvtGeometryType, tags: IntArray, geometry: IntArray)

Properties

Link copied to clipboard
Link copied to clipboard
val id: Long
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Inflate tags against the parent layer's key/value dictionaries.