Get wkt from ESRI Geometry

2203
1
03-14-2019 05:34 AM
AgencyDeveloper
New Contributor II

Hi,

I am using the rest api (Query (Map Service\Layer)—ArcGIS REST API: Services Directory | ArcGIS for Developers ) to query a layer. I get the geometry as

Polygon:
Ring0:[-119.152450421,38.4118009580001],[-119.31882507,38.5271086230001],[-119.575687063,38.7029101290001]...81 more...

How do I convert it to wkt? Is there a java library for that, I couldn't find it in the sdk.

Thanks,

0 Kudos
1 Reply
nita14
by
Occasional Contributor III

Hi,

Have you tried to use Geometry| arcgis-java to get gemeotry in WKT?

Hope this helps,

Adam

0 Kudos