Opened 13 years ago

Closed 13 years ago

#3705 closed defect (fixed)

WCS GetCoverage request crash when using version 2.0.0

Reported by: aboudreault Owned by: sdlime
Priority: normal Milestone: 6.0 release
Component: WCS Server Version: svn-trunk (development)
Severity: normal Keywords:
Cc: tbonfort, assefa, Schpidi

Description

I'm getting a crash with this request:

http://url/?map=gmap75.map&SERVICE=WCS&FORMAT=agg/png&VERSION=2.0.0&REQUEST=GetCoverage&coverageid=bathymetry

crash log:

mapserv: mapresample.c:1506: msResampleGDALToMap: Assertion `rb' failed.

The similar request using version 1.0.0 or 1.1.0 works perfectly.

My Layer config:

  NAME bathymetry
#  PROCESSING "CLOSE_CONNECTION=YES" 
  METADATA
    "DESCRIPTIDEFAULT" "Elevation/Bathymetry"
    "wfs_title"    "bathy" ## REQUIRED
    "gml_featureid" "bathy" ## REQUIRED
    "sos_enable_request" "!GetCapabilities"
    "sos_procedure"  "NS01EE0014" ## REQUIRED
    "sos_offering_id" "BATHYMETRY" ## REQUIRED
    "sos_observedproperty_id" "Water Quality" ## REQUIRED
    "sos_describesensor_url" "http://some/url/NS01EE0014.xml" ## REQUIRED
    "wcs_label"           "Elevation/Bathymetry"  ### required
    "wcs_rangeset_name"   "Range 1"               ### required to support DescribeCoverage request
    "wcs_rangeset_label"  "My Label"              ### required to support DescribeCoverage request
  END
  PROJECTION
    "init=epsg:4326"
  END
  DUMP TRUE
  TYPE RASTER
  status default
  DATA bath_mapserver.tif
END

Attachments (3)

mapserver_#3705.patch (771 bytes ) - added by Schpidi 13 years ago.
msautotest_#3705.patch (1.0 KB ) - added by Schpidi 13 years ago.
msautotest_#3705.zip (2.0 KB ) - added by Schpidi 13 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by sdlime, 13 years ago

Component: MapServer C LibraryWCS Server

Probably related to the avalanche of WCS patches I applied over the weekend, but which one. Changing component...

Steve

comment:2 by sdlime, 13 years ago

Cc: Schpidi added

comment:3 by Schpidi, 13 years ago

After figuring out that I've to add the new metadata elements from RFC 67 when using the latest trunk I can reproduce the problem. I'll have a look at it hopefully tomorrow.

comment:4 by aboudreault, 13 years ago

Schpidi, arf.. sorry about that. It wasn't committed when I created the ticket and I really just forgot to mention it.

by Schpidi, 13 years ago

Attachment: mapserver_#3705.patch added

by Schpidi, 13 years ago

Attachment: msautotest_#3705.patch added

by Schpidi, 13 years ago

Attachment: msautotest_#3705.zip added

comment:5 by Schpidi, 13 years ago

No problem, I was aware of that change coming :-)

I've attached a patch that should resolve the problem as well as a patch and expected result for msautotest to test it in future.

comment:6 by sdlime, 13 years ago

Resolution: fixed
Status: newclosed

Committed in r11038 and r11039. Closing...

Steve

Note: See TracTickets for help on using tickets.