GeoServer
  1. GeoServer
  2. GEOS-3882

Error Invalid number of points in LinearRing (found 3 - must be 0 or >= 4)

    Details

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

      Description

      Hello,

      I use GeoServer with Oracle 10g R2 datastore and i get this error if i want to display a polgon geometry with line graphic representation.

      It's not conventional geometry form but others GIS application like Geomedia can display this geometry anomaly.

      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(3003,null,null,
      MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,1),
      MDSYS.SDO_ORDINATE_ARRAY(
      849566.389999911,108739.620002377,0,
      849557.649999911,108752.030002381,0,
      849566.389999911,108739.620002377,0
      ))
      );
      commit;

      Best regards.

      1. viales.backup
        432 kB
        jorge fernandez cancio

        Activity

        Hide
        Andrea Aime added a comment -

        Same as the other two. Please stop spamming the jira and try a nightly build.

        Show
        Andrea Aime added a comment - Same as the other two. Please stop spamming the jira and try a nightly build.
        Hide
        jorge fernandez cancio added a comment -

        please help me i have the same problem and i saw that the bug is not solved yet i have the same trouble but with geoserver and postgis and i used the last nightly build and it is not working neither please helpppppppp

        Show
        jorge fernandez cancio added a comment - please help me i have the same problem and i saw that the bug is not solved yet i have the same trouble but with geoserver and postgis and i used the last nightly build and it is not working neither please helpppppppp
        Hide
        Andrea Aime added a comment -

        Attach to the jira a dump of your database, the style and the wms request that makes it fail.

        Show
        Andrea Aime added a comment - Attach to the jira a dump of your database, the style and the wms request that makes it fail.
        Hide
        jorge fernandez cancio added a comment -

        This is my DB and the problem is with the viales table the style used was the polygon default style of geoserver and the wms query was the layer preview of a layer created from that data please help meeee

        Show
        jorge fernandez cancio added a comment - This is my DB and the problem is with the viales table the style used was the polygon default style of geoserver and the wms query was the layer preview of a layer created from that data please help meeee
        Hide
        Andrea Aime added a comment -

        Bulk closing all resolved issue that have not gotten any more feedback or comment in the last month

        Show
        Andrea Aime added a comment - Bulk closing all resolved issue that have not gotten any more feedback or comment in the last month

          People

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

            Dates

            • Created:
              Updated:
              Resolved: