[mapserver-users] aking help about wms connection with mapserver

Boubacar Bah bahbouba.909 at gmail.com
Sun Sep 19 17:38:05 PDT 2021


good evenin recently i created a mapfile which shoul use a wms server to
display a map but oce that i run the url below in the browser:
*http://localhost/cgi-bin/mapserv?map=C:/ms4w/Apache/htdocs/wms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=country_bounds&STYLES=&SRS=EPSG:4326&BBOX=-173.537,35.8775,-11.9603,83.8009&WIDTH=400&HEIGHT=300&FORMAT=image/png
<http://localhost/cgi-bin/mapserv?map=C:/ms4w/Apache/htdocs/wms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=country_bounds&STYLES=&SRS=EPSG:4326&BBOX=-173.537,35.8775,-11.9603,83.8009&WIDTH=400&HEIGHT=300&FORMAT=image/png>*
they send me an error below:
*The requested URL was not found on this server.*
this is my layer below :
LAYER
   NAME  modis_nasa
   TYPE  RASTER
   OFFSITE 0 0 0
   STATUS  OFF
   CONNECTIONTYPE   WMS
   CONNECTION      "https://neo.sci.gsfc.nasa.gov/wms/wms?"
   METADATA
    "wms_srs" "EPSG:4326"
    "wms_name" "MOD_143D_RR"
    "wms_server_version" "1.1.1"
    "wms_format" "image/jpeg"
   END
   PROJECTION
     "init=EPSG:4326"
   END
END


now i want to know how to fix this problem
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20210920/36a591c1/attachment.html>


More information about the MapServer-users mailing list