vtshaver icon indicating copy to clipboard operation
vtshaver copied to clipboard

Remove unneeded vector tile layers, features, and properties based on particular style

Results 20 vtshaver issues
Sort by recently updated
recently updated
newest added

- Fixes #60 - Adds libnu 1.8 as mason dependency and updates build accordingly - Removes vendored source code of libnu make test fails with `missing symbol called` error on...

## Context https://github.com/mapbox/vtshaver/pull/58 The above PR added a vendored nunicode to vtshaver build. There may be a simpler way to provide the necessary files to vtshaver, such as adding nunicode...

The `mason-js` dependency is unmaintained and frozen, but still currently used inside of `vtshaver`. It has been unmaintained since 2018. For a while it seemed like `mason-js` would again see...

A CLI tool that runs this module over an entire tileset in an mbtiles file would be a useful way of exploring optimizations and optimizing entire outputs from tile generators...

This adds a new test to assert that setting a style layer with `"visibility": "none"` doesn't result in the layer being dropped from the style. cc @ClareTrainor

Updates the node-cpp-skel badge to use the github hosted uri @springmeyer

I ended up getting the install from NPM to work with Node 10. If you'd like, you can close this issue. ------ Error when installing from NPM: ``` > npm...

https://github.com/mapbox/vtshaver/pull/20 landed the ability to have vtshaver automatically remove feature properties that are not needed for a given style. However there are use cases (like querying) where some users might...

We can likely use `isExpressionFilter` at https://github.com/mapbox/vtshaver/blob/b0d8eb414eda21f6735228d144327e4f79b9e87d/lib/styleToFilters.js#L82-L112 to clean up that code and avoid the commented else block. This is getting exposed at https://github.com/mapbox/mapbox-gl-js/pull/9530

```c++ napi_get_property_names(_env, _value, &result); ``` erroneously returns `Number` type when property name has only digit literals e.g '123' This has been fixed in node >=12 (tested 12.16.1, 13.12.0) /cc @springmeyer

bug
dependencies