So, does anyone have a suggestion on how I can strip individual streets from a field containing something like MAIN ST & 1ST ST & B ST ?
array = yourstring.split("&") firststreetname = array[0] secondstreetname = array[1] thirdstreetname = array[2]
for i in range(0,len(array)) streetname = array
I just wanted to point out that you absolutely can run the intersection tool with only one input, select point as output type, and get the intersections.
so how exactly would I be able to build a point shapefile of all the intersections in an entire city without selecting the cul-d-sacs as points as well? Only using the Real Nodes that is no End Nodes.
so how exactly would I be able to build a point shapefile of all the intersections in an entire city without selecting the cul-d-sacs as points as well? Only using the Real Nodes that is no End Nodes.
def Output(FirstPoint): FPX = round(float(FirstPoint.split() [0]), 4) FPY = round(float(FirstPoint.split() [1]), 4) return "{%(FX)012.4f}{%(FY)012.4f}" % {'FX': FPX, 'FY': FPY}
so how exactly would I be able to build a point shapefile of all the intersections in an entire city without selecting the cul-d-sacs as points as well? Only using the Real Nodes that is no End Nodes.