AnsweredAssumed Answered

ArcGIS Online Polygon containing a point

Question asked by DeepakSwamy123 on Sep 25, 2017
Latest reply on Sep 26, 2017 by Dan_Patterson

Hi,

 

I have a feature layer containing polygons. How do I find if a point lies within any of the polygons in shapefile? I am using ArcGIS Online and ArcGIS API for Python.

 

I was able to extract features from the feature layer and could convert feature to polygon.

 

I constructed arcgis.geometry.point object from X, Y.

 

However polygon.contains(point) is not returning any result.

 

Please help.

Outcomes