[Geoserver-users] GeoJSON from Geoserver

HI ,
  When I go for the output of a polygon with GeoJSON format in Layer Preview
page I get the following error.
*java.lang.RuntimeException: org.geotools.data.DataSourceException: An
exception occurred while parsing WKB data
org.geotools.data.DataSourceException: An exception occurred while parsing
WKB data An exception occurred while parsing WKB data Unknown WKB type 255*

Any idea how to rectify it?

Aditya Kumar

-----
GIS Developer
India Urban Space Foundation
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoJSON-from-Geoserver-tp5062469.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

We need more information - where is the data stored? What does the rest of the exception say? etc

Ian

···

On 27 June 2013 05:51, adityakumar529 <adityakumar529@anonymised.com> wrote:

HI ,
When I go for the output of a polygon with GeoJSON format in Layer Preview
page I get the following error.
java.lang.RuntimeException: org.geotools.data.DataSourceException: An
exception occurred while parsing WKB data
org.geotools.data.DataSourceException: An exception occurred while parsing
WKB data An exception occurred while parsing WKB data Unknown WKB type 255

Any idea how to rectify it?

Aditya Kumar


GIS Developer
India Urban Space Foundation

View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoJSON-from-Geoserver-tp5062469.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Ian Turton

Hi Ian Turton,
   The data is stored in Postgres/PostGIS.
I am attaching the screenshot of the page.
<http://osgeo-org.1560.x6.nabble.com/file/n5062744/geoserver.png&gt;

Thanks
Aditya Kumar

-----
GIS Developer
India Urban Space Foundation
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoJSON-from-Geoserver-tp5062469p5062744.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Kumar,

is it working in other formats? (f.i.: xml)
If so, could you provide a small subset of the data to make some tests?
Probably also the logs can be useful.

Carlo

···

2013/6/27 adityakumar529 <adityakumar529@anonymised.com>

HI ,
When I go for the output of a polygon with GeoJSON format in Layer Preview
page I get the following error.
java.lang.RuntimeException: org.geotools.data.DataSourceException: An
exception occurred while parsing WKB data
org.geotools.data.DataSourceException: An exception occurred while parsing
WKB data An exception occurred while parsing WKB data Unknown WKB type 255

Any idea how to rectify it?

Aditya Kumar


GIS Developer
India Urban Space Foundation

View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoJSON-from-Geoserver-tp5062469.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev


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

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Dott. Carlo Cancellieri
@cancellieric
Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
mobile: +39 3371094494
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On Fri, Jun 28, 2013 at 9:33 AM, adityakumar529 <adityakumar529@anonymised.com>wrote:

Hi Ian Turton,
   The data is stored in Postgres/PostGIS.
I am attaching the screenshot of the page.
<http://osgeo-org.1560.x6.nabble.com/file/n5062744/geoserver.png&gt;

My guess is that you have some geometry type that is not supported by
GeoServer.
Maybe circular arcs?

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------