Hi,
We're trying out Geoserver as an alternative engine to our current
commercial product. So far, we have been able to use our own layers
using shapefiles successfully (through WMS, WFS-T and KML).
To allow it to run in a production environment, geoserver needs to use
Oracle Spatial as a datasource. We are currently using the Oracle
Express version 10g.
Geoserver connects successfully to the datasource, but when trying to
add a feature, a lot of extra tables are presented. I think this is a
compatibility issue with newer oracle table naming schemes in
OracleDataStore
(http://www.koders.com/java/fidCDD1E8999683DBADA9799AEA79B1B800A0583EC3.aspx
) function 'allowTable'.
But most importantly, we can not create a new feature based on a table:
"WARNING: Could not map SRID 0 to
CRS:org.geotools.data.DataSourceException: No geometry column row for
srid in table: DGTP_V_RIJWEG, geometry column GEOMETRIE, be sure
column is defined in USER_SDO_GEOM_METADATA"
After some googling, I figured what was going wrong: the datasource
didn't contain any metadata. I inserted the one for this table
manually:
"INSERT INTO USER_SDO_GEOM_METADATA(TABLE_NAME,COLUMN_NAME,DIMINFO,SRID)
values('DGTP_V_RIJWEG','GEOMETRIE',
MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X', 0, 1000,
0.01),MDSYS.SDO_DIM_ELEMENT('Y', 0, 1000, 0.01)), '28992');"
After this, the error did not disappear. My knowledge of spatial
system ends here though, but before calling the dataset corrupt, I
would like to get a sensible error message from geoserver.
Are there any other steps left to try?
We're also currently trying out the data with Oracle Mapviewer, to
check if the data isn't corrupt.
Kind regards,
Pieter Jansen
--
http://pitr.net/