<?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: SQL View to sanitize geometrycollections in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/sql-view-to-sanitize-geometrycollections/m-p/751588#M42257</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may have gotten more visibility in the &lt;A href="https://community.esri.com/groups/geodatabase?sr=search&amp;amp;searchId=ef4987b4-fd9f-4abd-8337-9a1bd9a26383&amp;amp;searchIndex=0"&gt;https://community.esri.com/groups/geodatabase?sr=search&amp;amp;searchId=ef4987b4-fd9f-4abd-8337-9a1bd9a26383&amp;amp;searchIndex=0&lt;/A&gt;‌ space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 May 2017 16:37:39 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2017-05-16T16:37:39Z</dc:date>
    <item>
      <title>SQL View to sanitize geometrycollections</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-view-to-sanitize-geometrycollections/m-p/751586#M42255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We've a third party spatial application that writes into native T-SQL tables. &amp;nbsp;It is happy with records like this;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;GEOMETRYCOLLECTION (&lt;STRONG&gt;LINESTRING&lt;/STRONG&gt; (315271.762 90124.145, 315271.812 90124.195), &lt;STRONG&gt;POLYGON&lt;/STRONG&gt; ((315276.18 90120.38, 315275.05 90111.07, 315280.15 90110.42, 315279.36 90103.58, 315271.65 90104.25, 315267.35 90104.62, 315267.319 90104.625, 315267.681 90107.209, 315268.95 90117.12, 315272.94 90116.62, 315273.32 90118.96, 315270.73 90119.4, 315270.91 90120.92, 315271.36 90124.08, 315276.432 90123.633, 315276.18 90120.38)))&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone who has only ever used Esri products will, like me, be twitching at this mixing up stuff in a single record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any SQL views or procedures to sanitize these records into a format that sane GIS products can cope with?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ACM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 15:09:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-view-to-sanitize-geometrycollections/m-p/751586#M42255</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2017-05-16T15:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: SQL View to sanitize geometrycollections</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-view-to-sanitize-geometrycollections/m-p/751587#M42256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://alastaira.wordpress.com/2011/01/21/splitting-multi-geometries-into-single-geometries/" title="https://alastaira.wordpress.com/2011/01/21/splitting-multi-geometries-into-single-geometries/"&gt;Splitting Multi Geometries into single geometries | Alastair Aitchison&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 16:37:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-view-to-sanitize-geometrycollections/m-p/751587#M42256</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-05-16T16:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: SQL View to sanitize geometrycollections</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-view-to-sanitize-geometrycollections/m-p/751588#M42257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may have gotten more visibility in the &lt;A href="https://community.esri.com/groups/geodatabase?sr=search&amp;amp;searchId=ef4987b4-fd9f-4abd-8337-9a1bd9a26383&amp;amp;searchIndex=0"&gt;https://community.esri.com/groups/geodatabase?sr=search&amp;amp;searchId=ef4987b4-fd9f-4abd-8337-9a1bd9a26383&amp;amp;searchIndex=0&lt;/A&gt;‌ space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 16:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-view-to-sanitize-geometrycollections/m-p/751588#M42257</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-05-16T16:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: SQL View to sanitize geometrycollections</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-view-to-sanitize-geometrycollections/m-p/751589#M42258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Odd - i tried that yesterday, but gave up when the results looked like "0x346......." rather than "POLYGON(1234,.....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I saved the view and flung it at ArcMap and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 11:37:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-view-to-sanitize-geometrycollections/m-p/751589#M42258</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2017-05-17T11:37:55Z</dc:date>
    </item>
  </channel>
</rss>

