Re: [mapserver-users] map server error message loadSymbol(): Unknown identifier. Parsing error near (GAP):(line33)
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.arapostat...@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 <jmcke...@gatewaygeomatics.com> Fecha: 18/9/17 16:04 (GMT+02:00) Para: mapserver-users@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.tve...@nmbu.no> > Fecha: 18/9/17 9:49 (GMT+02:00) > Para: mapserver-users@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.arapostat...@gmail.com] > > *Lähetetty:* 15. syyskuuta 2017 15:35 > > *Vastaanottaja:* Rahkonen Jukka (MML) > <jukka.rahko...@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 '|' >
Re: [mapserver-users] map server error message loadSymbol(): Unknown identifier. Parsing error near (GAP):(line33)
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 <jmcke...@gatewaygeomatics.com> Fecha: 18/9/17 16:04 (GMT+02:00) Para: mapserver-users@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.tve...@nmbu.no> > Fecha: 18/9/17 9:49 (GMT+02:00) > Para: mapserver-users@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.arapostat...@gmail.com] > > *Lähetetty:* 15. syyskuuta 2017 15:35 > > *Vastaanottaja:* Rahkonen Jukka (MML) > <jukka.rahko...@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 > > >
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.tve...@nmbu.no> Fecha: 18/9/17 9:49 (GMT+02:00) Para: mapserver-users@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.arapostat...@gmail.com] > *Lähetetty:* 15. syyskuuta 2017 15:35 > *Vastaanottaja:* Rahkonen Jukka (MML) <jukka.rahko...@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 > &g
Re: [mapserver-users] map server error message loadSymbol(): Unknown identifier. Parsing error near (GAP):(line33)
Thank you I have resolved it. Enviado desde mi smartphone Samsung Galaxy. Mensaje original De: Havard Tveite <havard.tve...@nmbu.no> Fecha: 18/9/17 9:49 (GMT+02:00) Para: mapserver-users@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.arapostat...@gmail.com] > *Lähetetty:* 15. syyskuuta 2017 15:35 > *Vastaanottaja:* Rahkonen Jukka (MML) <jukka.rahko...@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 &
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.arapostat...@gmail.com] *Lähetetty:* 15. syyskuuta 2017 15:35 *Vastaanottaja:* Rahkonen Jukka (MML) <jukka.rahko...@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@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@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] map server error message loadSymbol(): Unknown identifier. Parsing error near (GAP):(line33)
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.arapostat...@gmail.com] Lähetetty: 15. syyskuuta 2017 15:35 Vastaanottaja: Rahkonen Jukka (MML) <jukka.rahko...@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@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] map server error message loadSymbol(): Unknown identifier. Parsing error near (GAP):(line33)
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-boun...@lists.osgeo.org] Puolesta Stathis Arapostathis Lähetetty: 15. syyskuuta 2017 12:59 Vastaanottaja: mapserver-users@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 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users