[mapserver-users] possible bug in oracle spatial support regarding WFS 1.0.0

Holger Porath porath at web.de
Thu Apr 25 11:11:37 PDT 2013


Hi all!

We made some further testing on WFS 1.0.0/ MapServer 6.2.0 and found out that MapServer obviously does not provide an extent when calling msOracleSpatialLayerWhichShapes. The MapServer debug log shows following entry:

msOracleSpatialLayerWhichShapes. Bind values: srid:-1   minx:0.000000   miny:0.000000  maxx:0.000000  maxy:0.000000 
msQueryByRect(): Search returned no results. No matching record(s) found.
msProjectRect(): Warning: degenerate rect {0.000000,0.000000,0.000000,0.000000}

The same getFeature (filter) request with WFS version set from 1.0.0 to 1.1.0 works correctly and the log then reads:

msOracleSpatialLayerWhichShapes. Bind values: srid:-1   minx:400000.000000   miny:5000000.000000  maxx:500000.000000   maxy:6000000.000000 

It seems that this is a bug that came in with MapServer 6.x. If we submit a WFS 1.0.0 request to map server 5.6.3 everything is fine and the debug log states:

msOracleSpatialLayerWhichShapes. Bind values: srid:-1   minx:399996.701914   miny:5399998.334331  maxx:600003.563487   maxy:5800001.763759 

Is there anybody who can fix this and provide a patch so that we can recompile MapServer?

Thanks in advance.
Holger





More information about the mapserver-users mailing list