Re: [Geoserver-users] Error reading ogr with curved geometries

2021-02-02 Thread Marco Casalboni
I'm sorry I'm kinda new on user lists. If I may insist more, I noticed the following things: - running ogrinfo -so on my .gdb source returns Multi Polygon data types (apparently no curves?) - running ogrinfo -al, I see no errors in the geometries output, that are displayed correctly, ie:

Re: [Geoserver-users] Error reading ogr with curved geometries

2021-02-01 Thread Andrea Aime
Please keep replies on list (as per user guidelines, they are linked at the bottom of each message). GeoServer cannot switch between the reader classes, but the store in Geotools could be made to use the one that understands curves. QGIS is a completely different codebase, in a different

Re: [Geoserver-users] Error reading ogr with curved geometries

2021-02-01 Thread Andrea Aime
What Ian said, just a further note: the store can likely be modified to support curved geometries, based on the work available in the PostGIS stores. It's a matter of making it use a different WKB reader (assuming OGR produces extended WKB the same way PostGIS does, if there are differences, then

Re: [Geoserver-users] Error reading ogr with curved geometries

2021-02-01 Thread Ian Turton
That datastore doesn't support curves, you could look at the PostGIS and Oracle stores for examples of stores that do support curves Ian On Mon, 1 Feb 2021 at 11:14, Marco Casalboni wrote: > Hi all, > I am getting an error while reading a .gdb data source (ogr with > OpenFileGDB driver): >

[Geoserver-users] Error reading ogr with curved geometries

2021-02-01 Thread Marco Casalboni
Hi all, I am getting an error while reading a .gdb data source (ogr with OpenFileGDB driver): org.locationtech.jts.io.ParseException: Unknown WKB type 12 at org.locationtech.jts.io.WKBReader.readGeometry(WKBReader.java:238) at org.locationtech.jts.io.WKBReader.read(WKBReader.java:159) at