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".
Page 1 / 1
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?