Skip to main content
Solved

line direction

  • January 14, 2015
  • 1 reply
  • 24 views

Forum|alt.badge.img
I am trying to create a QC tool to verify the line direction of sanitary sewer lines that are imported to GIS from an ACAD drawing.  I am using a CoordinateExtractor to extract the x&y values for each end of the line and I am then using a matcher to compare the x and y values and tell me where I have duplicate or overlapping points.  I need to be able to verify that I have only one "0" index value at each of the point locations.  I can have any number of lines that converge at one point and only one of those should have an index of "0".  The matcher assigns a match id for each x,y value that matches.  For instance I have three lines that converge on one point and all the points that are created have a match id of "0" and at another location I have two lines that converge at a second point and the match id is "1".

Best answer by gio

Hi,

 

 

Though there are different ways to do this, i think using a TopologyBuilder has some advatages. For one it has to-from attributes neatly assign.

 

 

Either extract endpoints and make topology with lines (in case you have crossing lines) or just create topoloogy using the lines. Nodes have their own output.

 

Doing grouping (on some sewer_ID) and merging on the to-from attributes will yield the info you need.

 

 

.."duplicate or overlapping points" ..i think those are the same...;) Or did you mean crossing lines?
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • Best Answer
  • January 14, 2015
Hi,

 

 

Though there are different ways to do this, i think using a TopologyBuilder has some advatages. For one it has to-from attributes neatly assign.

 

 

Either extract endpoints and make topology with lines (in case you have crossing lines) or just create topoloogy using the lines. Nodes have their own output.

 

Doing grouping (on some sewer_ID) and merging on the to-from attributes will yield the info you need.

 

 

.."duplicate or overlapping points" ..i think those are the same...;) Or did you mean crossing lines?