0

I got hydrography data where rivers are represented by polylines of their borders : enter image description here

I would like to symbolize these rivers with blue filled polygons, so I want to convert into a polygon layer. Does anyone have an idea of how to do it?

In the feature class attributes, there's only the name of the river in common between both borders. Polylines are not closed as the image above, so a simple Feature To Polygon doesn't work.

2 Answers 2

4

You need to edit the ends of the polylines so that they are closed. Then, you can run the Feature to Polygon tool and it should give you the result you are looking for.

1
  • I agree with you but I forgot to precise I have thousands of rivers to treat, so I'm looking for an automatic method.
    – superrache
    Commented Dec 2, 2016 at 11:03
2

This script, from Geonet.esri, connected the Line Dangles. You need to set the Search Tolerance in the script before running. Connecting Discontinuous Line Segmentsenter image description here

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.