[mapserver-users] Getting a WMS service up and running from shape data
Lid Sjur Ringheim
sjur.ringheim.lid at imr.no
Wed Apr 9 03:56:31 PDT 2008
Hi,
I have currently compiled and installed Mapserver 5.0.2 and are trying
to set up a WMS service on it. I got the demo working but are now having
problems getting my own shape files rendrered, the only output I get is
a white picture.
You can get the capabilities file here
http://talos.nodc.no/cgi-bin/mapserv?map=wms/sonate.map&SERVICE=WMS&VERS
ION=1.1.1&REQUEST=GetCapabilities
The Map file im using looks like this:
MAP
NAME SONATE
STATUS ON
SIZE 600 600
EXTENT 388107.6334400378 5203120.88405952 500896.339019834
5310243.30613897
UNITS METERS
SHAPEPATH "/var/www/wmsdata/sonate"
IMAGECOLOR 255 255 255
PROJECTION
"proj=latlong"
"ellps=WGS84"
"datum=WGS84"
END
WEB
METADATA
WMS_TITLE "sonate"
WMS_ONLINERESOURCE
"http://talos.nodc.no/cgi-bin/mapserv?map=wms/sonate.map"
WMS_SRS "epsg:4326 epsg:42304"
#north pole stereographic
END
LOG "/var/www/cgi-bin/test.log"
END
LAYER
NAME hvalross
TYPE POLYGON
DATA hvalross/hvalross_utbredelse
STATUS OFF
PROJECTION
"proj=latlong"
"ellps=WGS84"
END
METADATA
WMS_TITLE "Hvalross"
WMS_SRS "epsg:4326"
END
CLASS
NAME DYREGRUPPE
DEBUG ON
STYLE
COLOR 255 0 255
OUTLINECOLOR 255 0 0
END
END
#DUMP TRUE
END
END
But when I try to render the map all I get is a white picture. The shape
file im trying to render contains polygons with a WGS84 (North Pole
Stereographic) projection.
Do anyone have a tip as to where I should be looking to get more
information about this problem/know what might be wrong?
Best Regards
Sjur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080409/e0330320/attachment.htm>
More information about the MapServer-users
mailing list