<?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: Spatialite RecoverGeometryColumn in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/spatialite-recovergeometrycolumn/m-p/1318555#M8538</link>
    <description>&lt;P&gt;Were you ever able to get this sorted out? I am running into the same issue and can't find anything about it online which is surprising.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Aug 2023 02:29:08 GMT</pubDate>
    <dc:creator>WesleyMills</dc:creator>
    <dc:date>2023-08-15T02:29:08Z</dc:date>
    <item>
      <title>Spatialite RecoverGeometryColumn</title>
      <link>https://community.esri.com/t5/geodatabase-questions/spatialite-recovergeometrycolumn/m-p/1026975#M6965</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a spatial table from a view in my spatialite database and found a quirk in Arcmap and ArcGIS Pro I am wondering if anyone has come across.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ArcGIS has no problem recognizing my spatial table if I create my table, add my geometry column, then insert data a la:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CREATE TABLE spatial_table(
OBJECTID INT,
FIELD1 TEST
FIELD2 INT
);

SELECT AddGeometryColumn('spatial_table', 'shape', 4326, 'multipolygon', 'XY');

Insert into spatial_table select * from spatial_view;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However ArcGIS does not recognize the table's spatial data if I elect for a more concise SQL syntax, creating my table including my spatial column, then trying to register the geometry column a la:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CREATE TABLE spatial_table as 
SELECT * from spatial view;
SELECT RecoverGeometryColumn('spatial_table', 'shape', 4326, 'multipolygon', 'XY');&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can add this table to ArcMap or ArcGIS pro, but the spatial reference and spatial column are not recognized. This seems weird to me because the spatiallite docs states that&amp;nbsp;&lt;A href="https://www.gaia-gis.it/gaia-sins/spatialite-cookbook/html/new-geom.html" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;there is absolutely no difference between a Geometry created by&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="Courier New, monospace"&gt;&lt;STRONG&gt;AddGeometryColumn()&lt;/STRONG&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;and another created by&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="Courier New, monospace"&gt;&lt;STRONG&gt;RecoverGeometryColumn()&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 21:39:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/spatialite-recovergeometrycolumn/m-p/1026975#M6965</guid>
      <dc:creator>karosc</dc:creator>
      <dc:date>2021-02-15T21:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Spatialite RecoverGeometryColumn</title>
      <link>https://community.esri.com/t5/geodatabase-questions/spatialite-recovergeometrycolumn/m-p/1318555#M8538</link>
      <description>&lt;P&gt;Were you ever able to get this sorted out? I am running into the same issue and can't find anything about it online which is surprising.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 02:29:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/spatialite-recovergeometrycolumn/m-p/1318555#M8538</guid>
      <dc:creator>WesleyMills</dc:creator>
      <dc:date>2023-08-15T02:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Spatialite RecoverGeometryColumn</title>
      <link>https://community.esri.com/t5/geodatabase-questions/spatialite-recovergeometrycolumn/m-p/1318559#M8539</link>
      <description>&lt;P&gt;For anyone else who may be stuck on this, you select all from your new table and export the result set as a shapefile and load that into your project. The geometry will work fine which shows that the geo is recorded in the spatialite database. Its an annoying extra step but it gets the job done.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 02:39:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/spatialite-recovergeometrycolumn/m-p/1318559#M8539</guid>
      <dc:creator>WesleyMills</dc:creator>
      <dc:date>2023-08-15T02:39:49Z</dc:date>
    </item>
  </channel>
</rss>

