<?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: Create a simple Geospatial Table with Geography type column in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/create-a-simple-geospatial-table-with-geography-type-column/m-p/97808#M39559</link>
    <description>&lt;P&gt;Thank you for prompt response. Yes, I have gone through the blog. I followed the same process ; for examples, buildings table have geometry which stores as binary type. My question, how to store geometry in 'Geography' type.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;The GEOGRAPHY data type follows the WGS 84 standard (spatial reference ID 4326; for details, see&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://epsg.io/4326" target="_blank" rel="noopener"&gt;https://epsg.io/4326&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My use case is creating an Node JS application to query the geospatial data and perform spatial operations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Second part of Danny Blog is using Sedona for dynamic segmentation. Since my compute is shared, I cannot use external library rather want to explore native spatial types and operation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know if you have some pointers.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Nov 2024 19:04:11 GMT</pubDate>
    <dc:creator>lakshgisprog</dc:creator>
    <dc:date>2024-11-05T19:04:11Z</dc:date>
    <item>
      <title>Create a simple Geospatial Table with Geography type column</title>
      <link>https://community.databricks.com/t5/data-engineering/create-a-simple-geospatial-table-with-geography-type-column/m-p/97799#M39554</link>
      <description>&lt;P&gt;Hello All&lt;/P&gt;&lt;P&gt;I am looking for guidance on creating an simple US states table with shape as Geography column type. I do not want to use Apache Sedona (due to cluster limitations). I am going to create an Node JS application which is going to query this geospatial data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 17:30:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/create-a-simple-geospatial-table-with-geography-type-column/m-p/97799#M39554</guid>
      <dc:creator>lakshgisprog</dc:creator>
      <dc:date>2024-11-05T17:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create a simple Geospatial Table with Geography type column</title>
      <link>https://community.databricks.com/t5/data-engineering/create-a-simple-geospatial-table-with-geography-type-column/m-p/97806#M39558</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/131209"&gt;@lakshgisprog&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Recently there was a technical article on geospatial data processing. You may start with that one:&lt;BR /&gt;&lt;A href="https://community.databricks.com/t5/technical-blog/from-raw-to-refined-processing-overture-maps-geospatial-data-on/ba-p/90838" target="_blank"&gt;https://community.databricks.com/t5/technical-blog/from-raw-to-refined-processing-overture-maps-geospatial-data-on/ba-p/90838&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 18:23:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/create-a-simple-geospatial-table-with-geography-type-column/m-p/97806#M39558</guid>
      <dc:creator>filipniziol</dc:creator>
      <dc:date>2024-11-05T18:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create a simple Geospatial Table with Geography type column</title>
      <link>https://community.databricks.com/t5/data-engineering/create-a-simple-geospatial-table-with-geography-type-column/m-p/97808#M39559</link>
      <description>&lt;P&gt;Thank you for prompt response. Yes, I have gone through the blog. I followed the same process ; for examples, buildings table have geometry which stores as binary type. My question, how to store geometry in 'Geography' type.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;The GEOGRAPHY data type follows the WGS 84 standard (spatial reference ID 4326; for details, see&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://epsg.io/4326" target="_blank" rel="noopener"&gt;https://epsg.io/4326&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My use case is creating an Node JS application to query the geospatial data and perform spatial operations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Second part of Danny Blog is using Sedona for dynamic segmentation. Since my compute is shared, I cannot use external library rather want to explore native spatial types and operation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know if you have some pointers.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 19:04:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/create-a-simple-geospatial-table-with-geography-type-column/m-p/97808#M39559</guid>
      <dc:creator>lakshgisprog</dc:creator>
      <dc:date>2024-11-05T19:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create a simple Geospatial Table with Geography type column</title>
      <link>https://community.databricks.com/t5/data-engineering/create-a-simple-geospatial-table-with-geography-type-column/m-p/97873#M39566</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/131209"&gt;@lakshgisprog&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;In databricks there is no GEOGRAPHY data type.&amp;nbsp;&lt;BR /&gt;Please check the documentation for the available data types:&lt;BR /&gt;&lt;A href="https://docs.databricks.com/en/sql/language-manual/sql-ref-datatypes.html" target="_blank"&gt;https://docs.databricks.com/en/sql/language-manual/sql-ref-datatypes.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What you can do is:&lt;BR /&gt;1. You can store GEOGRAPHY as BINARY or STRING in delta table&lt;/P&gt;&lt;P&gt;2. After reading the data from the table you will convert it in your Node JS application into GEOGRAPHY data type&lt;/P&gt;&lt;P&gt;Also, for transformations on Databricks side you should be able to use ST expressions and H3 library on the shared cluster with photon-enabled clusters, as H3 library is installed by default:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/sql-ref-h3-geospatial-functions" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/sql-ref-h3-geospatial-functions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 08:30:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/create-a-simple-geospatial-table-with-geography-type-column/m-p/97873#M39566</guid>
      <dc:creator>filipniziol</dc:creator>
      <dc:date>2024-11-06T08:30:41Z</dc:date>
    </item>
  </channel>
</rss>

