I need to select from a feature class of streets, just those streets that are within a given distance to the edge (shared edge) of city boundary polygons. Does anyone have an idea how I may go about this? (ArcGIS desktop v 10.0 sp5, workstation license)
Solved! Go to Solution.
If your boundary polygons are topologically correct (i.e. if the boundaries fall exactly on each other), you can run the Intersect tool with boundaries as the only input and Output Type = Line to get shared edges, then select by location "are within a distance of the source layer feature" to the shared edges.
Attached is a graphic of what I'm after....
apologies of I am missing something, but I assume you have ruled out Select by location within a distance of as being the solution?
Don- tried that but it selects all the streets within the polygon since technically if they are within the polygon, are are within 150 feet of it....
If your boundary polygons are topologically correct (i.e. if the boundaries fall exactly on each other), you can run the Intersect tool with boundaries as the only input and Output Type = Line to get shared edges, then select by location "are within a distance of the source layer feature" to the shared edges.
Nice one Darren! I get a bunch of extras but I can get rid of them easily....
Joe...forgot about the ones on boundaries,. Check out the Clementini options which I forgot to point out as viable options...from the same help files references
CONTAINS_CLEMENTINI —This spatial relationship yields the same results as COMPLETELY_CONTAINS with one exception. If the selecting feature is entirely on the boundary of the input feature (no part is properly inside or outside), the feature will not be selected. CLEMENTINI defines the boundary polygon as the line separating inside and outside, the boundary of a line is defined as its end points, and the boundary of a point is always empty.
or
COMPLETELY_WITHIN —The features in the input layer will be selected if they are completely within or contained by a selecting feature. The selecting features must be polygons.
but alas, there is no within a distance, so you have to do a clementini selection, switch the selection, then perform the within a distance from the selected set (if memory serves...don't have files to test at present)