Can I create a Geometry from WKT?

1605
1
07-24-2018 09:02 AM
ShawnCastrianni1
New Contributor II

I have access to a REST web service that returns geometries in WKT.  How would I draw those on an ESRI map.  I see that I can take a WKID and convert to an ESRI SpatialReference.  I see that I can take ArcGIS JSON and convert it to an ESRI Geometry with the FromJson() method.  But I do not see a way to convert WKT of a geometry, like "POINT  ( -148.69621300 70.49185500)", to an ESRI Geometry.  Surely, we should not have to write our own WKT parser to manually convert to ESRI Geometry??

1 Reply
ShawnCastrianni1
New Contributor II

I see there is a method called FromWKT in ArcMap API:  FromWKT—Help | ArcGIS for Desktop 

I am looking for something similar in ArcGIS for .NET/Xamarin API

0 Kudos