NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3907 most downloaded on npm
Slice GeoJSON data into vector tiles efficiently
Last release 4 days ago
30 Sep 2026
Ships unpredictably
gaps range from 3 weeks to 5.6 years
Some releases are documented
notes for 20 of 34 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
34 releases · first in 2014
Fixed a v5 regression with GeoJSON polygons that cover the whole world (e.g. latitudes past -+85) rendering incorrectly.
Fixed a v5 regression with GeoJSON polygons that cover the whole world (e.g. latitudes past -+85) rendering incorrectly.
Fix a v5 regression where longitudes past 360 or -360 were processed incorrectly.
Fix a v5 regression where longitudes past 360 or -360 were processed incorrectly.
Fix simplification weight overflow that dropped vertices entirely on large extent * 2^maxZoom spans (including gl-js's default 8192 / 18). Affected ge
One column per quarter.
extent * 2^maxZoom spans (including gl-js's default 8192 / 18). Affected geometry is again identical to v4.mapbox_clip_start / mapbox_clip_end were an exact numerator over a truncated integer denominator, a systematic ~1e-8 relative error. The full-precision line length is now carried alongside the metrics instead of read back from integer storage.mapbox_clip_feature_len and mapbox_clip_seg_len (lengths in tile units) to feature properties when lineMetrics: true, matching geojson-vt-cpp behaviorFix a coordinate rounding change in v5.0.0 that could shift geometry by one pixel at maxZoom. Tile output at maxZoom now matches v4 again, with no imp
Fix a coordinate rounding change in v5.0.0 that could shift geometry by one pixel at maxZoom. Tile output at maxZoom now matches v4 again, with no impact on performance.
A rework of geojson-vt's internal data layout that cuts memory use roughly by 2–4 times on large datasets, with the same tile output.
A rework of geojson-vt's internal data layout that cuts memory use roughly by 2–4 times on large datasets, with the same tile output.
geojsonvt(data, options) with new GeoJSONVT(data, options). The browser global is renamed from geojsonvt to GeoJSONVT.getTile returns {features} only. Internal fields like numPoints, source, x, y, z are no longer exposed on the result.getTileRaw(z, x, y) returns the tile as stored: flat [x, y, x, y, ...] typed arrays with no per-coordinate objects. Zero-copy, read-only, and much cheaper than getTile for renderers that can consume flat coordinates.@types/geojson-vt if you have it installed.Fix an edge case where lines where sometimes clipped incorrectly when points coincided with tile edges (by @DeZhao-Zhang ) #161
Fix an edge case where lines where sometimes clipped incorrectly when points coincided with tile edges (by @DeZhao-Zhang) #161
Fix handling of features with empty coordinates — treat them the same way as features with null geometry (as per the spec).
Fix handling of features with empty coordinates — treat them the same way as features with null geometry (as per the spec).
Fix issues in some ESM setups because of an incorrect exports field in package.json .
Fix issues in some ESM setups because of an incorrect exports field in package.json.
⚠️ Breaking: drop CommonJS entry point and switch to ESM only for Node & bundlers + UMD bundle for browsers. #180
getTile arguments as number by @andrewharvey in #128Nothing published for this version
Add generateId option for automatically filling feature id property (populating it with the index of the feature in a feature collection).
generateId option for automatically filling feature id property (populating it with the index of the feature in a feature collection).promoteId option for filling feature id with a value from a specific feature property.Fix handling of features with id of 0 . #107
0. #107Fixed a bug which caused a "max call stack size" error on certain degenerate input. #105
Fixed a bug which caused a "max call stack size" error on certain degenerate input. #105
Fixed a bug with lineMetrics: true and MultiLineString geometries where only the first line was processed.
Fixed a bug with lineMetrics: true and MultiLineString geometries where only the first line was processed.
Fixed inconsistent clipping of features on tile boundary when buffer = 0. #102
Fixed inconsistent clipping of features on tile boundary when buffer = 0. #102
Added experimental lineMetrics: true option that adds mapbox_clip_start and mapbox_clip_end properties to all line features in the generated tiles, in
lineMetrics: true option that adds mapbox_clip_start and mapbox_clip_end properties to all line features in the generated tiles, indicating which part of the original full line each feature represents.import geojsonvt from 'geojson-vt' in supported environments).Massively improved performance. Index now takes ~2x less memory and generating tiles is overall 20% to 100% faster (with bigger gains on heavier datas
zoom higher than 24.Fixed support of feature id property.
id property.Improved tiling algorithm to avoid redundant clipping when tiles are requested in an empty area.
Fixed ring winding order for polygons and multipolygons in accordance with vector tile specification 2.0.
Fixed a bug where getTile would initially return null when requesting a child of a solid clipped square tile.
getTile would initially return null when requesting a child of a solid clipped square tile.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →