Opened 13 years ago

Closed 13 years ago

#3822 closed defect (fixed)

MS 6.0 beta 4: OGR outputformat truncates WMSGetCapabilities

Reported by: jratike80 Owned by: assefa
Priority: normal Milestone: 6.0 release
Component: WMS Server Version: 6.0
Severity: normal Keywords:
Cc: warmerdam

Description (last modified by warmerdam)

I have a working simple mapfile (attached) that works as WMS. If I add the following outputformat

OUTPUTFORMAT
   NAME "OGRGML"
    DRIVER "OGR/GML"
    FORMATOPTION "STORAGE=filesystem"
    FORMATOPTION "FORM=multipart"
    FORMATOPTION "FILENAME=result.gml"
  END

the WMS GetCapablities document gets truncated.

I were testing with MS4W 3.01 and the MS 6.0 beta4 package on Windows 2003 server.

Attachments (3)

ms6beta4.map (1.3 KB ) - added by jratike80 13 years ago.
mapfile used in the test
truncated.txt (4.0 KB ) - added by jratike80 13 years ago.
truncated GetCapabilities
not_truncated.txt (5.4 KB ) - added by jratike80 13 years ago.
normal GetCapabilities withour OGR outputformat

Download all attachments as: .zip

Change History (9)

by jratike80, 13 years ago

Attachment: ms6beta4.map added

mapfile used in the test

by jratike80, 13 years ago

Attachment: truncated.txt added

truncated GetCapabilities

by jratike80, 13 years ago

Attachment: not_truncated.txt added

normal GetCapabilities withour OGR outputformat

comment:1 by warmerdam, 13 years ago

Cc: warmerdam added
Description: modified (diff)

comment:2 by jratike80, 13 years ago

I double checked that Windows environment parameters were OK. They seem to be. I started Mapserver by running first setenv.bat from d:\ms4w and then going to d:\ms4w\apache\bin\ and starting httpd.exe from the same command window, thus paths should be OK. I also checked that I had no other installations running on other server ports.

Other OGR outputformats definitions in the mapfile are producing a similar truncated output, for example this

  OUTPUTFORMAT
    NAME "OGRGeoJSON"
    DRIVER "OGR/GeoJSON"
  END

In both cases GetMap works normally and returns correct image (tested with format=image/png).

comment:3 by dmorissette, 13 years ago

Milestone: 6.0 release

comment:4 by assefa, 13 years ago

Owner: changed from mapserverbugs to assefa

comment:5 by assefa, 13 years ago

This should be foxed in trunk r11522. Please try with next beta.

comment:6 by assefa, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.