How to intelligently degrade or smooth GIS data (simplifying polygons)?

后端 未结 7 636
遇见更好的自我
遇见更好的自我 2020-12-07 10:42

I have detailed US county maps, from the TIGER LINE data sets. How might I sample, smooth, or degrade the data so that I get straighter, more boxy, less \"noisy\" shapes to

7条回答
  •  独厮守ぢ
    2020-12-07 10:57

    Answer by @unmounted is correct, but I would like to add one more suggestion.

    Always use function ST_SimplifyPreserveTopology instead of ST_Simplify in PostGIS. Both use the same underlying algorithm (Douglas-Peucker), but the former avoids any simplifications which would result in invalid geometries. For example, ST_Simplify may result in geometry which intersects itself.

提交回复
热议问题