Sunday 20 September 2015

features - Merging overlapping line segments in ArcGIS Desktop?


I'm working with fish distribution data, and have combined several 24k habitat maps into a single layer that I'll call "critical habitat"



In merging multiple distributions into one dataset, there are line segments that overlap one another.


Part of my project involves measuring the stream mileage in this "critical habitat" data set, but because there are stream segments with overlapping geometry, I'm unable to simply calculate each stream length and sum the for the whole dataset. I believe doing so would 'double-count' in those areas where there is feature overlap.


Is there a way to merge these multiple overlapping features into one, or is there any way to accuracy calculate the total feature extent while avoiding any 'double-counting'?



Answer



As you have yet to clarify if your lines overlap exactly or just are parallel lines, I'll give you two ways of doing it.



  1. Exactly overlapping lines can be merged together with the Dissolve function. Make sure you uncheck the "Create multipart features" checkbox.

  2. If your lines are just close to each other you can buffer them to polygons (use a buffer distance so that they overlap), and then dissolve your polygons. Finally you use create centerlines. The last function is from the freely available extension ET Geowizards, and unless you have heaps of lines that you need to process at once, that should do it with the free version. This will cause you to lose some precision in your data, but it's a workaround.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...