<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>Thank you</div><div><br></div><div>I have resolved it.</div><div><br></div><div><br></div><div><br></div><div id="composer_signature"><div style="font-size:85%;color:#575757" dir="auto">Enviado desde mi smartphone Samsung Galaxy.</div></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Mensaje original --------</div><div>De: Havard Tveite <havard.tveite@nmbu.no> </div><div>Fecha: 18/9/17 9:49 (GMT+02:00) </div><div>Para: mapserver-users@lists.osgeo.org </div><div>Asunto: Re: [mapserver-users] map server error message loadSymbol(): Unknown identifier. Parsing error near (GAP):(line33) </div><div><br></div></div>For examples see:<br><br>http://mapserver.org/mapfile/symbology/construction.html#use-of-the-pattern-and-gap-parameters<br><br>Håvard<br><br>On 15. sep. 2017 14:44, Rahkonen Jukka (MML) wrote:<br>> Hi,<br>> <br>> When I say ”GAP” I mean “GAP”. You have that in the “railway” symbol.<br>> <br>> SYMBOL<br>> <br>> NAME 'railway'<br>> <br>> TYPE TRUETYPE<br>> <br>> FONT 'Tahoma'<br>> <br>> CHARACTER '|'<br>> <br>> GAP 10<br>> <br>> END<br>> <br>> There are better experts on this list but I guess that GAP should not be <br>> there http://www.mapserver.org/mapfile/symbol.html.<br>> <br>> I can read from http://www.mapserver.org/mapfile/style.html#style a <br>> sentence “New in version 6.0: moved from SYMBOL”<br>> <br>> I would read migration info from 5.x -> 6.0. Perhaps there is explained <br>> what to do with “GAP” that used to be inside SYMBOL. First aid is to <br>> comment out that line. Then you should see your map or at least go <br>> further to the next error.<br>> <br>> -Jukka Rahkonen-<br>> <br>> *Lähettäjä:* Stathis Arapostathis [mailto:e.arapostathis@gmail.com]<br>> *Lähetetty:* 15. syyskuuta 2017 15:35<br>> *Vastaanottaja:* Rahkonen Jukka (MML) <jukka.rahkonen@maanmittauslaitos.fi><br>> *Aihe:* RE: [mapserver-users] map server error message loadSymbol(): <br>> Unknown identifier. Parsing error near (GAP):(line33)<br>> <br>> Hi,<br>> <br>> When you mean “GAP”you mean something like an additional space?<br>> <br>> Here is the symbols.sym file:<br>> <br>> SYMBOLSET<br>> <br>> #markerset<br>> <br>> SYMBOL<br>> <br>> NAME 'cities'<br>> <br>> TYPE PIXMAP<br>> <br>> IMAGE 'cities.gif'<br>> <br>> END<br>> <br>> SYMBOL<br>> <br>> NAME 'mountain'<br>> <br>> TYPE PIXMAP<br>> <br>> IMAGE 'mountain.gif'<br>> <br>> END<br>> <br>> SYMBOL<br>> <br>> NAME 'river'<br>> <br>> TYPE PIXMAP<br>> <br>> IMAGE 'river.gif'<br>> <br>> END<br>> <br>> SYMBOL<br>> <br>> NAME 'island'<br>> <br>> TYPE PIXMAP<br>> <br>> IMAGE 'island.gif'<br>> <br>> END<br>> <br>> SYMBOL<br>> <br>> NAME 'railway'<br>> <br>> TYPE TRUETYPE<br>> <br>> FONT 'Tahoma'<br>> <br>> CHARACTER '|'<br>> <br>> GAP 10<br>> <br>> END<br>> <br>> Symbol<br>> <br>> Name 'tent'<br>> <br>> Type VECTOR<br>> <br>> FILLED TRUE<br>> <br>> Points<br>> <br>> 0 1<br>> <br>> .5 0<br>> <br>> 1 1<br>> <br>> .75 1<br>> <br>> .5 .5<br>> <br>> .25 1<br>> <br>> 0 1<br>> <br>> END<br>> <br>> END<br>> <br>> Symbol<br>> <br>> Name 'star'<br>> <br>> Type VECTOR<br>> <br>> FILLED TRUE<br>> <br>> Points<br>> <br>> 0 .375<br>> <br>> .35 .375<br>> <br>> .5 0<br>> <br>> .65 .375<br>> <br>> 1 .375<br>> <br>> .75 .625<br>> <br>> .875 1<br>> <br>> .5 .75<br>> <br>> .125 1<br>> <br>> .25 .625<br>> <br>> END<br>> <br>> END<br>> <br>> Symbol<br>> <br>> Name 'triangle'<br>> <br>> Type VECTOR<br>> <br>> FILLED TRUE<br>> <br>> Points<br>> <br>> 0 1<br>> <br>> .5 0<br>> <br>> 1 1<br>> <br>> 0 1<br>> <br>> END<br>> <br>> END<br>> <br>> Symbol<br>> <br>> Name 'square'<br>> <br>> Type VECTOR<br>> <br>> FILLED TRUE<br>> <br>> Points<br>> <br>> 0 1<br>> <br>> 0 0<br>> <br>> 1 0<br>> <br>> 1 1<br>> <br>> 0 1<br>> <br>> END<br>> <br>> END<br>> <br>> Symbol<br>> <br>> Name 'plus'<br>> <br>> Type VECTOR<br>> <br>> Points<br>> <br>> .5 0<br>> <br>> .5 1<br>> <br>> -99 -99<br>> <br>> 0 .5<br>> <br>> 1 .5<br>> <br>> END<br>> <br>> END<br>> <br>> Symbol<br>> <br>> Name 'cross'<br>> <br>> Type VECTOR<br>> <br>> Points<br>> <br>> 0 0<br>> <br>> 1 1<br>> <br>> -99 -99<br>> <br>> 0 1<br>> <br>> 1 0<br>> <br>> END<br>> <br>> END<br>> <br>> Symbol<br>> <br>> Name 'circle'<br>> <br>> Type ELLIPSE<br>> <br>> FILLED TRUE<br>> <br>> Points<br>> <br>> 1 1<br>> <br>> END<br>> <br>> END<br>> <br>> SYMBOL<br>> <br>> NAME 'circle-dashed'<br>> <br>> TYPE ELLIPSE<br>> <br>> FILLED TRUE<br>> <br>> POINTS 1 1 END<br>> <br>> STYLE 5 5 END<br>> <br>> END<br>> <br>> #LINESET<br>> <br>> Symbol<br>> <br>> NAME 'dashed1'<br>> <br>> TYPE ELLIPSE<br>> <br>> POINTS 1 1 END<br>> <br>> FILLED TRUE<br>> <br>> STYLE 2 4 END<br>> <br>> END<br>> <br>> Symbol<br>> <br>> NAME 'dashed2'<br>> <br>> TYPE ELLIPSE<br>> <br>> POINTS 1 1 END<br>> <br>> FILLED TRUE<br>> <br>> STYLE 7 5 END<br>> <br>> END<br>> <br>> Symbol<br>> <br>> NAME 'countydashed'<br>> <br>> TYPE ELLIPSE<br>> <br>> POINTS 1 1 END<br>> <br>> FILLED TRUE<br>> <br>> STYLE 6 2 1 1 1 2 6 END<br>> <br>> END<br>> <br>> Symbol<br>> <br>> NAME 'ditch'<br>> <br>> TYPE ELLIPSE<br>> <br>> POINTS 1 1 END<br>> <br>> FILLED TRUE<br>> <br>> STYLE 3 3 3 3 END<br>> <br>> END<br>> <br>> SYMBOL<br>> <br>> NAME 'dcircle'<br>> <br>> TYPE ELLIPSE<br>> <br>> FILLED TRUE<br>> <br>> POINTS 1 1 END<br>> <br>> STYLE 5 5 END<br>> <br>> END<br>> <br>> Symbol<br>> <br>> NAME 'railroad'<br>> <br>> TYPE VECTOR<br>> <br>> POINTS 0 5 5 0 END<br>> <br>> FILLED TRUE<br>> <br>> STYLE 6 6 6 6 END<br>> <br>> END<br>> <br>> Symbol<br>> <br>> NAME 'plainline'<br>> <br>> TYPE ELLIPSE<br>> <br>> FILLED TRUE<br>> <br>> POINTS 1 1 END<br>> <br>> END<br>> <br>> #shadeset<br>> <br>> Symbol<br>> <br>> NAME 'shade1'<br>> <br>> Type VECTOR<br>> <br>> TRANSPARENT 0<br>> <br>> Points<br>> <br>> 0 1<br>> <br>> 1 1<br>> <br>> END<br>> <br>> END<br>> <br>> Symbol<br>> <br>> NAME 'shade2'<br>> <br>> Type VECTOR<br>> <br>> TRANSPARENT 0<br>> <br>> Points<br>> <br>> 1 0<br>> <br>> 1 1<br>> <br>> END<br>> <br>> END<br>> <br>> Symbol<br>> <br>> NAME 'shade3'<br>> <br>> Type VECTOR<br>> <br>> TRANSPARENT 0<br>> <br>> Points<br>> <br>> 0 0<br>> <br>> 1 1<br>> <br>> END<br>> <br>> END<br>> <br>> Symbol<br>> <br>> NAME 'shade4'<br>> <br>> Type VECTOR<br>> <br>> TRANSPARENT 0<br>> <br>> Points<br>> <br>> 0 1<br>> <br>> 1 0<br>> <br>> END<br>> <br>> END<br>> <br>> Symbol<br>> <br>> NAME 'shade5'<br>> <br>> Type VECTOR<br>> <br>> Points<br>> <br>> 0 1<br>> <br>> 1 0<br>> <br>> -99 -99<br>> <br>> 0 0<br>> <br>> 1 1<br>> <br>> END<br>> <br>> END<br>> <br>> Symbol<br>> <br>> NAME 'shade6'<br>> <br>> Type ELLIPSE<br>> <br>> FILLED TRUE<br>> <br>> Points 1 1 END<br>> <br>> END<br>> <br>> END #Symbolset<br>> <br>> Thank you<br>> <br>> <br>> <br>> _______________________________________________<br>> mapserver-users mailing list<br>> mapserver-users@lists.osgeo.org<br>> https://lists.osgeo.org/mailman/listinfo/mapserver-users<br>> <br><br>-- <br>Håvard Tveite<br>Faculty of Sciences and Technology, NMBU<br>Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY<br>Phone: +47 67231548 Web: http://www.nmbu.no<br>_______________________________________________<br>mapserver-users mailing list<br>mapserver-users@lists.osgeo.org<br>https://lists.osgeo.org/mailman/listinfo/mapserver-users</body></html>