[Qgis-developer] Postgresql provider - Use ST_RemoveRepeatedPoints for server-side simplification

kimaidou kimaidou at gmail.com
Fri Oct 30 03:50:55 PDT 2015

Hi all

Following the blog post written by Paul Ramsey [1], I decided to propose
using PostGIS 2.2 ST_RemoveRepeatedPoints function instead of ST_SnapToGrid
to do the server side simplification

We could also investigate other new features, such as the 3rd parameter for
ST_Simplify, but we use St_SimplifyPreserveTopology in QGIS, and I do not
think this function has got this new parameter too.

I made a pull request : see [2]
Please help me to test and review it

[1] http://blog.cartodb.com/smaller-faster/
[2] https://github.com/qgis/QGIS/pull/2410
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20151030/6cfa5b55/attachment.html>

More information about the Qgis-developer mailing list