[mapserver-users] WMS don't load

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Wed Oct 1 07:03:38 PDT 2008


Hi,

All I can say now is that your attached mapfile works on my computer (Vista, ms4w with MapServer version 5.0.2).

-Jukka-


-----Alkuperäinen viesti-----
Lähettäjä: Steve.Toutant at inspq.qc.ca [mailto:Steve.Toutant at inspq.qc.ca]
Lähetetty: ke 1.10.2008 16:11
Vastaanottaja: Rahkonen Jukka
Kopio: mapserver-users at lists.osgeo.org
Aihe: Re: [mapserver-users] WMS don't load
 
I agree this connection was not a good example. Before creating the 
mapfile I used it to get a map on Internet Explorer to verify if I had a 
network problem. Since it was working I put it in the mapfile
I created the following mapFile based on this example 
http://mapserver.gis.umn.edu/docs/howto/wms_client/#adding-a-wms-layer
and it still work on one server but not on the other. I get the blank 
page.

When I test the mapFile with shp2img I got this message
shp2img -m TutorielStatic.map -o test.png
msProcessProjection(): Projection library error. No such file or directory 
<br>
I got this message on the server who works well also. My EPSG file 
contains 4326. Can't see why I get that error.

The second server is installed on a virtual environment on a vmware 
infrastructure. I'll talk with our network admin to see if it could be an 
issue.

Here is the mapFile I'm now using.
thanks for your help,
steve
:
MAP
  IMAGETYPE      PNG
  EXTENT         -80.43000 44.99000 -57.64000 62.78000
  SIZE           400 300
  IMAGECOLOR     255 255 255 #Background color

  PROJECTION
    "init=epsg:4326" #wgs84 lat long
  END

  WEB
    IMAGEPATH "/ms4w/tmp/ms_tmp/"
    IMAGEURL  "/ms_tmp/"
  END

LAYER
  NAME "prov_bound"
  TYPE RASTER
  STATUS default
  CONNECTION "http://www2.dmsolutions.ca/cgi-bin/mswms_gmap?"
  CONNECTIONTYPE WMS
  METADATA
    "wms_srs"             "EPSG:42304"
    "wms_name"            "prov_bound"
    "wms_server_version"  "1.1.1"
    "wms_format"          "image/gif"
  END
END

END






More information about the MapServer-users mailing list