[postgis-devel] change suggestion to a wiki page

G. Allegri giohappy at gmail.com
Mon Oct 30 13:24:31 PDT 2017


Hi,
I posted this to postgis-users but probably it's better here.

Reading the suggested SQL in
https://trac.osgeo.org/postgis/wiki/UsersWikiSimplifyWithTopologyExt to
generate the simplified edges geoms I think a minor change would provide
more robust results

In  Phase 3:

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

could 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 (is it allowed to
registered members?).

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


More information about the postgis-devel mailing list