AnsweredAssumed Answered

Validating Road Data with Python

Question asked by BentonCoRoad on Mar 28, 2017

I have a very basic knowledge of Python coding but I understand the power of it.

What I am trying to find is if my road layer has gaps or overlaps in the milepost attribute data.

My rules are:

1. a road and all of its segments has the same RoadLog number or ID

2. the milepost should be fluid or no gaps or overlaps, mp 0-1, mp 1-2, mp 2-3 for example for consecutive road segments

 

how do you loop through the values of the two fields? then if the RoadLog numbers are the same are there a matching record and so on.

 

Thanks for any help

Outcomes