Question on cliping

506
0
02-10-2011 10:01 AM
JessB
by
New Contributor
Hello,

Newbie GP question:

I'm attempting to calculate the total footage of all polyline features found within a polygon. Some of the polylines extend behind the polygons edge, I don't want to calculate any footage that goes beyond the polygon.

1) Am I correct in saying gp.SelectByLocation wouldn't work for the above scenario? (Because there isn't a way to clip the polyine's at the polygon boundary)

2) IF I have to clip_analyis to get proper footage, am I going down the right path of using a scratch workspace and storing the clip as a shapefile? I don't need to persist the clip result, I just need to loop through the result and get the footages. In testing the clip is redokulously slow going this route ...

Thanks in advance!

Jess
0 Kudos
0 Replies