<?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: ST_Transform is not supported in ESRI Spatial Framework for Hadoop. What are the alternatives? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ST-Transform-is-not-supported-in-ESRI-Spatial-Framework-for/m-p/167753#M37133</link>
    <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/12544/nizarsaddiki.html"&gt;@nizar saddiki&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In other databases (other than Hive),  ST_Transform converts two-dimensional ST_Geometry data into the spatial reference specified by the spatial reference ID (SRID). SRID parameter is not supported in Hive. As such, you need to pre-process the data in other system before uploading to Hive. Usually, that leads to denormalization. You would add a new column for each SRID. However, if they are way too many, is probably better to write your own ST_Transform service or function. I wish I could give better news.&lt;/P&gt;&lt;P&gt;Check this article: &lt;A href="https://community.hortonworks.com/articles/44319/geo-spatial-queries-with-hive-using-esri-geometry.html"&gt;https://community.hortonworks.com/articles/44319/geo-spatial-queries-with-hive-using-esri-geometry.html&lt;/A&gt;. Also: &lt;A href="https://community.hortonworks.com/articles/44319/geo-spatial-queries-with-hive-using-esri-geometry.html"&gt;https://community.hortonworks.com/articles/44319/geo-spatial-queries-with-hive-using-esri-geometry.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It will show you how to add the jar and create the function, as well as how to use it. Second article includes some limitations.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Aug 2016 20:33:18 GMT</pubDate>
    <dc:creator>cstanca</dc:creator>
    <dc:date>2016-08-17T20:33:18Z</dc:date>
    <item>
      <title>ST_Transform is not supported in ESRI Spatial Framework for Hadoop. What are the alternatives?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ST-Transform-is-not-supported-in-ESRI-Spatial-Framework-for/m-p/167750#M37130</link>
      <description>&lt;P&gt;ST_Transform is not supported in ESRI Spatial Framework
for Hadoop. What are the alternatives?. St_transform is used to transform the one spatial coordinate system to other coordinate system.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 02:53:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ST-Transform-is-not-supported-in-ESRI-Spatial-Framework-for/m-p/167750#M37130</guid>
      <dc:creator>mahipal_ramidi</dc:creator>
      <dc:date>2016-08-08T02:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: ST_Transform is not supported in ESRI Spatial Framework for Hadoop. What are the alternatives?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ST-Transform-is-not-supported-in-ESRI-Spatial-Framework-for/m-p/167751#M37131</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;Actually, ST_Transform is supported, but it has a slightly different behavior when used in HIve. in traditional implementations like Netezza, Oracle or SQL Server,  ST_Transform converts two-dimensional ST_Geometry data into the spatial reference specified by the spatial reference ID (SRID). SRID parameter is not supported in Hive. As such, I suggest you to pre-process the data a denormalize your table structure to account for your SRID. This is a good approach if you have a limited number of SRIDs to support. If number is high, then you may need to write a custom UDF and use in Hive. That is if you need to implement ST_Transform with SRID in SQL. There are other options if the geometry subject of the conversion is a small amount and is a matter of how is reflected in the UI. You may consider implementing a JavaScript function or a REST web service. Overall, it is a matter of good design.&lt;/P&gt;&lt;P&gt;Check this reference for functions in Hive with different behavior and not only: &lt;A href="https://github.com/Esri/spatial-framework-for-hadoop/wiki/ST_Geometry-in-Hive-versus-SQL" target="_blank"&gt;https://github.com/Esri/spatial-framework-for-hadoop/wiki/ST_Geometry-in-Hive-versus-SQL&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 03:29:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ST-Transform-is-not-supported-in-ESRI-Spatial-Framework-for/m-p/167751#M37131</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2016-08-09T03:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: ST_Transform is not supported in ESRI Spatial Framework for Hadoop. What are the alternatives?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ST-Transform-is-not-supported-in-ESRI-Spatial-Framework-for/m-p/167752#M37132</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/3486/cstanca.html"&gt;Constantin Stanca
&lt;/A&gt;Hi constantin ,i have a question about ST_Transform,i have a coordinate in a laea spatial coordinate system and i want to convert them to another coordinate system but i don't know how i can add ST_Transform class to use this function.Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 16:57:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ST-Transform-is-not-supported-in-ESRI-Spatial-Framework-for/m-p/167752#M37132</guid>
      <dc:creator>nizarsaddiki</dc:creator>
      <dc:date>2016-08-17T16:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: ST_Transform is not supported in ESRI Spatial Framework for Hadoop. What are the alternatives?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ST-Transform-is-not-supported-in-ESRI-Spatial-Framework-for/m-p/167753#M37133</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/12544/nizarsaddiki.html"&gt;@nizar saddiki&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In other databases (other than Hive),  ST_Transform converts two-dimensional ST_Geometry data into the spatial reference specified by the spatial reference ID (SRID). SRID parameter is not supported in Hive. As such, you need to pre-process the data in other system before uploading to Hive. Usually, that leads to denormalization. You would add a new column for each SRID. However, if they are way too many, is probably better to write your own ST_Transform service or function. I wish I could give better news.&lt;/P&gt;&lt;P&gt;Check this article: &lt;A href="https://community.hortonworks.com/articles/44319/geo-spatial-queries-with-hive-using-esri-geometry.html"&gt;https://community.hortonworks.com/articles/44319/geo-spatial-queries-with-hive-using-esri-geometry.html&lt;/A&gt;. Also: &lt;A href="https://community.hortonworks.com/articles/44319/geo-spatial-queries-with-hive-using-esri-geometry.html"&gt;https://community.hortonworks.com/articles/44319/geo-spatial-queries-with-hive-using-esri-geometry.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It will show you how to add the jar and create the function, as well as how to use it. Second article includes some limitations.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 20:33:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ST-Transform-is-not-supported-in-ESRI-Spatial-Framework-for/m-p/167753#M37133</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2016-08-17T20:33:18Z</dc:date>
    </item>
  </channel>
</rss>

