[mapserver-users] map server error message loadSymbol(): Unknown identifier. Parsing error near (GAP):(line33)
Stathis Arapostathis
e.arapostathis at gmail.com
Fri Sep 15 02:59:04 PDT 2017
Hello,
I'm receiving the following error message when trying to display a map
through a map file using fastcgi.
In particular the error message is the following:
loadSymbol(): Unknown identifier. Parsing error near (GAP):(line 33)
The url I'm typing is the following:
http://localhost/cgi-bin/mapserv.exe?MAP=C://ms4w/apps/museum_geomoose2/maps
/data/perioxesgmerc/perioxesgmerc.map
The map file:
# Map file created from QGIS project file
C:/Users/postgres/Desktop/perioxesgmerc.qgs
# Edit this file to customize for your map interface
# (Created with PyQgis MapServer Export plugin)
MAP
NAME perioxesgmerc
# Map image size
SIZE 800 650
STATUS ON
EXTENT 20.7104 31.1645 33.4366 41.0614
UNITS METERS
PROJECTION
"proj=merc"
"lon_0=0"
"lat_ts=0"
"x_0=0"
"y_0=0"
"a=6378137"
"b=6378137"
"units=m"
"no_defs"
END
TRANSPARENT TRUE
INCLUDE "geomoose_globals.map"
WEB
INCLUDE "temp_directory.map"
END
QUERYMAP
STATUS ON
STYLE HILITE
END
LAYER
NAME "perioxesgmerc"
TYPE POINT
CONNECTIONTYPE postgis
CONNECTION "host=localhost:5432 user=postgres password=1234
dbname=nath_museum"
DATA "geom FROM perioxes"
STATUS DEFAULT
TRANSPARENCY 100
CLASSITEM "type"
CLASS
EXPRESSION "1"
NAME "City"
SYMBOL "cities"
SIZE 16
COLOR 81 240 73
END
CLASS
EXPRESSION "3"
NAME "Island"
SYMBOL "island"
SIZE 16
COLOR 81 240 73
END
CLASS
EXPRESSION "2"
NAME "Mountain"
SYMBOL "mountain"
SIZE 16
COLOR 170 0 0
END
CLASS
EXPRESSION "4"
NAME "River"
SYMBOL "river"
SIZE 16
COLOR 33 19 134
END
TOLERANCEUNITS METERS
TOLERANCE 14000
METADATA
"identify_record"
"identify_perioxesgmerc.html"
"popups"
"perioxesgmerc_popup.html"
END
END
END
Could anyone help please?
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170915/7c20c7d1/attachment.htm>
More information about the MapServer-users
mailing list