map server error message loadSymbol(): Unknown identifier. Parsing error near (GAP):(line33)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

map server error message loadSymbol(): Unknown identifier. Parsing error near (GAP):(line33)

e.arapostathis

Hello,

 

  Im 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 Im 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


_______________________________________________
mapserver-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapserver-users