3

I have some polygons of a country, states, districts, communities and I want to simplify the geometry.

I already simplified the geometry of each layer but afterwards of course it doesnt fit with the geometry of the higher or lower administrative level.

I tried https://trac.osgeo.org/postgis/wiki/UsersWikiSimplifyPreserveTopology and mapshaper.org.

Any ideas?

1
  • Could you add some screenshots to show how your simplified layers do not fit the other administrative levels? The GRASS tool v.generalize is quite a powerful tool in simplifying whilst maintaining topology as asked in this post which might help.
    – Joseph
    Commented Jan 7, 2016 at 14:59

4 Answers 4

5

The best approach I guess is using real topology data.

Then you can share the edges between data sets and simplify as much as you want.

Here is an example from the man behind the topology implimentation in PostGIS.

http://strk.keybit.net/blog/2013/03/08/on-the-fly-simplification-of-topologically-defined-geometries/

2

This can be achieved with the integrate tool in ArcGIS. Unfortunately, it is not available as-is in qgis/postgis (see this question) but a workaround exists with GRASS: See HERE !

1

Martin Davis has done the foundation work and the PostGIS team have now implemented this capability.

https://lin-ear-th-inking.blogspot.com/2023/03/simplifying-polygonal-coverages-with-jts.html and https://postgis.net/docs/ST_CoverageSimplify.html

0

Starting from QGIS 3.36 there are some algorithms on vector coverages

https://www.qgis.org/it/site/forusers/visualchangelog336/index.html#feature-vector-coverage-algorithms

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.