Export To GeoPackage

Running programmatically

Converts feature layers to a GeoPackage file (.gpkg file extension).

Inputs

Outputs

Notes:

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name ExportToGeoPackage
<input datasets> A String representing a list (separator - ";") of the full paths of the layers to be converted.
<output GeoPackage> A String - the full name of the output .gpkg file

Running the function

ETGWPath used in the table below is the  full path to ETGWRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETGeo Wizards\ETGWRun.exe")

Language Syntax
Python subprocess.call([ETGWPath, "ExportToGeoPackage", "input datasets", "output GeoPackage"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "ExportToGeoPackage" "input datasets" "output GeoPackage"
.NET using ETGWOutX.dll ExportToGeoPackage(input datasets, output GeoPackage)
ArcPy arcpy.ExportToGeoPackage(input datasets, output GeoPackage)

Notes:

(Go to TOP)