<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">Hi...<br><br>I was working in some change of my map file...<br><br>This is how it looks now :<br><br>-------------------<br>#<br># Start of map file<br>#<br># Sample map file for a chameleon app.<br>#<br>MAP<br> NAME DEMO<br> STATUS ON <br> SIZE 400 300<br> SYMBOLSET ../etc/symbols.sym<br> EXTENT -85.9502 8.0396 -82.5527 11.2199<br> UNITS kilometers<br> SHAPEPATH "../data"<br> IMAGECOLOR 255 255 255<br> FONTSET ../etc/fonts.txt<br> TRANSPARENT FALSE<br>END<br>#<br># Start of web interface definition<br>#<br>WEB<br> #MINSCALE 2000000<br> #MAXSCALE 50000000<br>#<br># On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the root <br># of the drive where the .MAP file resides.<br>#<br> IMAGEPATH "/ms4w/tmp/ms_tmp/" <br>
IMAGEURL "/ms_tmp/"<br># LOG "/tmp/gmap.log"<br> METADATA<br> END<br>END<br><br>#<br># Start of reference map<br>#<br>REFERENCE<br> IMAGE images/costarica_keymap.jpg<br> EXTENT -85.9502 8.0396 -82.5527 11.2199<br> STATUS ON<br> COLOR -1 -1 -1<br> OUTLINECOLOR 255 0 0<br> SIZE 120 90 <br>END<br><br>#<br># Start of legend<br>#<br>LEGEND<br> KEYSIZE 18 12<br> LABEL<br> TYPE BITMAP<br> SIZE MEDIUM<br> COLOR 0 0 89<br> END<br> STATUS ON<br>END<br><br>#<br># Start of scalebar<br>#<br>SCALEBAR<br> IMAGECOLOR 255 255 255<br> LABEL<br> COLOR 0 0 0 <br> SIZE SMALL<br> END<br> SIZE 150 5<br> COLOR 255 255 255<br> BACKGROUNDCOLOR 0 0 0<br> OUTLINECOLOR 0 0 0<br> UNITS kilometers<br> INTERVALS
5<br> STATUS ON<br>END<br><br><br>QUERYMAP<br> STYLE HILITE<br> COLOR 255 0 0<br>END<br><br>PROJECTION<br> "init=epsg:4326"<br>END<br><br>#<br># Start of layer definitions<br>#<br><br><br>LAYER<br> NAME "paises"<br> TYPE POLYGON<br>.<br>.<br>.<br>.<br>END<br>-------------------<br><br>But now I got this error...<br><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);" class="sourceRowText"><!-- MapServer IDENT Error: First token must be SYMBOLSET, this doesn't look like a symbol file. --></span><br><br>I know this is sothing about identifiers order, but I dont know what is the correcct order...<br><br>If somebody can provide me this part of the map, just as a sample...<br><br>It would be great...<br><br>Or if somebody can chat with me for a minute... it would be better...<br><br>I just need an explanation in order to solve this issue... I work in fedora 10,
mapserver 5.4.0, and chameleon... but I cannot make any chameleon sample run...<br><br>Thanks a lot for your answer, idea or tips...<br><br>Have a nice day....<br><br><div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">De:</span></b> Tamas Szekeres <szekerest@gmail.com><br><b><span style="font-weight: bold;">Para:</span></b> Christian Canales <ccanales29@yahoo.es><br><b><span style="font-weight: bold;">CC:</span></b> mapserver-dev@lists.osgeo.org<br><b><span style="font-weight: bold;">Enviado:</span></b> sábado, 6 de junio, 2009 12:37:37<br><b><span style="font-weight: bold;">Asunto:</span></b> Re: [mapserver-dev] MapServer IDENT Error: First token must be MAP, this doesn't look like a mapfile<br></font><br>Hi Christian,<br><br>There have been some
security fixes caused breaking changes in the mapfiles and the symbolset files. Please refer to the announcement mail for the details:<br><br><br><a rel="nofollow" target="_blank" href="http://lists.osgeo.org/pipermail/mapserver-users/2009-March/060600.html">http://lists.osgeo.org/pipermail/mapserver-users/2009-March/060600.html</a><br>
<br><br>Best regards,<br><br>Tamas<br><br><br><br><br><div class="gmail_quote">2009/6/6 Christian Canales <span dir="ltr"><<a rel="nofollow" ymailto="mailto:ccanales29@yahoo.es" target="_blank" href="mailto:ccanales29@yahoo.es">ccanales29@yahoo.es</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">Hi...<br><br>I have installed on my server MapServer version 5.4.0, Chameleon_cvs... Im using the FGS environment and installers...<br>
<br>My server is running Fedora 10...<br><br>Im geting this error :<br><br><div><span><span style="color: rgb(255, 0, 0);"><!-- MapServer IDENT Error: First token must be MAP, this doesn't look like a mapfile. --></span><br>
<br>And the page doesnt display anything...<br><br>Im just testing the Chameleon samples...<br><br>You can test them here : <a rel="nofollow" target="_blank" href="http://201.198.134.108:8082/chameleon/samples/">http://201.198.134.108:8082/chameleon/samples/</a><br>
</span></div><br>Im my Mapserver is here : <a rel="nofollow" target="_blank" href="http://201.198.134.108:8082/cgi-bin/mapserv">http://201.198.134.108:8082/cgi-bin/mapserv</a><br><br>The
Chameleon is installed on : /opt/fgs/apps/chameleon-cvs-HEAD/<br><br>Why I cant load the samples?<br><br>Somebody has an answer?<br><br>Thanks...<br></div><br>
</div><br>_______________________________________________<br>
mapserver-dev mailing list<br>
<a rel="nofollow" ymailto="mailto:mapserver-dev@lists.osgeo.org" target="_blank" href="mailto:mapserver-dev@lists.osgeo.org">mapserver-dev@lists.osgeo.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
<br></blockquote></div><br>
</div></div></div></div><br>
</body></html>