Skip to content

Commit

Permalink
Encode attributes in shapefile exports hdx
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Dec 27, 2023
1 parent 9e8f7e0 commit 8e4decd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def __init__(self, suffix, driver_name, layer_creation_options, format_option):

EXPORT_TYPE_MAPPING = {
"geojson": ExportTypeInfo("geojson", "GeoJSON", [], "GDAL"),
"shp": ExportTypeInfo("shp", "ESRI Shapefile", [], "GDAL"),
"shp": ExportTypeInfo("shp", "ESRI Shapefile", ["ENCODING=UTF-8"], "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 8e4decd

Please sign in to comment.