Added by ziliujiang, last edited by ziliujiang on Apr 09, 2007

Labels

 
(None)

we use geoserver1.3.2,which is based upon gt2.2

and installed oracle 9.2+spatial extension on my winxp

copying those two jars from oraclehome to the server/geoserver/web-info/lib directory

and started using shp2sdo tool import shapefile into my oracle spatial;

after a  line type shapefile(mapobject sample data in WORLD..naming "river") data imported

we succeeded in Adding a new oracle data store in geoserver naming Test_River

When we continued Adding a new featuretype naming Test_River,CRS=4326, in debug mode,Eclipse console window print out message:

org.geotools.data.oracle.OracleDataStore - Could not map SRID 4326 to CRS:java.io.IOException: No CRS for srid 4326

we still finished adding this new feature type and preview it successfully.

The we followed the same steps to import and config a new data store for another shapefile data of polygon type

the same from  mapobject sample data in WORLD...naming "country".

adding a new data store successfully,too...

howerver,when we tried pleasantly to add a corresponding new feature type,CRS=4326,too

click the "generate" button,it failed and some message print out in the left hand of the web page...

The FeatureType 'TEST_COUNTRY' has a NULL extent.
HINT: the dataset is empty or has no default geometry attribute.

and Eclipse console window print out message:

org.geotools.data.oracle.OracleDataStore - Could not map SRID 4326 to CRS:java.io.IOException: No CRS for srid 4326

Too.

what is the wrong?and why the new featuretype of polygon data failed to be created?

we have tried many times,check the possible reasons long time,but this question still remains unsolved.

Would you be so kind to help me? Thanks.

Powered by a free Atlassian Confluence Open Source Project License granted to GeoServer . Evaluate Confluence today.

GeoServer wiki is hosted by OpenGeo - Contact Administrators