<?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: multipolygon support on arcgis and sql server in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/multipolygon-support-on-arcgis-and-sql-server/m-p/788614#M5306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might look at the SQL Static Aggregate Functions. I don't know what your full workflow is, but SQL will combine these into a SQL Geometry Collection quite nicely.&amp;nbsp;&lt;A class="link-titled" href="https://docs.microsoft.com/en-us/sql/t-sql/spatial-geography/static-aggregate-geography-methods?view=sql-server-2017" title="https://docs.microsoft.com/en-us/sql/t-sql/spatial-geography/static-aggregate-geography-methods?view=sql-server-2017"&gt;Static Aggregate Geography Methods | Microsoft Docs&lt;/A&gt;&amp;nbsp;CollectionAggregate is probably what you want. This is also possible in ArcGIS&amp;nbsp;with the Union GP tool &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/analysis-toolbox/union.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/analysis-toolbox/union.htm"&gt;Union—Help | ArcGIS Desktop&lt;/A&gt;, but it sounds like your starting data is a SQL&amp;nbsp;Spatial table not necessarily in a Geodatabase, so staying inside of the SQL stack for your processing may make as much sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2018 13:56:49 GMT</pubDate>
    <dc:creator>PaulBrandt</dc:creator>
    <dc:date>2018-08-29T13:56:49Z</dc:date>
    <item>
      <title>multipolygon support on arcgis and sql server</title>
      <link>https://community.esri.com/t5/developers-questions/multipolygon-support-on-arcgis-and-sql-server/m-p/788613#M5305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;I like to merge several polygon records into one with boundary preserved, but not dissolved using sql statements on sql server 2016. So I consider to use&amp;nbsp;&lt;SPAN&gt;multipolygon.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;&lt;SPAN&gt;Fro the link, &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fdesktop.arcgis.com%2Fen%2Farcmap%2Flatest%2Fmanage-data%2Fgdbs-in-sql-server%2Fsqlserver-spatial-types-and-arcgis.htm" rel="nofollow" target="_blank"&gt;http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/sqlserver-spatial-types-and-arcgis.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;Under the section "Register an existing spatial table with the geodatabase", it is stated that sql server supports mulitipolygon. But it does not state if arcgis server supports it or not, also not give an example how to make one from a list of records. And I searched out on the internet, no example could be found for how to use multipolygon.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;So, is &lt;SPAN&gt;multipolygon&amp;nbsp;&lt;/SPAN&gt;supported on arcgis server by using map service, and any example on how to make one multipolygon record from several records of one table?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 03:01:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/multipolygon-support-on-arcgis-and-sql-server/m-p/788613#M5305</guid>
      <dc:creator>demof1234demof1234</dc:creator>
      <dc:date>2018-08-29T03:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: multipolygon support on arcgis and sql server</title>
      <link>https://community.esri.com/t5/developers-questions/multipolygon-support-on-arcgis-and-sql-server/m-p/788614#M5306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might look at the SQL Static Aggregate Functions. I don't know what your full workflow is, but SQL will combine these into a SQL Geometry Collection quite nicely.&amp;nbsp;&lt;A class="link-titled" href="https://docs.microsoft.com/en-us/sql/t-sql/spatial-geography/static-aggregate-geography-methods?view=sql-server-2017" title="https://docs.microsoft.com/en-us/sql/t-sql/spatial-geography/static-aggregate-geography-methods?view=sql-server-2017"&gt;Static Aggregate Geography Methods | Microsoft Docs&lt;/A&gt;&amp;nbsp;CollectionAggregate is probably what you want. This is also possible in ArcGIS&amp;nbsp;with the Union GP tool &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/analysis-toolbox/union.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/analysis-toolbox/union.htm"&gt;Union—Help | ArcGIS Desktop&lt;/A&gt;, but it sounds like your starting data is a SQL&amp;nbsp;Spatial table not necessarily in a Geodatabase, so staying inside of the SQL stack for your processing may make as much sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 13:56:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/multipolygon-support-on-arcgis-and-sql-server/m-p/788614#M5306</guid>
      <dc:creator>PaulBrandt</dc:creator>
      <dc:date>2018-08-29T13:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: multipolygon support on arcgis and sql server</title>
      <link>https://community.esri.com/t5/developers-questions/multipolygon-support-on-arcgis-and-sql-server/m-p/788615#M5307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, of course multi-part polygons are supported by both Desktop and Server.&amp;nbsp; However, the geometries must be properly constructed to conform to topology rules:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Any polygon (exterior ring) may contain one or more "holes" (interior rings)&lt;/LI&gt;&lt;LI&gt;Multi-part polygons are composed of multiple exterior rings (which may contain interior rings)&lt;/LI&gt;&lt;LI&gt;Interior rings may not exist outside the exterior ring to which they belong, and may not touch the exterior ring for greater than one vertex at a time (the geometry library will automatically repair "inversions" to the exterior ring)&lt;/LI&gt;&lt;LI&gt;Exterior rings may not overlap or touch each other at more than one point.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/coverage-toolbox/dissolve.htm"&gt;Dissolve&lt;/A&gt; command is often the easiest way to merge multiple rows of polygon data into a single geometry in a new feature class. Though if you're comfortable with arcpy, then you can use the Geometry.union(other) method to merge individual shapes in memory. Once the geometry is constructed, it can be populated in a table and manipulated using SQL. You can also use SQL to union shapes, but there can be subtle differences in the geometry models which may result in invalid geometries.&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, 29 Aug 2018 15:48:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/multipolygon-support-on-arcgis-and-sql-server/m-p/788615#M5307</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2018-08-29T15:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: multipolygon support on arcgis and sql server</title>
      <link>https://community.esri.com/t5/developers-questions/multipolygon-support-on-arcgis-and-sql-server/m-p/788616#M5308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, ArcGIS Union splits polygons based on overlap from different layers.&amp;nbsp; The Dissolve command is used to merge geometries.&amp;nbsp; Unless you're using Python, in which case the &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/geometry.htm"&gt;Geometry.union()&lt;/A&gt; method is used to merge individual shapes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 15:53:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/multipolygon-support-on-arcgis-and-sql-server/m-p/788616#M5308</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2018-08-29T15:53:50Z</dc:date>
    </item>
  </channel>
</rss>

