[mapserver-users] map server error message loadSymbol(): Unknown identifier. Parsing error near (GAP):(line33)
Rahkonen Jukka (MML)
jukka.rahkonen at maanmittauslaitos.fi
Fri Sep 15 03:56:49 PDT 2017
Hi,
Add also the INCLUDEd mapfiles. I guess that they contain GAP somewhere in a wrong place.
-Jukka Rahkonen-
Lähettäjä: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Stathis Arapostathis
Lähetetty: 15. syyskuuta 2017 12:59
Vastaanottaja: mapserver-users at lists.osgeo.org
Aihe: [mapserver-users] map server error message loadSymbol(): Unknown identifier. Parsing error near (GAP):(line33)
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/8d3102ad/attachment.htm>
More information about the MapServer-users
mailing list