0

I have a some line and polygon features which consist of too many points, so I tried to simplify them.

I found the "Ramer–Douglas–Peucker algorithm".

I think it will work well for a single feature (line or polygon), but in my case, the feature are connected with others like this:

enter image description here

Note the point inside the red circle is the intersection point of the two line. This point must not be removed during the simplify process.

So I wonder if there is any out of box solution?

BTW, we have ArcMap Desktop 10. But we prefer to make it by program rather than manually since there are almost 20+ layers.

3
  • If you are looking for a detailed answer, please mention which software you are working on. – radouxju Jun 16 '14 at 11:09
  • I update it. :) – giser Jun 16 '14 at 11:24
  • try mapshaper.org – neogeomat Jun 16 '14 at 12:05
2

The more straightforward workaround consists in splitting your lines at the intersections before running the simplify tools. The DP algorithm does not move end points.

After the simplification, you can use a dissolve tool in order to recover your original line network.

EDIT: With ArcGIS, the most simple method is to use "feature to line" if you have ArcInfo licence.

2
  • For splitting the line, I know how to split it for a single line, but I am not sure if it is possible to split features automatically in the whole layer. – giser Jun 16 '14 at 11:35
  • If you run Intersect with output type points, you can then use Split Line At Point to split all lines at all intersections. – Erica Jun 16 '14 at 11:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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