You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both vector tile libraries are doing extra work that is not representative of what Maplibre needs.
Maplibre needs:
"Lightweight layers": decoded layers that store offsets to features and only decode features when accessed by layer.feature(idx).
"Lightweight features": decoded features containing just an id, extent, and properties only
Then, as needed, Maplibre will call a function on those features called feature.loadGeometry() to on-demand, fetch a two-dimensional Array<Array<Point>> representation of geometries.
Rather what the Java vector tile libraries do are:
Context
The Java decoding benchmark compares the speed of MLT decoding against two different libraries implementing https://github.com/mapbox/vector-tile-spec:
Problem
Both vector tile libraries are doing extra work that is not representative of what Maplibre needs.
Maplibre needs:
layer.feature(idx)
.id
,extent
, andproperties
onlyfeature.loadGeometry()
to on-demand, fetch a two-dimensionalArray<Array<Point>>
representation of geometries.Rather what the Java vector tile libraries do are:
ElectronicChartCentre/java-vector-tile
sebasbaumh/mapbox-vector-tile-java
Solution
We need to correct the Java benchmarks to compare against MVT decoding that is representative of what Maplibre expects.
The text was updated successfully, but these errors were encountered: