Converts feature layers to a GeoPackage file (.gpkg file extension).
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 |
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:
<> - required parameter
{} - optional parameter
The argument separator for StartInfo.Arguments is space. If a string might contain a space, you need to double quote it.