You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Het uploaden van een shapefile mislukt indien het een 3D shapefile betreft *
*Dit is makkelijk te fixen door in ogr2ogr te specificeren dat er overgegaan moet worden op 2D."
Sponsored by LBP|SIGHT
def ogr2ogr(out_file, in_file, target_format, assign_srs=None, source_srs=None, target_srs=None):
try:
# Entire ogr2ogr command line
# Make ogr2ogr command line, use separator | to deal with quotes etc.
cmd_tmpl = OGR2OGR_PROG
# Force 2D otherwise failure with 3D input file
cmd_tmpl += '|-dim|2'
The text was updated successfully, but these errors were encountered:
Fix from @deduikertjes
"Het uploaden van een shapefile mislukt indien het een 3D shapefile betreft *
*Dit is makkelijk te fixen door in ogr2ogr te specificeren dat er overgegaan moet worden op 2D."
Sponsored by LBP|SIGHT
The text was updated successfully, but these errors were encountered: