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
_______________________________________________
postgis-users mailing list
postgis-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/postgis-users

Reply via email to