Re: [mapserver-users] getCapabilities problems

2008-05-13 Thread Jacolin Yves
Hi,

This url seems ok to me,  I succeed to dowload the XML file.

You probably find the problem ;)

Regards,

Y.
Le Tuesday 13 May 2008 15:03:40 Stefan Schwarzer, vous avez écrit :
 Hi there,

 my getCapabilities request seems to have a problem... But I have no
 idea why. I've reduced the whole thing on a couple of lines (see
 below), but still it doesn't work. Can anyone give me a hint why that
 would be?

 Thanks for any suggestion!

 Stef



   
 http://gridca.grid.unep.ch/cgi-bin/mapserv?map=/www/geodataportal/htdocs/m
od_map/geo_wms.mapservice=wmsversion=1.1.1request=getcapabilities



   # Map definition -

   NAME geo_wms.map
   STATUS ON
   SIZE 600 300
   EXTENT -180 -90 180 90
   UNITS DD
   IMAGECOLOR 255 255 255
   SHAPEPATH '/www/geodataportal/htdocs/../data'
   FONTSET '/www/geodataportal/htdocs/mod_map/etc/fonts.txt'
   SYMBOLSET '/www/geodataportal/htdocs/mod_map/etc/symbols.sym'

   # End Map definition -




   # Projection definition -

   PROJECTION
   'init=epsg:4326'
   END

   # End Projection definition -




   # Web definition -

   WEB
   IMAGEPATH '/www/geodataportal/temp/'
   IMAGEURL 'http://gridca.grid.unep.ch/geodataportal/temp/'
   METADATA
   'wms_title'  'GEO Data Portal WMS Server'
   'wms_service_onlineresource'
 'http://gridca.grid.unep.ch/cgi-bin/mapserv?map=/www/geodataportal/htdocs/m
od_map/geo_wms.map' 'wms_srs''EPSG:4326'
  'wms_getfeatureinfo'
 'http://gridca.grid.unep.ch/cgi-bin/mapserv?map=/www/geodataportal/htdocs/m
od_map/geo_wms.map' 'wms_featureinfoformat'  'text/plain'
  END
   END

   # End Web definition -


   END # Map File


 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users



-- 
Yves Jacolin
---
http://softlibre.gloobe.org
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] getCapabilities problems

2008-05-13 Thread Stefan Schwarzer
my getCapabilities request seems to have a problem... But I have no  
idea why. I've reduced the whole thing on a couple of lines (see  
below), but still it doesn't work. Can anyone give me a hint why  
that would be?


so, it seems to be correct; it just doesn't display the XML file in my  
browser(s) (Safari, Firefox)...

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] getCapabilities problems

2008-05-13 Thread Bart van den Eijnden (OSGIS)
That's logical, since OGC did not define the mime-type as text/xml, but 
as application/vnd.ogc.wms_xml instead, so browsers have no clue what to 
do with it, so present the download dialog. You can probably configure 
your browser to display it as XML though.


Best regards,
Bart

Stefan Schwarzer wrote:
my getCapabilities request seems to have a problem... But I have no 
idea why. I've reduced the whole thing on a couple of lines (see 
below), but still it doesn't work. Can anyone give me a hint why that 
would be?


so, it seems to be correct; it just doesn't display the XML file in my 
browser(s) (Safari, Firefox)...

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users





--
Bart van den Eijnden
OSGIS, Open Source GIS
[EMAIL PROTECTED]
http://www.osgis.nl

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users