I have created a sample Mapserver .map file with information about my map data
as follows:
MAP
NAME World
STATUS ON
SIZE 400 300
SYMBOLSET ../etc/symbols.txt
EXTENT -180 -90 180 90
UNITS DD
SHAPEPATH "data"
IMAGECOLOR 0 0 0
WEB
IMAGEPATH "C:/OSGeo4W/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
END
LAYER
NAME WorldLayer
TYPE POLYGON
CONNECTIONTYPE OGR
CONNECTION "data/world.Tab"
STATUS ON
END
END
When I call MapServer with the url:
http://127.0.0.1/cgi-bin/mapserv.exe?MAP=C:\OSGeo4W\apps\ramm-demo\ramm.map&SERVICE=wms&VERSION=1.1.1&LAYERS=WorldLayer&REQUEST=GetMap&BBOX=-180,-90,180,90&FORMAT=image/png&WIDTH=400&HEIGHT=300
I get the following error instead of an image:
getString(): Symbol definition error. Parsing error near ('):(line 16)
Would anyone know were my mistake is?
Pier Nardin_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users