Closed smnorris closed 2 years ago
Maybe you should tell the geometry type of the layer with -nlt
. The SQL in this case creates a point but you can as well create any kind of geometry with altered SQL, or some kind of SQL (for example ST_Intersection) can return mixed geometry types.
Of course, thanks.
That works great and if I remember correctly the ESRI FGDB driver generally requires -nlt
as well.
Expected behavior and actual behavior.
Using OpenFileGDB writer with PostGIS reader fails to create output layer with
ERROR 6: Unsupported geometry type
Using a GPKG as the source seems to produce the same error.Steps to reproduce the problem.
Writing to .gdb from shapefile works fine:
Operating system
MacOS 12.5
GDAL version and provenance
Docker is 4.10.1 (82475)
Postgis is 3.21.