[mapserver-users] WMS don't load
Steve.Toutant at inspq.qc.ca
Steve.Toutant at inspq.qc.ca
Wed Oct 1 06:11:37 PDT 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081001/8365e0c8/attachment.htm>
More information about the MapServer-users
mailing list