Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have lines on a map showing the most direct way from point data to the coastline (polygon).

I would like to group the lines if they are close to each other by a distance that I can set.

Where the clusters are, I'd like them all to group together when they get close enough to each other to become one line.

What would be the best way to do this?

Many thanks!!

enter image description here

share|improve this question
You should have enough reputation now. I was in your same shoes less than a month ago believe it or not. – Rayner Oct 4 '12 at 18:56
Thanks :D You're a star! – Tetra Oct 4 '12 at 18:59

You could try Dissolve (Data Management) tool.

Integrate (Data Management) also shows promise, although I can't find anything about it under ArcGIS 10. Only under 9.3.1.

share|improve this answer

Another tool which might be useful to you is the Linear Directional Mean tool which "Identifies the mean direction, length, and geographic center for a set of lines."

It will not identify the clusters of lines, however. You may have to select these out manually first.

In your example, I see three major clusters of lines - top, middle, and bottom (with an outlier above the top cluster. If the start points are near the coast and the end points are near the middle of the raster, I don't know how you could programmatically select the lines in the cluster by distance.

The reason for this is because there are lines in the top and middle cluster which have endpoints which are closer than the two furthest lines in the middle cluster.

To identify clusters, you may need to look at the start points and endpoints of the lines. If the start points are close together, this may identify the cluster. You may want to look at the Spatial Statistics toolbox to help you identify these areas.

Both the Linear Directional Mean and Spatial Statistics toolbox are available for all license levels of ArcGIS.

share|improve this answer
I shall investigate! Many thanks! – Tetra Oct 5 '12 at 9:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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