Error : Points of LinearRing do not form a closed linestring
------------------------------------------------------------
Key: GEOS-3881
URL: http://jira.codehaus.org/browse/GEOS-3881
Project: GeoServer
Issue Type: Bug
Components: Oracle
Affects Versions: 2.0.1
Environment: Windows server 2003 R2, OpenLayers 2.8
Reporter: kamardine
Assignee: Andrea Aime
Hello,
I use GeoServer with Oracle 10g R2 datastore and i get the error if i want to display a polgon geometry represents triangle define with 3 points.
It's not conventional geometry form but others GIS application like Geomedia can display this geometry.
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,
819557.649999911,148752.030002381,0,
889566.389999911,188739.620002377,0
))
);
commit;
Best regards.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira