<?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>question Re: ESRI Spatial Framework does not provide a native geometry type in Hive, the alternative is to store the geometry in text or json format. What is better for functionality and performance in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ESRI-Spatial-Framework-does-not-provide-a-native-geometry/m-p/167949#M37129</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/12061/mahipalramidi.html"&gt;Mahipal Ramidi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Taking in account how ST_GeomFromText or St_GeomFromJson functions are used to convert text or json to geometry and then geometry is used in various functions, they provide the same functionality. If the value as text or json had to be parsed with some special conditions, then JSON would have been a better choice for processing, but that is not a known use case. As such, overall, used as explained above, text makes more sense, taking even less space (no structure included). If there will be a case where the above assumption is not true, add another column to your table, shape_json and convert text to json, or apply a text to json function for the specific scenario if performance is not impacted. If performance is impacted, denormalize by adding shape_json column.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Aug 2016 03:20:19 GMT</pubDate>
    <dc:creator>cstanca</dc:creator>
    <dc:date>2016-08-09T03:20:19Z</dc:date>
    <item>
      <title>ESRI Spatial Framework does not provide a native geometry type in Hive, the alternative is to store the geometry in text or json format. What is better for functionality and performance</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ESRI-Spatial-Framework-does-not-provide-a-native-geometry/m-p/167948#M37128</link>
      <description>&lt;P&gt;ESRI Spatial Framework does not provide a native
geometry type in Hive, the alternative is to store the geometry in text or json
format. What is better for functionality and performance.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 02:51:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ESRI-Spatial-Framework-does-not-provide-a-native-geometry/m-p/167948#M37128</guid>
      <dc:creator>mahipal_ramidi</dc:creator>
      <dc:date>2016-08-08T02:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI Spatial Framework does not provide a native geometry type in Hive, the alternative is to store the geometry in text or json format. What is better for functionality and performance</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ESRI-Spatial-Framework-does-not-provide-a-native-geometry/m-p/167949#M37129</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/12061/mahipalramidi.html"&gt;Mahipal Ramidi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Taking in account how ST_GeomFromText or St_GeomFromJson functions are used to convert text or json to geometry and then geometry is used in various functions, they provide the same functionality. If the value as text or json had to be parsed with some special conditions, then JSON would have been a better choice for processing, but that is not a known use case. As such, overall, used as explained above, text makes more sense, taking even less space (no structure included). If there will be a case where the above assumption is not true, add another column to your table, shape_json and convert text to json, or apply a text to json function for the specific scenario if performance is not impacted. If performance is impacted, denormalize by adding shape_json column.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 03:20:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ESRI-Spatial-Framework-does-not-provide-a-native-geometry/m-p/167949#M37129</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2016-08-09T03:20:19Z</dc:date>
    </item>
  </channel>
</rss>

