[Mapserver-users] WMS mapfile snippet/WMS test server
Nicolas Boretos
nicolas at maich.gr
Thu Apr 29 02:02:03 PDT 2004
Hello list,
Trying to test features of my static mapserver build (4.0.1) using msys...
My shape files test and queries work
My postgis stuff works..
Now while testing the WMS client stuff with this snippet in the map file...
I get the "msProcessProjection(): Projection library error. no system
list, errno: 2" that's been reported on the list..
I have the "EPSG:4326" projection in my .....cgi-bin/ms401/proj directory...
as well as in c:\proj, and c:\proj\nad...
I saw this comment on the list....
"If your server runs on Windows, then the epsg file is searched in
either C:\PROJ, or C:\PROJ\NAD depending on the version of PROJ that was
used to compile MapServer...."
As noted above, I've used msys/mingwin to compile ms, is this a problem?
I was under the impression that ms looked
into its own install dir for the proj directory....?
Here my mapfile snippet ...
##Extracted from WMS cookbook python script...
LAYER
NAME "RELIEF"
TYPE RASTER
STATUS ON
CONNECTION
"http://www.intl-interfaces.net/cookbook/WMS/basic-wms2/basic-wms2.py?"
CONNECTIONTYPE WMS
METADATA
"wms_srs" "EPSG:4326"
"wms_name" "RELIEF"
"wms_latlonboundingbox" "-2.197265625 39.55078125 20.302734375
50.80078125"
"wms_server_version" "1.0.0"
#"wms_formatlist" "image/gif,image/png,image/jpeg,image/wbmp"
"wms_format" "image/png"
END
END
###End WMS
Do I need anything in my WEB object?
Could someone supply a valid snippet that tests the WMS servers posted
at postgis site?
regards,
nicolas
More information about the MapServer-users
mailing list