GeoServer
  1. GeoServer
  2. GEOS-3880

WmsException: Rendering process failed with a line geometry of null length

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: Oracle
    • Labels:
      None
    • Environment:
      Windows server 2003 R2, OpenLayers 2.8
    • Testcase included:
      yes
    • Number of attachments :
      0

      Description

      Hello,

      I use GeoServer with Oracle 10g R2 datastore and i can not display a line geometry which the first and the end point are the same.

      In other GIS software it load a point

      Here is the instructions to make the contexte of reproducing of the error :

      create table geoserver_crash_geometry (id number(10),geometry1 msdsys.sdo_geometry, constraint geoserver_crash_geometry_pk primary key(id));

      insert into user_sdo_geom_metadata (table_name, column_name,diminfo, srid )
      values('GEOSERVER_CRASH_GEOMETRY','GEOMETRY1',mdsys.sdo_dim_array(mdsys.sdo_dim_element('x',100000,1100000,0.001),mdsys.sdo_dim_element('y',-300000,700000,0.001),mdsys.sdo_dim_element('z',-1000,10000,0.001)),NULL);

      commit;
      create index geoserver_crash_geometry$idgeo on geoserver_crash_geometry(geometry1) indextype is mdsys.spatial_index;

      insert into geoserver_crash_geometry values(1,
      MDSYS.SDO_GEOMETRY(3002,null,null,
      MDSYS.SDO_ELEM_INFO_ARRAY(1,2,1),
      MDSYS.SDO_ORDINATE_ARRAY(
      784394.179999936,155710.240002316,0,
      784394.179999936,155710.240002316,0
      ))
      );
      commit;

      Best regards.

        Activity

        Hide
        Andrea Aime added a comment -

        I think I already fixed this one as well, but it was for a sligtly less degenerate case, a line going from A to B and then back to A with only two segments.
        Can you try a nightly build of both GeoServer and the Oracle datastore and confirm?
        http://gridlock.openplans.org/geoserver/2.0.x/

        Show
        Andrea Aime added a comment - I think I already fixed this one as well, but it was for a sligtly less degenerate case, a line going from A to B and then back to A with only two segments. Can you try a nightly build of both GeoServer and the Oracle datastore and confirm? http://gridlock.openplans.org/geoserver/2.0.x/
        Hide
        Paul Joyce added a comment -

        I have tested this in 2.0.2 (with 11gR2) and it seems to be fixed. I cannot reproduce it.

        Show
        Paul Joyce added a comment - I have tested this in 2.0.2 (with 11gR2) and it seems to be fixed. I cannot reproduce it.
        Hide
        Andrea Aime added a comment -

        Mass closing all issues that have been in the resolved state for the last month without anyone commenting or reopening them

        Show
        Andrea Aime added a comment - Mass closing all issues that have been in the resolved state for the last month without anyone commenting or reopening them

          People

          • Assignee:
            Andrea Aime
            Reporter:
            kamardine
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: