Skip to content

Commit

Permalink
Add Layer creation options in Shapefile
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Jan 13, 2024
1 parent f4c41f7 commit 5500da1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/validation/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,9 @@ def __init__(self, suffix, driver_name, layer_creation_options, format_option):

EXPORT_TYPE_MAPPING = {
"geojson": ExportTypeInfo("geojson", "GeoJSON", [], "GDAL"),
"shp": ExportTypeInfo("shp", "ESRI Shapefile", ["ENCODING=UTF-8"], "GDAL"),
"shp": ExportTypeInfo(
"shp", "ESRI Shapefile", ["ENCODING=UTF-8,2GB_LIMIT=No,RESIZE=Yes"], "GDAL"
),
"gpkg": ExportTypeInfo("gpkg", "GPKG", [], "GDAL"),
"sqlite": ExportTypeInfo("sqlite", "SQLite", [], "GDAL"),
"fgb": ExportTypeInfo("fgb", "FlatGeobuf", ["VERIFY_BUFFERS=NO"], "GDAL"),
Expand Down

0 comments on commit 5500da1

Please sign in to comment.