I am using MS4w v 3.0.3 (with Java mapscript) with Oracle Spatial 11g. Can we add layers to MapServer mapfile from oracle database views? If yes, is there any specific way to create views with spatial column for mapserver mapfile?
I am getting the following error when I try to add a layer from a view :
Exception in thread "http-bio-8080-exec-1" java.lang.UnknownError: msDrawMap(): Image handling error. Failed to draw layer named 'amplifier'.;msOracleSpatialLayerWhichShapes(): OracleSpatial error. Error: ORA-13226: interface not supported without a spatial index.