[mapserver-users] MS 6.0 beta 4: OGR outputformat truncates WMS GetCapabilities
Daniel Morissette
dmorissette at mapgears.com
Fri Apr 8 05:14:27 PDT 2011
Looks like a seg fault (crash). You're on Windows, right? Can you please
create a ticket? We may need more info to reproduce it once someone
starts looking into it.
Thanks
Daniel
On 11-04-08 08:10 AM, Rahkonen Jukka wrote:
> Hi,
> I was playing with the ORG outputformats. On the bottom I have a working
> mapfile for WMS. I took this section
> OUTPUTFORMAT
> NAME "OGRGML"
> DRIVER "OGR/GML"
> FORMATOPTION "STORAGE=filesystem"
> FORMATOPTION "FORM=multipart"
> FORMATOPTION "FILENAME=result.gml"
> END
> from document http://mapserver.org/trunk/output/ogr.html and added it
> into my mapfile. As a result the WMS GetCapabilities requsts fails. The
> response is truncated. All that is coming out is pasted here below
> <?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
> <!DOCTYPE WMT_MS_Capabilities SYSTEM
> "http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd"
> [
> <!ELEMENT VendorSpecificCapabilities EMPTY>
> ]> <!-- end of DOCTYPE declaration -->
> <WMT_MS_Capabilities version="1.1.1">
> <!-- MapServer version 6.0.0-beta4 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
> OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=CAIRO SUPPORTS=FREETYPE
> SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
> SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
> SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS
> INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
> <Service>
> <Name>OGC:WMS</Name>
> <Title>Kaverin WMS-testipalvelu</Title>
> <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://localhost/cgi-bin/mapserv.exe?"/>
> <ContactInformation>
> </ContactInformation>
> </Service>
> <Capability>
> <Request>
> <GetCapabilities>
> <Format>application/vnd.ogc.wms_xml</Format>
> <DCPType>
> <HTTP>
> <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://localhost/cgi-bin/mapserv.exe?"/></Get
> <http://localhost/cgi-bin/mapserv.exe?"/></Get>>
> <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://localhost/cgi-bin/mapserv.exe?"/></Post
> <http://localhost/cgi-bin/mapserv.exe?"/></Post>>
> </HTTP>
> </DCPType>
> </GetCapabilities>
> <GetMap>
> <Format>image/png</Format>
> <Format>image/jpeg</Format>
> <Format>image/gif</Format>
> <Format>image/png; mode=8bit</Format>
> <Format>application/x-pdf</Format>
> <Format>image/svg+xml</Format>
> <Format>image/tiff</Format>
> <Format>application/vnd.google-earth.kml+xml</Format>
> <Format>application/vnd.google-earth.kmz</Format>
> <DCPType>
> <HTTP>
> <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://localhost/cgi-bin/mapserv.exe?"/></Get
> <http://localhost/cgi-bin/mapserv.exe?"/></Get>>
> <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://localhost/cgi-bin/mapserv.exe?"/></Post
> <http://localhost/cgi-bin/mapserv.exe?"/></Post>>
> </HTTP>
> </DCPType>
> </GetMap>
> <GetFeatureInfo>
> <Format>text/plain</Format>
> <Format>application/vnd.ogc.gml</Format>
> <DCPType>
> <HTTP>
> <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://localhost/cgi-bin/mapserv.exe?"/></Get
> <http://localhost/cgi-bin/mapserv.exe?"/></Get>>
> <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://localhost/cgi-bin/mapserv.exe?"/></Post
> <http://localhost/cgi-bin/mapserv.exe?"/></Post>>
> </HTTP>
> </DCPType>
> </GetFeatureInfo>
> <DescribeLayer>
> <Format>text/xml</Format>
> <DCPType>
> <HTTP>
> <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://localhost/cgi-bin/mapserv.exe?"/></Get
> <http://localhost/cgi-bin/mapserv.exe?"/></Get>>
> <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://localhost/cgi-bin/mapserv.exe?"/></Post
> <http://localhost/cgi-bin/mapserv.exe?"/></Post>>
> </HTTP>
> </DCPType>
> </DescribeLayer>
> <GetLegendGraphic>
> <Format>image/png</Format>
> <Format>image/jpeg</Format>
> <Format>image/gif</Format>
> <Format>image/png; mode=8bit</Format>
> <DCPType>
> <HTTP>
> <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://localhost/cgi-bin/mapserv.exe?"/></Get
> <http://localhost/cgi-bin/mapserv.exe?"/></Get>>
> <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://localhost/cgi-bin/mapserv.exe?"/></Post
> <http://localhost/cgi-bin/mapserv.exe?"/></Post>>
> </HTTP>
> </DCPType>
> </GetLegendGraphic>
> <GetStyles>
> <Format>text/xml</Format>
> <DCPType>
> <HTTP>
> <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://localhost/cgi-bin/mapserv.exe?"/></Get
> <http://localhost/cgi-bin/mapserv.exe?"/></Get>>
> <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://localhost/cgi-bin/mapserv.exe?"/></Post
> <http://localhost/cgi-bin/mapserv.exe?"/></Post>>
> </HTTP>
> </DCPType>
> </GetStyles>
> </Request>
> <Exception>
> <Format>application/vnd.ogc.se_xml</Format>
> <Format>application/vnd.ogc.se_inimage</Format>
> <Format>appl
> -Jukka Rahkonen-
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000
More information about the MapServer-users
mailing list