Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buffer size for vector tiles is hard-coded #87

Closed
YenTheFirst opened this issue Feb 22, 2017 · 1 comment
Closed

Buffer size for vector tiles is hard-coded #87

YenTheFirst opened this issue Feb 22, 2017 · 1 comment

Comments

@YenTheFirst
Copy link

may be related to #57.

Vector tiles are currently generated with a hard-coded buffer size of 256.

mapbox-gl-js has known issues with handling tiles that include geometry well past the extent
(such as mapbox/mapbox-gl-js#2854, mapbox/mapbox-gl-js#2676)

The suggested workaround is to use a smaller buffer size. However, this currently cannot be done without forking tilelive-bridge.

@springmeyer
Copy link
Contributor

A smaller buffer size can be set by setting it at the layer level in the Mapnik XML like

<Layer name="name" buffer-size="5">

See also #94

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants