setupVectorTilesContent

suspend fun setupVectorTilesContent(tableName: String, levelSet: LevelSet, displayName: String? = null, dataType: String = VECTOR_TILES, encoding: VectorTilesEncodingExtension? = null): GpkgContent

Create a tile pyramid for vector tiles. Mirrors setupTilesContent but for a non-raster data_type (typically "vector-tiles") and an arbitrary encoding extension — the user table schema is identical to raster tiles, only the BLOB payload format differs.

Pass encoding (e.g. VectorTilesMapboxExtension(geoPackage) for MVT, VectorTilesGeoJSONExtension(geoPackage) for GeoJSON tiles) to register the encoding row in gpkg_extensions. Cross-tool readers identify the BLOB encoding from that row.