[mapserver-users] 5.x Tutorial on mapserv -v (raster doesn't work)
Fawcett, David
David.Fawcett at state.mn.us
Thu Jun 18 07:21:36 PDT 2009
Ivan,
You are likely running up against a change in requirements for map and
symbol files that was implemented to improve security.
Here is a description of what was done:
http://mapserver.org/development/rfc/ms-rfc-56.html?highlight=symbolset
The fix is easy. You just need to make sure that the first word in your
symbolset file is 'SYMBOLSET'. There are similar requirements for map
files and MapServer templates starting with 5.2.2. I am not sure if the
key words are case-sensitive or not.
David.
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Lucena,
Ivan
Sent: Thursday, June 18, 2009 9:05 AM
To: mapserver-users
Subject: [mapserver-users] 5.x Tutorial on mapserv -v (raster doesn't
work)
Hi there,
I am using the MapServer distribution from OSGeo4w and the Totorial 5.x
doesn't show the map in any raster or WMS examples.
C:\OSGeo4W > mapserv -v
MapServer version 5.2.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE
SUPPORTS=ICONV SUPPORTS =FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WF S_CLIENT SUPPORTS=WCS_SERVER
SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREA DS SUPPORTS=GEOS
SUPPORTS=RGBA_PNG INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE
I download the "tutorial.zip" by "Created by Pericles S. Nacionales Last
updated: 20071020".
I added that line on "C:\OSGeo4W\apache\conf\httpd.conf" :
---
# parse MS4W apache conf files
include "C:\ms4w/httpd.d/httpd_*.conf"
---
The address "http://locahost/tutorial" works just fine. Like my Linux
machine.
But examples with raster and WMS doesn't.
http://localhost/tutorial/example1-5.html
http://localhost/tutorial/example1-6.html
http://localhost/tutorial/example1-7.html
http://localhost/tutorial/example1-8.html
The rest of the sections and examples just return this error here:
---
msLoadSymbolSet(): Unknown identifier. First token must be SYMBOLSET,
this doesn't look like a symbol file.
---
In C:\OSGeo4W\apache\logs\error.log there is no error message related to
that.
Does anyone know what could be wrong?
Thanks in advance,
Ivan
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list