<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: wkt geometry to esri rest json geometry in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/wkt-geometry-to-esri-rest-json-geometry/m-p/33155#M171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wish I had a definitive answer for you --- I have ran across some libraries that can do it some what each have their own limitations and languages.&amp;nbsp; When working with geoJson "Multi" geometries were my nemesis.&amp;nbsp; So much that I just simply re-wrote everthing to accept WKT and left out all the json formats.&amp;nbsp; WKT's standard on the flip side is not well accepted and universal as well... so I simply was using SQL server's flavor of WKT's.&amp;nbsp; That said here are some of the libraries that I had some limited success with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/arthur-e/Wicket" title="https://github.com/arthur-e/Wicket"&gt;GitHub - arthur-e/Wicket: A modest library for moving between Well-Known Text (WKT) and various framework geometries&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/mapbox/wellknown" title="https://github.com/mapbox/wellknown"&gt;GitHub - mapbox/wellknown: GeoJSON-emitting WKT parser for browsers and node&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://gist.github.com/drmalex07/5a54fc4f1db06a66679e" title="https://gist.github.com/drmalex07/5a54fc4f1db06a66679e"&gt;Convert GeoJSON to/from WKT in Python. #python #geojson #geometry · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Feb 2018 19:03:23 GMT</pubDate>
    <dc:creator>TedKowal</dc:creator>
    <dc:date>2018-02-23T19:03:23Z</dc:date>
    <item>
      <title>wkt geometry to esri rest json geometry</title>
      <link>https://community.esri.com/t5/developers-questions/wkt-geometry-to-esri-rest-json-geometry/m-p/33154#M170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hy!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just started programing in java. We have a java soap interface for simple fast operations with geom data (insert,select, update,geocode etc) Now I'd like to create a BufferService in java to our interface. The part of requesting the geometryservice&amp;nbsp; and convert json polygon to wkt is done with changing some character. The geometry must to be in wkt in the request and in response as well. So my problem is how to convert wkt geometry to json for the request when the geometry can be any main type of geometry. I found the esri geometry java api but it's little more difficult to me than other geometry api like vividsolutions'. But that json object is not rest compatible json so can anybody help me&amp;nbsp;like show me a sample code how to use esri java geometry api to convert geometry wkt to rest json? I would be very very grateful&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 10:22:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/wkt-geometry-to-esri-rest-json-geometry/m-p/33154#M170</guid>
      <dc:creator>GlibaRoland</dc:creator>
      <dc:date>2018-02-23T10:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: wkt geometry to esri rest json geometry</title>
      <link>https://community.esri.com/t5/developers-questions/wkt-geometry-to-esri-rest-json-geometry/m-p/33155#M171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wish I had a definitive answer for you --- I have ran across some libraries that can do it some what each have their own limitations and languages.&amp;nbsp; When working with geoJson "Multi" geometries were my nemesis.&amp;nbsp; So much that I just simply re-wrote everthing to accept WKT and left out all the json formats.&amp;nbsp; WKT's standard on the flip side is not well accepted and universal as well... so I simply was using SQL server's flavor of WKT's.&amp;nbsp; That said here are some of the libraries that I had some limited success with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/arthur-e/Wicket" title="https://github.com/arthur-e/Wicket"&gt;GitHub - arthur-e/Wicket: A modest library for moving between Well-Known Text (WKT) and various framework geometries&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/mapbox/wellknown" title="https://github.com/mapbox/wellknown"&gt;GitHub - mapbox/wellknown: GeoJSON-emitting WKT parser for browsers and node&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://gist.github.com/drmalex07/5a54fc4f1db06a66679e" title="https://gist.github.com/drmalex07/5a54fc4f1db06a66679e"&gt;Convert GeoJSON to/from WKT in Python. #python #geojson #geometry · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 19:03:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/wkt-geometry-to-esri-rest-json-geometry/m-p/33155#M171</guid>
      <dc:creator>TedKowal</dc:creator>
      <dc:date>2018-02-23T19:03:23Z</dc:date>
    </item>
  </channel>
</rss>

