geometries must not contain null elements

View: New views
4 Messages — Rating Filter:   Alert me  

geometries must not contain null elements

by Eija () :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Another error I get from some layers:
code="Internal error"org.vfny.geoserver.wms.WmsException: Rendering process failed
Rendering process failed
Error rendering feature
geometries must not contain null elements

I'm using Oracle 10g with locator feature and Geoserver 2.0.

When I choose tiled in the preview window, some tiles render as they should, and some have an error message.

This is what it looks like:

Eija

Re: geometries must not contain null elements

by Justin Deoliveira-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Eija,

You will need to include the full stack trace from the logs for this to
have any meaning. Information about the layer that produces this error
is also hlepful.

-Justin

Eija wrote:
> Another error I get from some layers:
> code="Internal error"org.vfny.geoserver.wms.WmsException: Rendering process
> failed
> Rendering process failed
> Error rendering feature
> geometries must not contain null elements
>
> Eija

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Re: geometries must not contain null elements

by Eija :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

we have at last found out what is 'wrong' with out data. It seems like geoserver cannot handle circle arcs.

This is OK:
GEOMETRI(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
--------------------------------------------------------------------------------
SDO_GEOMETRY(2002, 262148, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRA
Y(124253,017, 77680,244, 124265,338, 77668,545))

This gives the null element error:
GEOMETRI(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
--------------------------------------------------------------------------------
SDO_GEOMETRY(2002, 262148, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 2), SDO_ORDINATE_ARRA
Y(118895,506, 77925,3517, 118899,913, 77929,318, 118901,3, 77935,0828))

Is this supposed to be so or is it a bug?

Eija

Eija wrote:
Another error I get from some layers:
code="Internal error"org.vfny.geoserver.wms.WmsException: Rendering process failed
Rendering process failed
Error rendering feature
geometries must not contain null elements

I'm using Oracle 10g with locator feature and Geoserver 2.0.

When I choose tiled in the preview window, some tiles render as they should, and some have an error message.

This is what it looks like:

Eija

Re: geometries must not contain null elements

by Andrea Aime-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eija ha scritto:

> Hi,
>
> we have at last found out what is 'wrong' with out data. It seems like
> geoserver cannot handle circle arcs.
>
> This is OK:
> GEOMETRI(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO,
> SDO_ORDINATES)
> --------------------------------------------------------------------------------
> SDO_GEOMETRY(2002, 262148, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1),
> SDO_ORDINATE_ARRA
> Y(124253,017, 77680,244, 124265,338, 77668,545))
>
> This gives the null element error:
> GEOMETRI(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO,
> SDO_ORDINATES)
> --------------------------------------------------------------------------------
> SDO_GEOMETRY(2002, 262148, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 2),
> SDO_ORDINATE_ARRA
> Y(118895,506, 77925,3517, 118899,913, 77929,318, 118901,3, 77935,0828))
>
> Is this supposed to be so or is it a bug?

It is supposed to be so. We don't support any kind of curved geometry.
There is some interest in getting that working, but not in the short
term, the changes needed are unfortunately nothing short of an
earthquake in a codebase that assumes JTS geometries everywhere (which
only support geometries made of straight segments).

One way to add support for those geometries in the short term could
be to linearize them somehow. Not a small task either, but much
more approachable then the above.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users