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 language, makes no
sense to try and run a direct comparison.
GeoTools is not "based on GDAL", it has an _unsupported_ data store that
can use GDAL, but then it has to go back to its own
model. QGIS is way more tightly bound to what GDAL does.

That said, see my first comment, if you are interested in proposing a code
change to GeoTools, it can be done.
See: https://github.com/geotools/geotools/blob/master/CONTRIBUTING.md

Cheers
Andrea


On Mon, Feb 1, 2021 at 5:43 PM Marco Casalboni <casalbo...@gmail.com> wrote:

> Hi thanks for the quick reply
>
> Indeed, I did a little research, I found out WKBReader.java (jns) is not
> capable of reading other formats than the classic 2D geometries.
> What I found is that in geotools there is a similar WKBReader with
> extended support and I wondering if in some way geoserver can switch
> between the WKBReader classes.
>
> I'm also wondering why QGIS is fine with reading that specific datastore.
> Isn't QGIS built on the same GDAL driver?
>
> Marco
>
> Il giorno lun 1 feb 2021 alle ore 16:30 Andrea Aime <
> andrea.a...@geo-solutions.it> ha scritto:
>
>> 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 more code would need to be written).
>>
>> Cheers
>> Andrea
>>
>> On Mon, Feb 1, 2021 at 4:19 PM Ian Turton <ijtur...@gmail.com> wrote:
>>
>>> 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 <casalbo...@gmail.com>
>>> wrote:
>>>
>>>> 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 org.locationtech.jts.io.WKBReader.read(WKBReader.java:140)
>>>> at
>>>> org.geotools.data.ogr.GeometryMapper$WKB.parseOgrGeometry(GeometryMapper.java:69)
>>>>
>>>> am I missing something?
>>>>
>>>> My setup is:
>>>> - linux debian 11
>>>> - geoserver 2.18.2
>>>> - gdal 3.2.1 with ecw support (ECWJP2SDKSetup_5.5.0.2034)
>>>> - proj4 7.2.1
>>>>
>>>>
>>>> thanks in advance
>>>> _______________________________________________
>>>> Geoserver-users mailing list
>>>>
>>>> Please make sure you read the following two resources before posting to
>>>> this list:
>>>> - Earning your support instead of buying it, but Ian Turton:
>>>> http://www.ianturton.com/talks/foss4g.html#/
>>>> - The GeoServer user list posting guidelines:
>>>> http://geoserver.org/comm/userlist-guidelines.html
>>>>
>>>> If you want to request a feature or an improvement, also see this:
>>>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>>>
>>>>
>>>> Geoserver-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>
>>>
>>>
>>> --
>>> Ian Turton
>>> _______________________________________________
>>> Geoserver-users mailing list
>>>
>>> Please make sure you read the following two resources before posting to
>>> this list:
>>> - Earning your support instead of buying it, but Ian Turton:
>>> http://www.ianturton.com/talks/foss4g.html#/
>>> - The GeoServer user list posting guidelines:
>>> http://geoserver.org/comm/userlist-guidelines.html
>>>
>>> If you want to request a feature or an improvement, also see this:
>>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>>
>>>
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>
>>
>> --
>>
>> Regards, Andrea Aime
>>
>> == GeoServer Professional Services from the experts! Visit
>> http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
>> Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
>> (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
>> http://www.geo-solutions.it http://twitter.com/geosolutions_it
>> ------------------------------------------------------- *Con riferimento
>> alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
>> Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
>> circostanza inerente alla presente email (il suo contenuto, gli eventuali
>> allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
>> destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
>> errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
>> sarei comunque grato se potesse darmene notizia. This email is intended
>> only for the person or entity to which it is addressed and may contain
>> information that is privileged, confidential or otherwise protected from
>> disclosure. We remind that - as provided by European Regulation 2016/679
>> “GDPR” - copying, dissemination or use of this e-mail or the information
>> herein by anyone other than the intended recipient is prohibited. If you
>> have received this email by mistake, please notify us immediately by
>> telephone or e-mail.*
>>
>

-- 

Regards, Andrea Aime

== GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
(LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
http://www.geo-solutions.it http://twitter.com/geosolutions_it
------------------------------------------------------- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to