[mapserver-users] map server error message loadSymbol(): Unknown identifier. Parsing error near (GAP):(line33)

Carlos Ruiz boolean10001 at yahoo.com
Tue Sep 19 07:58:14 PDT 2017


You can get older QGIS versions just by browsing the downloads folder
Index of /downloads

| 
| 
|  | 
Index of /downloads


 |

 |

 |


QGIS 1.4 for Windows and QGIS 1.6 source code (tar.gz) are the oldest versions you can find there.
On Monday, September 18, 2017, 3:30:24 PM CDT, e.arapostathis <e.arapostathis at gmail.com> wrote:  
 
 Hello Jeff, To be honest I had some time to use map server and I also saw that the map server plugin is not available to the new qgis versions. I personally took some old map files I had (which were generated by that plugin) and started maintaining them and improving them by adding  some parameters from documentation and other map file templates. The 1.8 version for sure has that very useful plugin you mention and whoever has that version is "lucky" as it is not available in the official qgis site at least the last time I checked. 
PS. Whoever needs that version there is a copy in my hard drive :)


Enviado desde mi smartphone Samsung Galaxy.
-------- Mensaje original --------De: Jeff McKenna <jmckenna at gatewaygeomatics.com> Fecha: 18/9/17 16:04 (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) 
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
> 

_______________________________________________
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  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170919/8b52e095/attachment.htm>


More information about the MapServer-users mailing list