Hi
 
Add &service=WMS to the request.
http://greenstreamsa.com/wms.py?service=WMS&VERSION=1.1.1&REQUEST=GetCapabilities
 
It is good to have it always in GetMap requests against all the WMS servers 
even it may be not compulsory according to the standard.
 
-Jukka Rahkonen-
 


________________________________

        Jome Akpoduado  wrote:
        

        Hi all,

        So far I think I’ve made some progress in setting up a WMS server 
(basic). I can get images when I make I url mapping request like so …
        
http://greenstreamsa.com/wms.py?VERSION=1.1.1&REQUEST=GetMap&LAYERS=__all__&FORMAT=image/png&SRS=EPSG:4326&STYLES=&BBOX=-90,-20,40,40&EXCEPTIONS=application/vnd.ogc.se_inimage&width=1024&height=768

         

        Now when I want to use a WMS client (Nice Map Drupal module) to get 
capabilities, no results come back. When I run the same url nice map runs, I do 
get an XML output 
(http://greenstreamsa.com/wms?request=GetCapabilities&service=WMS). See an 
excerpt below.

         

         <ns0:WMS_Capabilities version="1.3.0" 
ns1:schemaLocation="http://www.opengis.net/wms 
http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd";>

        −

        <ns0:Service>

        <ns0:Name>WMS</ns0:Name>

        <Title>Oilwatch Mapping Server</Title>

         

        When I run the same getCapabilities against a WMS server example Dane 
kindly pointed to me, I get this output

         

        <WMS_Capabilities version="1.3.0" 
xsi:schemaLocation="http://www.opengis.net/wms 
http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd";>

        −

        <Service>

        <Name>WMS</Name>

        <Title>MapnikOGC</Title>

        <Abstract>The Mapnik OGC Server Sample Configuration</Abstract>

         

        Straightaway, I noticed that my xml output contains “ns0:” which I 
honestly have no clue what it is… (I’m very green when it comes to xml)

        This leads me to think it must be some settings issue with my server.

        Any ideas how this can be fixed?

         

        Many thanks…

         

         

        Jome.

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to