Import from GeoPackage

Running programmatically

Converts spatial data storred in GeoPackage file to shapefile or File GDB layer/s.

Inputs

Outputs

Notes:

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name ImportFromGeoPackage
<Input GeoPackage> A String - the full name of the .gpkg file to be converted.
<output workspace> A String - the full name of the output falder or File GDB.
{Input layer list} A String representing a list (separator - ";") of the names of the layers to be converted.

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, "ImportFromGeoPackage", "Input GeoJSON", "output workspace", "Input layer list"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "ImportFromGeoPackage" "Input GeoJSON" "output workspace" "Input layer list"
.NET using ETGWOutX.dll ImportFromGeoPackage(Input GeoJSON, output workspace, Input layer list)
ArcPy arcpy.ImportFromGeoPackage(Input GeoJSON, output workspace, Input layer list)

Notes:

(Go to TOP)