[postgis-users] minor change to UsersWikiSimplifyWithTopologyExt

G. Allegri giohappy at gmail.com
Mon Oct 30 08:42:53 PDT 2017


Hi,
reading the suggested SQL to generate the simplified edges geoms I thinkg a
minor change would provide more robust resolults:

Phase 3:

>select ST_Collect(st_simplifyPreserveTopology(geom, 10000)) as geom

should be canged to:

>select ST_SimplifyPreserveTopology(ST_Collect(geom), 10000)) as geom

this guarantees that topology is preserved between edge_data geometries.
This solved various issues I obtained while applying the original SQL to
some intricated geometries.

If you agree on this I can modify the wiki page directly.

All the best,
giovanni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20171030/db2f176b/attachment.html>


More information about the postgis-users mailing list