Hi there,
i am trying to get get geoserver to draw from an Oracle Table (in Oracle
10g) containing more than 1 SDO_GEOMETRY.
When i try to calculate the bounding box, i get an error, because the first
geometry column is empty (we have a generic datamodel for different
clients).
I need to draw from the second geometry column.
I tried to find the answer on the net. What i did find/do:
- entered the bbox manually
- used an SLD and specified the correct Geometry column inside the SLD.
What then happens is that i get the following error:
08 Jun 15:54:41 ERROR [geoserver.ows] -
org.vfny.geoserver.wms.WmsException: The requested Style can not be used
with this layer. The style specifies an attribute of geom2 and the layer
is: data:parcels
So for some reason he doesn't find the second geometry column.
I did not find a description anywhere how to choose the geometry-column (i
assume i must specify it earlier?). I tried using both the Oracle (OCI) and
the Oracle NG datastore, but they gave the same results.
I am using GeoServer 1.7.4 on Windows.
Any suggestions or hints would be greatly appreciated
--
View this message in context: http://www.nabble.com/Oracle-multiple-SDO_geometry-fields-tp23924656p23924656.html
Sent from the GeoServer - User mailing list archive at Nabble.com.