<?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>idea Add Geometry as Text Options to 'Calculate Geometry Attributes' (WKT, WKB, GeoJSON) in ArcGIS Enterprise Ideas</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-ideas/add-geometry-as-text-options-to-calculate-geometry/idi-p/933005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As mentioned &lt;A _jive_internal="true" href="https://community.esri.com/ideas/1529-add-support-for-well-known-text-within-arcgis"&gt;here&lt;/A&gt;&amp;nbsp;by &lt;A href="https://community.esri.com/migrated-users/45316"&gt;Kory Kramer&lt;/A&gt;, ArcPy now has functions to calculate spatial objects as text, such as WKT and GeoJSON. Please add this to an out of the box GP tool-- I believe Calculate Geometry Attributes is the perfect place for it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purpose: populate a text field with the string representation of valid geometric objects, with options including WKT, WKB, and GeoJSON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use case: Portability of GIS data. We need the ability to load a delimited csv of all tabular attributes of a feature class to data warehouses, including one text field containing the text representation of a spatial object. Once the csv is loaded to a data warehouse as a table, most of the database platforms can convert the geometry text to a spatial object using SQL functions like ST_FromText and TO_GEOGRAPHY.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2020 14:30:02 GMT</pubDate>
    <dc:creator>ColeAndrews</dc:creator>
    <dc:date>2020-10-16T14:30:02Z</dc:date>
    <item>
      <title>Add Geometry as Text Options to 'Calculate Geometry Attributes' (WKT, WKB, GeoJSON)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/add-geometry-as-text-options-to-calculate-geometry/idi-p/933005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As mentioned &lt;A _jive_internal="true" href="https://community.esri.com/ideas/1529-add-support-for-well-known-text-within-arcgis"&gt;here&lt;/A&gt;&amp;nbsp;by &lt;A href="https://community.esri.com/migrated-users/45316"&gt;Kory Kramer&lt;/A&gt;, ArcPy now has functions to calculate spatial objects as text, such as WKT and GeoJSON. Please add this to an out of the box GP tool-- I believe Calculate Geometry Attributes is the perfect place for it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purpose: populate a text field with the string representation of valid geometric objects, with options including WKT, WKB, and GeoJSON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use case: Portability of GIS data. We need the ability to load a delimited csv of all tabular attributes of a feature class to data warehouses, including one text field containing the text representation of a spatial object. Once the csv is loaded to a data warehouse as a table, most of the database platforms can convert the geometry text to a spatial object using SQL functions like ST_FromText and TO_GEOGRAPHY.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2020 14:30:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/add-geometry-as-text-options-to-calculate-geometry/idi-p/933005</guid>
      <dc:creator>ColeAndrews</dc:creator>
      <dc:date>2020-10-16T14:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Add Geometry as Text Options to 'Calculate Geometry Attributes' (WKT, WKB, GeoJSON)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/add-geometry-as-text-options-to-calculate-geometry/idc-p/933006#M597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You got my vote, I think this it quite a good idea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2020 15:13:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/add-geometry-as-text-options-to-calculate-geometry/idc-p/933006#M597</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-10-16T15:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Add Geometry as Text Options to 'Calculate Geometry Attributes' (WKT, WKB, GeoJSON)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/add-geometry-as-text-options-to-calculate-geometry/idc-p/933007#M598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a relatively simple enhancement that would make this task much easier to work with, especially in model builder, so I requested it be logged as a formal enhancement. Here is the enhancement number:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/511373_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2020 16:23:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/add-geometry-as-text-options-to-calculate-geometry/idc-p/933007#M598</guid>
      <dc:creator>ColeAndrews</dc:creator>
      <dc:date>2020-10-20T16:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Add Geometry as Text Options to 'Calculate Geometry Attributes' (WKT, WKB, GeoJSON)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/add-geometry-as-text-options-to-calculate-geometry/idc-p/1062581#M2522</link>
      <description>&lt;P&gt;The esri product team marked this enhancement (ENH-000134719) as not in product plan because it can be done with ArcPy, so I am adding more context to this request.&lt;/P&gt;&lt;P&gt;The WKB function !Shape.WKB! outputs a bytearray, which can't be written to a basic file geodatabase field. For portability purposes, the bytearray should be converted to hexadecimal and stored in a text field. If you look at spatial SQL functions that create GEOMETRY or GEOGRAPHY columns from WKB (non-esri databases), the input type is this hexadecimal format.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For complex geometries, the WKT, WKB, or GeoJSON can be extremely long in terms of # of characters. Using the field calculator, I have to create the new field and give the field the max text length available to ensure no truncation happens.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we added these functions to the 'Add Geometry Attributes' tool, that tool can auto-size the new field based on the length of the output text representation. Additionally, it increases the user-friendliness and intuitiveness of these ArcPy parameters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 21:19:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/add-geometry-as-text-options-to-calculate-geometry/idc-p/1062581#M2522</guid>
      <dc:creator>ColeAndrews</dc:creator>
      <dc:date>2021-05-27T21:19:12Z</dc:date>
    </item>
  </channel>
</rss>

