<?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 for Hadoop in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ESRI-Spatial-Framework-for-Hadoop/m-p/167127#M129459</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/12317/sivakumarsudhakarannairgirijakumari.html"&gt;sivakumar sudhakarannair girijakumari&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ESRI spatial framework for Hadoop could use to store geometry data as text or as json.&lt;/P&gt;&lt;P&gt;For example, you can store the following MULTIPOLYGON data as text (string in Hive, for example)&lt;/P&gt;&lt;P&gt;'MULTIPOLYGON (((-158.91661716771827 10.33741051185143, -67.59825779273768 10.33741051185143,-67.59825779273768 53.55389082595917, -158.91661716771827 53.55389082595917, -158.91661716771827 10.33741051185143)))'&lt;/P&gt;&lt;P&gt;If you wish to apply one of operations supported by ESRI framework for Hive, e.g. ST_Intersects, you need first to convert text to geometry using ST_GeomFromText function. Most of the ESRI spatial functions would require you to convert text to geometry first.&lt;/P&gt;&lt;P&gt;ESRI spatial framework for Hive supports also json. The approach is similar. You need to convert json to geometry before applying a function like ST_Intersects.&lt;/P&gt;&lt;P&gt;More details about JSON format here: &lt;A href="https://github.com/Esri/spatial-framework-for-hadoop/wiki/JSON-Formats" target="_blank"&gt;https://github.com/Esri/spatial-framework-for-hadoop/wiki/JSON-Formats&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 07 Aug 2016 01:06:29 GMT</pubDate>
    <dc:creator>cstanca</dc:creator>
    <dc:date>2016-08-07T01:06:29Z</dc:date>
    <item>
      <title>ESRI Spatial Framework for Hadoop</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ESRI-Spatial-Framework-for-Hadoop/m-p/167126#M129458</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;ESRI
Spatial Framework for Hadoop does not support a binary geometry data type for
Hive. What are the alternatives?&lt;/P&gt;</description>
      <pubDate>Sat, 06 Aug 2016 02:02:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ESRI-Spatial-Framework-for-Hadoop/m-p/167126#M129458</guid>
      <dc:creator>sivakumar_sudha</dc:creator>
      <dc:date>2016-08-06T02:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI Spatial Framework for Hadoop</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ESRI-Spatial-Framework-for-Hadoop/m-p/167127#M129459</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/12317/sivakumarsudhakarannairgirijakumari.html"&gt;sivakumar sudhakarannair girijakumari&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ESRI spatial framework for Hadoop could use to store geometry data as text or as json.&lt;/P&gt;&lt;P&gt;For example, you can store the following MULTIPOLYGON data as text (string in Hive, for example)&lt;/P&gt;&lt;P&gt;'MULTIPOLYGON (((-158.91661716771827 10.33741051185143, -67.59825779273768 10.33741051185143,-67.59825779273768 53.55389082595917, -158.91661716771827 53.55389082595917, -158.91661716771827 10.33741051185143)))'&lt;/P&gt;&lt;P&gt;If you wish to apply one of operations supported by ESRI framework for Hive, e.g. ST_Intersects, you need first to convert text to geometry using ST_GeomFromText function. Most of the ESRI spatial functions would require you to convert text to geometry first.&lt;/P&gt;&lt;P&gt;ESRI spatial framework for Hive supports also json. The approach is similar. You need to convert json to geometry before applying a function like ST_Intersects.&lt;/P&gt;&lt;P&gt;More details about JSON format here: &lt;A href="https://github.com/Esri/spatial-framework-for-hadoop/wiki/JSON-Formats" target="_blank"&gt;https://github.com/Esri/spatial-framework-for-hadoop/wiki/JSON-Formats&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Aug 2016 01:06:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ESRI-Spatial-Framework-for-Hadoop/m-p/167127#M129459</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2016-08-07T01:06:29Z</dc:date>
    </item>
  </channel>
</rss>

