Dear All,<br><br>I have installed mapserver 6.0.1 on ubuntu 12.10 and I tried to draw map which is including some line and polygon layers.<br>By the way I have been using mapserver 5.4.2 for a long time.<br><br>Same map file which is working to draw map using mapserver 5.4.2 working well under mandriva 2010.<br>
When I try to draw it on new Mapserver the line looking like a point on the map even if its shapefile is line data.<br>BUt for old mapsever it seems line without any problem.<br><br>When I try to find reason I understood style and symbol has minor change.<br>
<br>Then I would like to solve my problem making some test.<br><br>Then I have found a solution but it is little bit strange.<br>like this<br><br>for old version of mapserver layers as follows in the map and it seems like a point on the map when I zoomed much.<br>
<br><br>LAYER<br>NAME Faults<br>TYPE line<br>DATA faults_line<br>STATUS on<br>   CLASS<br>   SYMBOL "cline"<br>   SIZE 1<br>   COLOR 200 10 0 <br>   END<br>END<br><br>and symbol cline as follows<br><br>SYMBOL<br>
  NAME "cline"<br>  TYPE line<br>  POINTS 0 0  END<br>  FILLED TRUE<br> END<br>these are workng for the mapserver 5.4.2 well.<br><br>But for Mapserver 6.0 it look like a points instead of line on the map.<br>Then I have used style and I modified map file as follows<br>
      <br> LAYER<br>TYPE line<br>STATUS on<br> CLASS<br>  STYLE<br>  WIDTH 2.0<br>   COLOR 200 10 20<br>  END<br>END<br>       <br>LAYER<br>  NAME Faults<br>  DATA fault_lines<br>  STATUS on<br> END<br><br>it works well but for all line layer I should use layer for style for any layer which are including line data.<br>
<br>I mean if I try to draw another layer after the fault_lines layer I have to add layer for style before the layer.<br><br>So if I use layer for style for all line layer it gives confusion on the map file.<br>Do you have any suggestion What I'm missing.<br>
<br>Regards.<br>Murat<br> <br><br><br>/usr/lib/cgi-bin/mapserv -v<br>MapServer version 6.0.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=CAIRO SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE<br>
<br>