Export GeoPackage

3115
1
01-08-2016 04:48 AM
AntonBakker
New Contributor

I am trying to export a shapefile to GeoPackage with the help of this code snippet​. But when I execute the code (as an extension in ArcMap 10.2.2).  I receive the following message. The implementation I used can be found here (in VB.NET), build with ArcObjects SDK 10.2.3552

Error exporting data.

The application is not licensed to create or modify schema for this type of data

DBMS table not found

I could not find any documentation on the Sqliteworkspacefactory, and what license is required to write to sqlite. Can anyone enlighten me on this topic? Much appreciated.

Tags (2)
1 Reply
DuncanHornby
MVP Notable Contributor

Anton,

At what point does the error occur? Is it the connection to the geopackage or when the ExportOperation is run? May be IExportOperation does not support sqlite? If it is the export step that is throwing the error may be you could try calling the GeoProcessing tool FeatureClassToFeatureClass?

Duncan

0 Kudos