[mapserver-users] map server error message loadSymbol(): Unknown identifier. Parsing error near (GAP):(line33)
Jeff McKenna
jmckenna at gatewaygeomatics.com
Mon Sep 18 06:04:58 PDT 2017
By the way Stathis, which plugin and QGIS version are you using to
generate the mapfile? I am not aware of a plugin that works with recent
QGIS.
(I keep a running QGIS 1.8 here, just to have a working and reliable
"QGIS mapfile export" tool. I more recent "RT Mapfile Export" plugin is
not being maintained.
However please let me know if I am incorrect.
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
On 2017-09-18 5:34 AM, e.arapostathis wrote:
> Thank you
>
> I have resolved it.
>
>
>
> Enviado desde mi smartphone Samsung Galaxy.
>
> -------- Mensaje original --------
> De: Havard Tveite <havard.tveite at nmbu.no>
> Fecha: 18/9/17 9:49 (GMT+02:00)
> Para: mapserver-users at lists.osgeo.org
> Asunto: Re: [mapserver-users] map server error message loadSymbol():
> Unknown identifier. Parsing error near (GAP):(line33)
>
> For examples see:
>
> http://mapserver.org/mapfile/symbology/construction.html#use-of-the-pattern-and-gap-parameters
>
> Håvard
>
> On 15. sep. 2017 14:44, Rahkonen Jukka (MML) wrote:
> > Hi,
> >
> > When I say ”GAP” I mean “GAP”. You have that in the “railway” symbol.
> >
> > SYMBOL
> >
> > NAME 'railway'
> >
> > TYPE TRUETYPE
> >
> > FONT 'Tahoma'
> >
> > CHARACTER '|'
> >
> > GAP 10
> >
> > END
> >
> > There are better experts on this list but I guess that GAP should not be
> > there http://www.mapserver.org/mapfile/symbol.html.
> >
> > I can read from http://www.mapserver.org/mapfile/style.html#style a
> > sentence “New in version 6.0: moved from SYMBOL”
> >
> > I would read migration info from 5.x -> 6.0. Perhaps there is explained
> > what to do with “GAP” that used to be inside SYMBOL. First aid is to
> > comment out that line. Then you should see your map or at least go
> > further to the next error.
> >
> > -Jukka Rahkonen-
> >
> > *Lähettäjä:* Stathis Arapostathis [mailto:e.arapostathis at gmail.com]
> > *Lähetetty:* 15. syyskuuta 2017 15:35
> > *Vastaanottaja:* Rahkonen Jukka (MML)
> <jukka.rahkonen at maanmittauslaitos.fi>
> > *Aihe:* RE: [mapserver-users] map server error message loadSymbol():
> > Unknown identifier. Parsing error near (GAP):(line33)
> >
> > Hi,
> >
> > When you mean “GAP”you mean something like an additional space?
> >
> > Here is the symbols.sym file:
> >
> > SYMBOLSET
> >
> > #markerset
> >
> > SYMBOL
> >
> > NAME 'cities'
> >
> > TYPE PIXMAP
> >
> > IMAGE 'cities.gif'
> >
> > END
> >
> > SYMBOL
> >
> > NAME 'mountain'
> >
> > TYPE PIXMAP
> >
> > IMAGE 'mountain.gif'
> >
> > END
> >
> > SYMBOL
> >
> > NAME 'river'
> >
> > TYPE PIXMAP
> >
> > IMAGE 'river.gif'
> >
> > END
> >
> > SYMBOL
> >
> > NAME 'island'
> >
> > TYPE PIXMAP
> >
> > IMAGE 'island.gif'
> >
> > END
> >
> > SYMBOL
> >
> > NAME 'railway'
> >
> > TYPE TRUETYPE
> >
> > FONT 'Tahoma'
> >
> > CHARACTER '|'
> >
> > GAP 10
> >
> > END
> >
> > Symbol
> >
> > Name 'tent'
> >
> > Type VECTOR
> >
> > FILLED TRUE
> >
> > Points
> >
> > 0 1
> >
> > .5 0
> >
> > 1 1
> >
> > .75 1
> >
> > .5 .5
> >
> > .25 1
> >
> > 0 1
> >
> > END
> >
> > END
> >
> > Symbol
> >
> > Name 'star'
> >
> > Type VECTOR
> >
> > FILLED TRUE
> >
> > Points
> >
> > 0 .375
> >
> > .35 .375
> >
> > .5 0
> >
> > .65 .375
> >
> > 1 .375
> >
> > .75 .625
> >
> > .875 1
> >
> > .5 .75
> >
> > .125 1
> >
> > .25 .625
> >
> > END
> >
> > END
> >
> > Symbol
> >
> > Name 'triangle'
> >
> > Type VECTOR
> >
> > FILLED TRUE
> >
> > Points
> >
> > 0 1
> >
> > .5 0
> >
> > 1 1
> >
> > 0 1
> >
> > END
> >
> > END
> >
> > Symbol
> >
> > Name 'square'
> >
> > Type VECTOR
> >
> > FILLED TRUE
> >
> > Points
> >
> > 0 1
> >
> > 0 0
> >
> > 1 0
> >
> > 1 1
> >
> > 0 1
> >
> > END
> >
> > END
> >
> > Symbol
> >
> > Name 'plus'
> >
> > Type VECTOR
> >
> > Points
> >
> > .5 0
> >
> > .5 1
> >
> > -99 -99
> >
> > 0 .5
> >
> > 1 .5
> >
> > END
> >
> > END
> >
> > Symbol
> >
> > Name 'cross'
> >
> > Type VECTOR
> >
> > Points
> >
> > 0 0
> >
> > 1 1
> >
> > -99 -99
> >
> > 0 1
> >
> > 1 0
> >
> > END
> >
> > END
> >
> > Symbol
> >
> > Name 'circle'
> >
> > Type ELLIPSE
> >
> > FILLED TRUE
> >
> > Points
> >
> > 1 1
> >
> > END
> >
> > END
> >
> > SYMBOL
> >
> > NAME 'circle-dashed'
> >
> > TYPE ELLIPSE
> >
> > FILLED TRUE
> >
> > POINTS 1 1 END
> >
> > STYLE 5 5 END
> >
> > END
> >
> > #LINESET
> >
> > Symbol
> >
> > NAME 'dashed1'
> >
> > TYPE ELLIPSE
> >
> > POINTS 1 1 END
> >
> > FILLED TRUE
> >
> > STYLE 2 4 END
> >
> > END
> >
> > Symbol
> >
> > NAME 'dashed2'
> >
> > TYPE ELLIPSE
> >
> > POINTS 1 1 END
> >
> > FILLED TRUE
> >
> > STYLE 7 5 END
> >
> > END
> >
> > Symbol
> >
> > NAME 'countydashed'
> >
> > TYPE ELLIPSE
> >
> > POINTS 1 1 END
> >
> > FILLED TRUE
> >
> > STYLE 6 2 1 1 1 2 6 END
> >
> > END
> >
> > Symbol
> >
> > NAME 'ditch'
> >
> > TYPE ELLIPSE
> >
> > POINTS 1 1 END
> >
> > FILLED TRUE
> >
> > STYLE 3 3 3 3 END
> >
> > END
> >
> > SYMBOL
> >
> > NAME 'dcircle'
> >
> > TYPE ELLIPSE
> >
> > FILLED TRUE
> >
> > POINTS 1 1 END
> >
> > STYLE 5 5 END
> >
> > END
> >
> > Symbol
> >
> > NAME 'railroad'
> >
> > TYPE VECTOR
> >
> > POINTS 0 5 5 0 END
> >
> > FILLED TRUE
> >
> > STYLE 6 6 6 6 END
> >
> > END
> >
> > Symbol
> >
> > NAME 'plainline'
> >
> > TYPE ELLIPSE
> >
> > FILLED TRUE
> >
> > POINTS 1 1 END
> >
> > END
> >
> > #shadeset
> >
> > Symbol
> >
> > NAME 'shade1'
> >
> > Type VECTOR
> >
> > TRANSPARENT 0
> >
> > Points
> >
> > 0 1
> >
> > 1 1
> >
> > END
> >
> > END
> >
> > Symbol
> >
> > NAME 'shade2'
> >
> > Type VECTOR
> >
> > TRANSPARENT 0
> >
> > Points
> >
> > 1 0
> >
> > 1 1
> >
> > END
> >
> > END
> >
> > Symbol
> >
> > NAME 'shade3'
> >
> > Type VECTOR
> >
> > TRANSPARENT 0
> >
> > Points
> >
> > 0 0
> >
> > 1 1
> >
> > END
> >
> > END
> >
> > Symbol
> >
> > NAME 'shade4'
> >
> > Type VECTOR
> >
> > TRANSPARENT 0
> >
> > Points
> >
> > 0 1
> >
> > 1 0
> >
> > END
> >
> > END
> >
> > Symbol
> >
> > NAME 'shade5'
> >
> > Type VECTOR
> >
> > Points
> >
> > 0 1
> >
> > 1 0
> >
> > -99 -99
> >
> > 0 0
> >
> > 1 1
> >
> > END
> >
> > END
> >
> > Symbol
> >
> > NAME 'shade6'
> >
> > Type ELLIPSE
> >
> > FILLED TRUE
> >
> > Points 1 1 END
> >
> > END
> >
> > END #Symbolset
> >
> > Thank you
> >
> >
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
>
> --
> Håvard Tveite
> Faculty of Sciences and Technology, NMBU
> Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY
> Phone: +47 67231548 Web: http://www.nmbu.no
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list