t-rex-tileserver / t-rex

t-rex is a vector tile server specialized on publishing MVT tiles from your own data
https://t-rex.tileserver.ch/
MIT License
556 stars 69 forks source link

[reminder] PostGIS v3.2: possible change in ST_AsMVTGeom() #266

Open tobwen opened 3 years ago

tobwen commented 3 years ago

What?

Starting with PostGIS v3.2, ST_AsMVTGeom() preserves more of the original geometry's details at a scale close to the target extent. If you need previous simplifying behavior, you need to simplify the geometry in advance.

But this is still in discussion as of writing (2021-10-01), since there might be performance problems.

References

https://git.osgeo.org/gitea/postgis/postgis/raw/tag/3.2.0alpha1/NEWS https://trac.osgeo.org/postgis/ticket/4149 https://github.com/postgis/postgis/pull/463

pka commented 3 years ago

Support for using ST_AsMVTGeom is a long-term plan, but it requires a fundamental change in the t-rex architecture. Currently t-rex requests raw geometries from providers and converts them to MVTs in a separate step.