<?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 How to display multiple geometry types from single PostgreSQL table in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-display-multiple-geometry-types-from-single/m-p/1693182#M102574</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I have a PostGIS enabled PostgreSQL database, with a table with spatial data in it. I have multiple geometry types in my table (points, lines and polygons). When I connect to my database in ArcPro, I only see my points layer. Is there a way to display all geometry types in ArcPro? Do I need to make three connections to my table? Unfortunately because my database is managed by a separate application, I can not make any modifications to my database to only allow one geometry type.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Mar 2026 17:51:01 GMT</pubDate>
    <dc:creator>Paige_Williams</dc:creator>
    <dc:date>2026-03-27T17:51:01Z</dc:date>
    <item>
      <title>How to display multiple geometry types from single PostgreSQL table</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-display-multiple-geometry-types-from-single/m-p/1693182#M102574</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I have a PostGIS enabled PostgreSQL database, with a table with spatial data in it. I have multiple geometry types in my table (points, lines and polygons). When I connect to my database in ArcPro, I only see my points layer. Is there a way to display all geometry types in ArcPro? Do I need to make three connections to my table? Unfortunately because my database is managed by a separate application, I can not make any modifications to my database to only allow one geometry type.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2026 17:51:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-display-multiple-geometry-types-from-single/m-p/1693182#M102574</guid>
      <dc:creator>Paige_Williams</dc:creator>
      <dc:date>2026-03-27T17:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to display multiple geometry types from single PostgreSQL table</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-display-multiple-geometry-types-from-single/m-p/1693202#M102577</link>
      <description>&lt;P&gt;You need to put a WHERE constraint on the QueryLayer definition to restrict by either &lt;FONT face="courier new,courier"&gt;GeometryType(geomcol)&lt;/FONT&gt; or &lt;FONT face="courier new,courier"&gt;ST_GeometryType(geomcol)&lt;/FONT&gt;, then specify the desired type in the layer definition&amp;nbsp; Those two functions return different values (e.g. "POINT" and "ST_POINT"), and you may need to use an &lt;FONT face="courier new,courier"&gt;IN&lt;/FONT&gt; operator, because multi-part linestring and multi-part polygon geometeries are represented as different types in PostGIS. You may want to use &lt;FONT face="courier new,courier"&gt;ST_Dimension(geomcol)&lt;/FONT&gt; instead, since that just sorts POINT, LINESTRING, and POLYGON data into 0, 1, or 2 (but be careful, because MULTIPOINT also returns 0, and it's a different type as well, though not as common).&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a perfect world, the various geometry types wouldn't be smushed together like that (it's an antipattern, but some folks love to go down that route).&amp;nbsp; You'd get better performance on large tables (&amp;gt;100k features) if the dimensionality were also an attribute property capable of being indexed (e.g. 'WALL', 'WELL','PATIO') though I suppose a covering index on one of the differentiator functions could be effective&amp;nbsp;(but only if you can get the data owners to construct that index).&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2026 19:04:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-display-multiple-geometry-types-from-single/m-p/1693202#M102577</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2026-03-27T19:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to display multiple geometry types from single PostgreSQL table</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-display-multiple-geometry-types-from-single/m-p/1694025#M102625</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1060"&gt;@VinceAngelo&lt;/a&gt;&amp;nbsp;! This helped me. I ended up creating 3 query layers with the following SQL queries (I am using PostGIS)&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;SELECT * FROM &amp;lt;insert_database_name&amp;gt;.&amp;lt;insert_schema_name&amp;gt;.&amp;lt;insert_table_name&amp;gt; 
where ST_GeometryType(&amp;lt;insert_geometry_column&amp;gt;) = 'ST_Point'

SELECT * FROM &amp;lt;insert_database_name&amp;gt;.&amp;lt;insert_schema_name&amp;gt;.&amp;lt;insert_table_name&amp;gt; 
where ST_GeometryType(&amp;lt;insert_geometry_column&amp;gt;) = 'ST_LineString'

SELECT * FROM &amp;lt;insert_database_name&amp;gt;.&amp;lt;insert_schema_name&amp;gt;.&amp;lt;insert_table_name&amp;gt; 
where ST_GeometryType(&amp;lt;insert_geometry_column&amp;gt;) = 'ST_Polygon'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2026 18:57:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-display-multiple-geometry-types-from-single/m-p/1694025#M102625</guid>
      <dc:creator>Paige_Williams</dc:creator>
      <dc:date>2026-04-01T18:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to display multiple geometry types from single PostgreSQL table</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-display-multiple-geometry-types-from-single/m-p/1694086#M102636</link>
      <description>&lt;P&gt;Paige -&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cool.&amp;nbsp; But don't forget to check if there are other, multi-part types in the table:&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;SELECT ST_GeometryType(geomcol), count(*) as nfeats
FROM   owner.geomtable
GROUP  BY ST_GeometryType(geomcol)
ORDER  BY 2 DESC&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Note that the database name isn't required, because PostgreSQL doesn't support cross-database queries.&lt;BR /&gt;&lt;BR /&gt;- V&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2026 02:34:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-display-multiple-geometry-types-from-single/m-p/1694086#M102636</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2026-04-02T02:34:18Z</dc:date>
    </item>
  </channel>
</rss>

