Arcgis Pro: Create polygons from outlines of unclosed lines

1335
2
10-05-2019 10:25 AM
AB7
by
New Contributor

First a disclaimer: I have very few experience with Arcgis, i usually use Qgis and only recently started using Arcgis Pro.

I have a River dataset from the Natural Earth Site, then made its symbology thickness vary depending on its "strokeweig" attribute. Exemple Map

My goal is relatively simple: Creating a polygon that follows the outlines of this river line with variable thickness.

At first i saw two main ways of doing it:

1) Simply creating a polygon and drawing it (using the Freehand tool) so that it follows the outline of the rivers, however this is time consuming, and the fact the size of the river change when zooming prevents accurate drawing.

2) Exporting the river alone as a raster, then creating a polygon out of that raster, however I would have to reasign coordinates for this new polygon, which would bring some inacuracies.

-- Most of the Internet tutorials i saw recommended using the "Construct Polygon" tool, however it doesn't work on unclosed lines, and it only creates polygons out of the few rivers that join back. (Exemple here: https://i.imgur.com/CrTByTD.png https://i.imgur.com/ipt5hK8.png )

So I have a question, is there a way to directly (as automatically as possible) create a polygon out of the shape/outlines of these river line (with their symbology) without either having to draw polygons by hand or exporting it as a Raster image.

Thanks for your answers.

0 Kudos
2 Replies
MervynLotter
Occasional Contributor III

I think you would find the Buffer tool can do this for you. https://pro.arcgis.com/en/pro-app/tool-reference/analysis/buffer.htm The Buffer tool has an option to get the required buffer distance for each feature from an attribute field. You would first need to add a new field to your attribute table that will store the required buffer distance for each of your river orders (what you call the"strokeweig" attribute). 

I dont know how familiar you are will GIS operations in Pro so I will just add that the process I would follow would be:

1. Add a new numeric field to your attribute table

2. Then use the Select by Attributes tool to select one of your unique river order/strokeweig fields

3. Then with tool still open, click on the Open Another Tool button in top-right corner of geoprocessing tool to open a new tool without loosing any changes set in the Select by Attributes tool. 

4. Search for Calculate Field, supply your attribute table as input then provide your required distance in the expression field. 

5. Once done, click on the Open Another Tool to go back to Select by Attribute tool to modify the expression to select a new river order, then go back to Calculate Field to provide new distance values, etc.

6. Then when you run your buffer just point it to the new distance filed. 

AB7
by
New Contributor

Thanks a lot!


0 Kudos