<?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: Getting PostGis geometries into ArcMap in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/getting-postgis-geometries-into-arcmap/m-p/775138#M1235</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="arcgis 2.jpg" class="image-1 jive-image" src="/legacyfs/online/108968_arcgis 2.jpg" style="width: 620px; height: 349px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jun 2015 19:03:54 GMT</pubDate>
    <dc:creator>DiegoVarela</dc:creator>
    <dc:date>2015-06-11T19:03:54Z</dc:date>
    <item>
      <title>Getting PostGis geometries into ArcMap</title>
      <link>https://community.esri.com/t5/geodatabase-questions/getting-postgis-geometries-into-arcmap/m-p/775135#M1232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to bring in data into arcmap from my PostgreSql + Postgis database. The data are points (using ST_Geometry POINTZ types) containing various properties/attibutes. So I successfully connected to my database by creating a new query layer, but many common sql query I put in the 'query' section gives me errors. Below is a screenshot of the query layer dialog.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="401" src="https://community.esri.com/legacyfs/online/106378_pastedImage_0.png" style="height: 401px; width: 443.172905525847px;" width="443" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are some errors I get when performing the sql queries&lt;/P&gt;&lt;P&gt;select * from firstdb.public.purcell7&amp;nbsp;&amp;nbsp; -&amp;gt; attribute conversion error&lt;/P&gt;&lt;P&gt;select geom from firstdb.public.purcell7&amp;nbsp;&amp;nbsp; -&amp;gt; at least one fixed-point or string data type column must be present to generate unique identifer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I do&lt;/P&gt;&lt;P&gt;select id from firstdb.public.purcell7&amp;nbsp; the validate button does not produce any errors&lt;/P&gt;&lt;P&gt;and in arcmap in the table of contents I get &lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/106451_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;(this only contains data from the id column of my table- obviously)&lt;/P&gt;&lt;P&gt;Then if I right-click the firstdb I can 'Add Table' and select the entire table I want (which is what the sql command : select * from firstdb.public.purcell7 should have done but didn't successfully do). Then I select the 'Display XY Data' option for that table where the x and y fields are automatically filled in my x, y columns of the data and hit 'ok'&amp;nbsp; and I get the following warning:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/106452_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the table I am trying to import has OIDs setup, there is a spatial index associated with the table, and there is a proper ST_Geometry associated with the data (POINTZ type).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I properly bring in my spatial data from my postgresql + postgis database so that I can view, query, select the data in arcmap? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 20:49:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/getting-postgis-geometries-into-arcmap/m-p/775135#M1232</guid>
      <dc:creator>MichaelHillier</dc:creator>
      <dc:date>2015-06-03T20:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting PostGis geometries into ArcMap</title>
      <link>https://community.esri.com/t5/geodatabase-questions/getting-postgis-geometries-into-arcmap/m-p/775136#M1233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The graphic lists the datatype of "Normal" as "Unknown". I'd think you'd need to tackle that issue first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 21:20:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/getting-postgis-geometries-into-arcmap/m-p/775136#M1233</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2015-06-03T21:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Getting PostGis geometries into ArcMap</title>
      <link>https://community.esri.com/t5/geodatabase-questions/getting-postgis-geometries-into-arcmap/m-p/775137#M1234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vince!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Removing the 'normal' column resolved the issue. The column 'normal' was set as an array of doubles (a three component vector). I guess ERSI does not recognized this data type. The data contained in the normal column was also in the table in 3 separate columns (nx, ny, nz) so deleting the normal column was not an issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 14:07:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/getting-postgis-geometries-into-arcmap/m-p/775137#M1234</guid>
      <dc:creator>MichaelHillier</dc:creator>
      <dc:date>2015-06-04T14:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Getting PostGis geometries into ArcMap</title>
      <link>https://community.esri.com/t5/geodatabase-questions/getting-postgis-geometries-into-arcmap/m-p/775138#M1235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="arcgis 2.jpg" class="image-1 jive-image" src="/legacyfs/online/108968_arcgis 2.jpg" style="width: 620px; height: 349px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 19:03:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/getting-postgis-geometries-into-arcmap/m-p/775138#M1235</guid>
      <dc:creator>DiegoVarela</dc:creator>
      <dc:date>2015-06-11T19:03:54Z</dc:date>
    </item>
  </channel>
</rss>

