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
(adding buffer-size="4" by hand into XML fixed the issue, but this should be done in yaml and with proper buffer size)
Seems that mapnik-generated tiles have bigger geometries than the allowed buffer size. I suspect this is the reason for lots of vertical & horizontal lines when drawing non-closed lines:
Shows "Geometry exceeds allowed extent, reduce your vector tile buffer size" warning in the browser console.
nyurik
changed the title
Geometry exceeds allowed extent, reduce your vector tile buffer size
Missing "buffer-size" on some layers cause web-gl rendering issues
Mar 28, 2017
Ok, figured it out - some layers simply do not have "buffer-size" parameter, thus causing maximum value to be supplied. This in turn causes the data to exceed (probably off by one) the value that's allowed in WebGL. Adding buffer-size="4" directly to the boundary XML fixed the problem. @pnorman not sure what the proper value should be for each layer.
(adding buffer-size="4" by hand into XML fixed the issue, but this should be done in yaml and with proper buffer size)
Seems that mapnik-generated tiles have bigger geometries than the allowed buffer size. I suspect this is the reason for lots of vertical & horizontal lines when drawing non-closed lines:
Shows "Geometry exceeds allowed extent, reduce your vector tile buffer size" warning in the browser console.
Similar issue with some good discussion
The text was updated successfully, but these errors were encountered: