tilestrata-postgismvt icon indicating copy to clipboard operation
tilestrata-postgismvt copied to clipboard

Data simplification

Open nbulaj opened this issue 6 years ago • 1 comments

Hi. Thanks for this lib, it's really interesting and helpful

Btw, what about some data simplification ? Currently I have more than 300 000 features in my PostGIS table and when I trying to serve this data with tilestrata-postgismvt - it sends for about ~35 mb of data (all possible features) without any simplification based on zoom or whatever else. You can see it on the attached screenshoot

screenshot

I think it will be great to add some option (like simplify: true or more smart one) and refactor SQL query to simplify (reduce or union) the features based on zoom for example. What do you think?

nbulaj avatar Nov 09 '17 08:11 nbulaj