AnsweredAssumed Answered

How to get shapefile's geometry from local shapefile?

Question asked by brubakerfloors on Nov 13, 2019
Latest reply on Jul 17, 2020 by r.wood_FugroGISPortal

I'd like to use GeometryEngine.Contains Method on  polygons from these shapefiles but i can't retrieve polygons . How can I retrieve them? Please Help me.

GeometryEngine.Contains Method 



  List<MapPoint> spatialReferenceExtentCoords = new List<MapPoint>   
                new MapPoint(-103.070, 31.720, SpatialReferences.Wgs84),
                 new MapPoint(-103.070, 34.580, SpatialReferences.Wgs84),
                 new MapPoint(-94.000, 34.580, SpatialReferences.Wgs84),
                 new MapPoint(-94.00, 31.720, SpatialReferences.Wgs84)
_spatialReferenceArea = new Polygon(spatialReferenceExtentCoords);//can i get that polygon from my shapefile
_spatialReferenceArea = GeometryEngine.Project(_spatialReferenceArea, statePlaneNorthCentralTexas) as Polygon;

 Thank You,Everyone.