<?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 Using Sqlite/Spatialite with ArcObjects and C# in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/using-sqlite-spatialite-with-arcobjects-and-c/m-p/338791#M8895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was wondering if there are any samples for interacting with SQLite/spatialite with c#.&amp;nbsp;&amp;nbsp; I understand how to use the filegdbworkspacefactory that allows me to specify a file to create a workspace, and then from there I can get to the feature classes.&amp;nbsp; I do not see any workspace factories that seem to support SQLite and Spatialite.&amp;nbsp; In this case, I need to manipulate several feature classes and geoprocessing functions.&amp;nbsp; I know how to create the database both in c# ado.net code and arcpy createsqlitedatabase.&amp;nbsp; But no such luck on accessing the feature classes. In the past, it was simple with the workspace factories, but I need to know how to do it with the SQLite database engine.&amp;nbsp;&amp;nbsp; Any help or suggestions or links to a code snippet would be appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Paplanus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 28 Jun 2015 06:43:34 GMT</pubDate>
    <dc:creator>StevenPaplanus</dc:creator>
    <dc:date>2015-06-28T06:43:34Z</dc:date>
    <item>
      <title>Using Sqlite/Spatialite with ArcObjects and C#</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/using-sqlite-spatialite-with-arcobjects-and-c/m-p/338791#M8895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was wondering if there are any samples for interacting with SQLite/spatialite with c#.&amp;nbsp;&amp;nbsp; I understand how to use the filegdbworkspacefactory that allows me to specify a file to create a workspace, and then from there I can get to the feature classes.&amp;nbsp; I do not see any workspace factories that seem to support SQLite and Spatialite.&amp;nbsp; In this case, I need to manipulate several feature classes and geoprocessing functions.&amp;nbsp; I know how to create the database both in c# ado.net code and arcpy createsqlitedatabase.&amp;nbsp; But no such luck on accessing the feature classes. In the past, it was simple with the workspace factories, but I need to know how to do it with the SQLite database engine.&amp;nbsp;&amp;nbsp; Any help or suggestions or links to a code snippet would be appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Paplanus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 06:43:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/using-sqlite-spatialite-with-arcobjects-and-c/m-p/338791#M8895</guid>
      <dc:creator>StevenPaplanus</dc:creator>
      <dc:date>2015-06-28T06:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sqlite/Spatialite with ArcObjects and C#</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/using-sqlite-spatialite-with-arcobjects-and-c/m-p/338792#M8896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steven,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here's some code that I use in Delphi which might help. There are limitations with using SQLITE in ArcMap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SqliteSource is the full file path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var&lt;/P&gt;&lt;P&gt;&amp;nbsp; pWrkspcFact&amp;nbsp;&amp;nbsp; : IWorkspaceFactory ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; pFtrWrkspc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : IFeatureWorkspace ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; pDataset&amp;nbsp;&amp;nbsp; : IDataset ;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;begin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pWrkspcFact := CoSqlWorkspaceFactory.Create as IWorkspacefactory ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pFtrWrkspc&amp;nbsp; := pWrkspcFact.OpenFromFile ( SqliteSource , 0 ) as IFeatureWorkspace ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pDataset := pFtrWrkspc.OpenTable ( 'Location' ) as IDataset ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mitch Wolberg,&lt;/P&gt;&lt;P&gt;Rockware, Inc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 15:18:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/using-sqlite-spatialite-with-arcobjects-and-c/m-p/338792#M8896</guid>
      <dc:creator>MitchWolberg1</dc:creator>
      <dc:date>2015-10-23T15:18:42Z</dc:date>
    </item>
  </channel>
</rss>

