Opened 13 years ago

Closed 13 years ago

#3878 closed defect (fixed)

getFeatureInfo fails on Oracle data source with FEATURE_COUNT lower results (record out of range)

Reported by: astrid_emde Owned by: tamas
Priority: normal Milestone: 6.0.1 release
Component: Input - Native Oracle Spatial Support Version: 6.0
Severity: critical Keywords: featureInfo Oracle
Cc: s.senn@…, tamas, jmckenna, dmorissette

Description

We perform a WMS getFeatureInfo Request on an Oracle data source.

  • in the request FEATURE_COUNT=100 is defined (so I expect 100 results at the most)
  • at the position of the featureInfo there are more then 100 objects
  • I would exprect, that MapServer gets 100 results and ignores the rest
  • but instead of the featureInfo result I get an error msOracleSpatialLayerGetShape record out of rang

This is how the request looks like http://localhost/cgi-bin/mapserv6?map=/data/projekte/wms/umn/wms.map&VERSION=1.1.1&REQUEST=GetFeatureInfo&SERVICE=WMS&LAYERS=flussbuhnen&QUERY_LAYERS=flussbuhnen&WIDTH=625&HEIGHT=400&SRS=EPSG:31467&BBOX=2931821.5625,5248260,4262868.4375,6100130&STYLES=&FORMAT=image/png&INFO_FORMAT=text/html&EXCEPTIONS=application/vnd.ogc.se_xml&X=398&Y=178&FEATURE_COUNT=100

We get the following error:

msSetError( MS_ORACLESPATIALERR, "msOracleSpatialLayerGetShape record out of range","msOracleSpatialLayerGetShape()" );

This looks like the line in the code where the error occurs: see line 2398: http://trac.osgeo.org/mapserver/browser/trunk/mapserver/maporaclespatial.c#L2398

Change History (5)

comment:1 by tamas, 13 years ago

Cc: tamas added

comment:2 by jmckenna, 13 years ago

Cc: jmckenna added

comment:3 by dmorissette, 13 years ago

Cc: dmorissette added
Owner: changed from aboudreault to tamas

Reassigned. Sounds like Tamas is on it.

comment:4 by tamas, 13 years ago

Status: newassigned

Fixed in trunk (r11738) and branch-6-0 (r11739) Let me know how it works.

comment:5 by tiffyS, 13 years ago

Resolution: fixed
Status: assignedclosed

It works for me.

Note: See TracTickets for help on using tickets.