[mapserver-users] MS 6.0 beta 4: OGR outputformat truncates WMSGetCapabilities

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Fri Apr 8 08:42:46 EDT 2011


 Done, #3822 with a simple mapfile that truncates GetCapabilities for me. And yes, I am on Windows, server 2003 and MS4W with MS 6.0 beta4 package.

-Jukka Rahkonen-

> -----Alkuperäinen viesti-----
> Lähettäjä: mapserver-users-bounces at lists.osgeo.org 
> [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta 
> Daniel Morissette
> Lähetetty: 8. huhtikuuta 2011 15:14
> Vastaanottaja: mapserver-users at lists.osgeo.org
> Aihe: Re: [mapserver-users] MS 6.0 beta 4: OGR outputformat 
> truncates WMSGetCapabilities
> 
> 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
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 


More information about the mapserver-users mailing list