It seems that your data contains MultiCurves (WKB Type 12) which are not
currently supported by JTS which is the underlying library used by
GeoServer to parse the data in a GeoPackage. It's possible that you can
rewrite the data as a simpler linestring if you want to work around this or
you can look into adding support for a wider range of geometry types in JTS
and GeoTools which would feed into GeoServer.

Ian

On Wed, 21 Oct 2020 at 19:43, Mohammed Alnajdi <mohdna...@gmail.com> wrote:

>
> Greeting Everyone,
>
> I am using the GeoServer with GeoNode implementation using Docker.
> I was trying to publish a layer from a GeoPackage Store type and when i
> click on Compute from data or save the layer i get this error message
>
> aused by: java.io.IOException: Error occured calculating bounds for 
> City_Boundary
>     at org.geotools.jdbc.JDBCDataStore.getBounds(JDBCDataStore.java:1305)
>     at 
> org.geotools.jdbc.JDBCFeatureSource.getBoundsInternal(JDBCFeatureSource.java:508)
>     ... 134 more
> Caused by: java.io.IOException: org.locationtech.jts.io.ParseException: 
> Unknown WKB type 12
>     at 
> org.geotools.geopkg.geom.GeoPkgGeomReader.read(GeoPkgGeomReader.java:175)
>     at 
> org.geotools.geopkg.geom.GeoPkgGeomReader.get(GeoPkgGeomReader.java:108)
>     at org.geotools.geopkg.GeoPkgDialect.geometry(GeoPkgDialect.java:184)
>     at org.geotools.geopkg.GeoPkgDialect.geometry(GeoPkgDialect.java:188)
>     at 
> org.geotools.geopkg.GeoPkgDialect.decodeGeometryEnvelope(GeoPkgDialect.java:132)
>     at org.geotools.jdbc.JDBCDataStore.getBounds(JDBCDataStore.java:1291)
>     ... 135 more
> Caused by: org.locationtech.jts.io.ParseException: Unknown WKB type 12
>     at org.locationtech.jts.io.WKBReader.readGeometry(WKBReader.java:235)
>     at org.locationtech.jts.io.WKBReader.read(WKBReader.java:156)
>     at 
> org.geotools.geopkg.geom.GeoPkgGeomReader.read(GeoPkgGeomReader.java:171)
>     ... 140 more
>
> Can someone guide me on how to debug this issue ?
>
> _______________________________________________
> 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

Reply via email to