5

I need to create a route (line) feature class from another feature class that contains multiple lines making up the same route.

pic 1 shows the original feature class with the multiple lines.

enter image description here

pic 2 shows the 10 ft buffer I created around the lines. Preferably, the lines that fall within a buffer would become a single line (route).

enter image description here

I've been working on this for several days, and so far none of the tools/methods I've used have yielded the appropriate results. I've tried dissolve, merge, and generalize. I tried creating a center-line from the buffers; that also didn't yield good results. Manual editing is out of the question as this is a network for the entire nation and it would take too long.

The best result so far I've gotten with a tool called Integrate. Even so, it's not completely accurate. (see pictures bellow)

before Integrate:

enter image description here

after Integrate:

enter image description here

As you can see, much better! Many of the lines have been collapsed into a single line. However, it's still not as accurate as I would hope.

1
  • What kind of accuracy requirements are you looking at? We've got a few questions if you search for "simplify network" that examine this task. They approach from different softwares (most I see come from a QGIS/PostGIS background), but several give a lot of info on the issues faced. Also what is the data source? I know some things, like OSM, have had tools created (or alternate data) to deal with this kind of issue.
    – Chris W
    Mar 21, 2015 at 21:02

3 Answers 3

1

It requires and Advanced License (and according to the help 'with ArcInfo Workstation installed') but there is a tool called Collapse Dual Lines To Centerline in the Generalization tools that essentially does what you want. It does have similar issues in terms of complicated intersections (note the 'how it works' link at the top).

To some degree any automated tool is going to have issues like those shown in your screenshots because of the complex nature of intersections and dual carriageways and such.

0

Unfortunately, the "Collapse Dual Lines to Centerline" tool only accommodates two parallel lines with open ends.

Instead, create a function that returns a parallel line from three parameters, a line object, a left or right, and a distance. The returned line is parallel to the left or right of the given line a distance of the given distance.

Have the function take each node of the given line and compute the center of a tangent circle (90 degrees to left or right of the current bearing) and use the center of the circle as the node's parallel point.

After the function returns the new line, reverse order the the nodes of the returned parallel line if its drawn direction does not match the given line.

For street center lines, the original line must accommodate extensions to intersections.

0

Integrate tools can do this task. I tried it to make integration for OSM lines to get centerlines of streets

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.