Spatial Join between 2 layer based on intersected length

282
1
10-21-2018 11:32 AM
mohammednabil
New Contributor

Hi,

I have a Polygon and a Polyline layers, I want to join them spatially (using the spatial join tool) only if 1 mile or more of the line is inside the polygon

is there a spatial relationship can help me to define this join condition?

Thanks

0 Kudos
1 Reply
DanPatterson_Retired
MVP Esteemed Contributor

You want to do this with the ArcGIS api for python?

ArcMap? or ArcGIS Pro? 

Why a spatial join when other options exist?

As a start, I would intersect the polyline featureclass with the polygon featureclass (returning polylines).

Intersect—Help | ArcGIS Desktop 

keep the attributes of both and you can query the shapelength field of the new file for those values greater than your threshold distance.

0 Kudos