<?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: Display map data from SQL Spatial? in GeoAnalytics</title>
    <link>https://community.qlik.com/t5/GeoAnalytics/Display-map-data-from-SQL-Spatial/m-p/1521159#M2191</link>
    <description>Hi, yes sorry for being unclear, QGA is required.</description>
    <pubDate>Fri, 14 Dec 2018 16:45:57 GMT</pubDate>
    <dc:creator>Patric_Nordstrom</dc:creator>
    <dc:date>2018-12-14T16:45:57Z</dc:date>
    <item>
      <title>Display map data from SQL Spatial?</title>
      <link>https://community.qlik.com/t5/GeoAnalytics/Display-map-data-from-SQL-Spatial/m-p/1521126#M2188</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I'm wondering if it is possible, in either Qlik Sense or using GeoAnalytics, to display map data directly from SQL?&lt;/P&gt;&lt;P&gt;I have read the following -&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-GeoAnalytics-Discussions/Geometry-datatype-in-Geoanalytics/td-p/8122" target="_blank"&gt;https://community.qlik.com/t5/Qlik-GeoAnalytics-Discussions/Geometry-datatype-in-Geoanalytics/td-p/8122&lt;/A&gt; - but this appears to be for a Postgres database, as well as a Geometry datatype (I am using Geography).&lt;/P&gt;&lt;P&gt;I have attempted and am unsuccessful in displaying both Geography and Geometry datatypes, as well I have not been successful in attempting to display the WKT data after converting the SQL binary shape field either. This particular SQL Server version is 2008 R2.&lt;/P&gt;&lt;P&gt;Any thoughts or recommendations?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 15:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/GeoAnalytics/Display-map-data-from-SQL-Spatial/m-p/1521126#M2188</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-14T15:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Display map data from SQL Spatial?</title>
      <link>https://community.qlik.com/t5/GeoAnalytics/Display-map-data-from-SQL-Spatial/m-p/1521145#M2189</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Yes, that is possible,&amp;nbsp;In MS SQL&amp;nbsp;&lt;SPAN&gt;STAsText produces WKT that can be read by QGA.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;ex: select top(2) zip4, GEOM.STAsText() as wkt from dk_zip4 order by zip4;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check out my slides here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-GeoAnalytics-Documents/MS-SQL-Server-and-Qlik-GeoAnalytics-QGA/ta-p/1521143" target="_blank"&gt;https://community.qlik.com/t5/Qlik-GeoAnalytics-Documents/MS-SQL-Server-and-Qlik-GeoAnalytics-QGA/ta-p/1521143&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 16:21:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/GeoAnalytics/Display-map-data-from-SQL-Spatial/m-p/1521145#M2189</guid>
      <dc:creator>Patric_Nordstrom</dc:creator>
      <dc:date>2018-12-14T16:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Display map data from SQL Spatial?</title>
      <link>https://community.qlik.com/t5/GeoAnalytics/Display-map-data-from-SQL-Spatial/m-p/1521152#M2190</link>
      <description>&lt;P&gt;Thanks very much, that is helpful. A couple things below..&lt;/P&gt;&lt;P&gt;I am currently working in Qlik Sense - In the data load editor, I attempt to use:&lt;/P&gt;&lt;P&gt;LOAD OBJECTID,&lt;/P&gt;&lt;P&gt;SHAPE,&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;Despite the fact that intellisense brings up "SHAPE", when I try to load the data I get the error message "Field 'Shape' not found"&lt;/P&gt;&lt;P&gt;There is no issue when I add Shape.STAsText() as wkt to my SELECT statement though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After taking a look at your slides, it looks like I require GeoAnalytics to load SQL data. Is that the case? Thanks again!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 16:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/GeoAnalytics/Display-map-data-from-SQL-Spatial/m-p/1521152#M2190</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-14T16:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Display map data from SQL Spatial?</title>
      <link>https://community.qlik.com/t5/GeoAnalytics/Display-map-data-from-SQL-Spatial/m-p/1521159#M2191</link>
      <description>Hi, yes sorry for being unclear, QGA is required.</description>
      <pubDate>Fri, 14 Dec 2018 16:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/GeoAnalytics/Display-map-data-from-SQL-Spatial/m-p/1521159#M2191</guid>
      <dc:creator>Patric_Nordstrom</dc:creator>
      <dc:date>2018-12-14T16:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Display map data from SQL Spatial?</title>
      <link>https://community.qlik.com/t5/GeoAnalytics/Display-map-data-from-SQL-Spatial/m-p/1521161#M2192</link>
      <description>Thanks so much! You've saved me a lot of time and possible frustration.</description>
      <pubDate>Fri, 14 Dec 2018 16:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/GeoAnalytics/Display-map-data-from-SQL-Spatial/m-p/1521161#M2192</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-14T16:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Display map data from SQL Spatial?</title>
      <link>https://community.qlik.com/t5/GeoAnalytics/Display-map-data-from-SQL-Spatial/m-p/1525584#M2205</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is a bit of a long shot... but if you have control of your database you might be able to use the Latitude and Longitude in the original non-GA map tool. There are LOTS of "variables" so this is my best guess for your situation. I also think it will only work for points, not polygons and lines.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Option 1:&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your database table already has Latitude and&amp;nbsp; Longitude you can use the&amp;nbsp;GeoMakePoint function in the load script. It will only work if you have data in WGS 1984.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ex.&amp;nbsp;GeoMakePoint(Latitude, Longitude) as GeoInc&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ex.&amp;nbsp;GeoMakePoint(Latitude/1000000, Longitude/-1000000) as GeoInc if your Lat and Long don't have any decimal points or negative numbers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Option 2:&lt;/P&gt;&lt;P&gt;1. Create a view of the table that has the SHAPE Field. If you can do the conversion on the database side and create the view with the "&amp;nbsp;sde.st_astext(SHAPE) as geo". Then read the view into Qlik Sense as a Geo Point.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps. If you have any questions or details please let me know! I might be able to help you if your in a different spatial format. But I am using Oracle and can't create a view in our database. So I would have to talk you through YOUR Case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Auzzie&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 19:57:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/GeoAnalytics/Display-map-data-from-SQL-Spatial/m-p/1525584#M2205</guid>
      <dc:creator>auzzie4185</dc:creator>
      <dc:date>2019-01-02T19:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Display map data from SQL Spatial?</title>
      <link>https://community.qlik.com/t5/GeoAnalytics/Display-map-data-from-SQL-Spatial/m-p/1597057#M2598</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am new to GeoAnalytics and I am having some difficulty plotting the map reading from my ODBC - SHAPE attribute. Do you have any tutorial or videos on the solution for the suggested solution below?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Create a view of the table that has the SHAPE Field. If you can do the conversion on the database side and create the view with the "&amp;nbsp;sde.st_astext(SHAPE) as geo". Then read the view into Qlik Sense as a Geo Point.&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 02:40:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/GeoAnalytics/Display-map-data-from-SQL-Spatial/m-p/1597057#M2598</guid>
      <dc:creator>christms</dc:creator>
      <dc:date>2019-06-28T02:40:31Z</dc:date>
    </item>
  </channel>
</rss>

