I did the changes you told me and now it works. Thank you all who helped on the matter. Best regards<br><br>Baris<br><br><b><i>Travis Kirstine GIS Tech <tkirstine@jdbarnes.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta content="MSHTML 6.00.2900.2627" name="GENERATOR"> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006">Firstly, you should define a symbols.sym file that will be used to draw your map symbols (points, lines, polygons)</span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006">It is declared in the map object just liike SHAPEPATH. By default mapserver will only draw points as one pixel if there is no</span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006">symbol
defined</span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"></span></font> </div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"></span></font> </div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006">SYMBOLSET your path to the symbol.sym file e.g. /var/www/html/map_symbols/symbols.sym</span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"></span></font> </div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"><font color="#000000" face="Times New Roman" size="3">open the symbol.sym file with a text editor and add the following </font></span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006">SYMBOL</span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"> NAME 'circle'</span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"> </span></font><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006">TYPE ELLIPSE</span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"> FILLED TRUE</span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"> POINTS</span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"> 1 1</span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"> END</span></font></div> <div><font color="#0000ff"
face="Arial" size="2"><span class="953264815-01032006">END</span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"><font color="#000000" face="Times New Roman" size="3"></font></span></font> </div></span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006">Save the file and close, Add the following to your Brunnen CLASS in the mapfile</span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"></span></font> </div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"></span></font> </div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"><font color="#000000" face="Times New Roman" size="3"> CLASS <br> NAME "Brunnen"</font></span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span
class="953264815-01032006"><font color="#000000" face="Times New Roman" size="3"> COLOR 255 0 0</font></span></font></div> <div><font><span class="953264815-01032006"> OUTLINECOLOR 0 255 0</span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"><font color="#000000" face="Times New Roman" size="3"> SYMBOL 'circle'</font></span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"><font color="#000000" face="Times New Roman" size="3"> SIZE 12<br> END</font></span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"><font color="#000000" face="Times New Roman" size="3"></font></span></font> </div> <div><font><span class="953264815-01032006"><font
color="#0000ff" face="Arial" size="2">Travis</font></span></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"><font color="#000000" face="Times New Roman" size="3"></font> </span></font></div> <div><font color="#0000ff" face="Arial" size="2"><br></font></div> <div><font color="#0000ff" face="Arial" size="2"><span class="953264815-01032006"></span></font> </div> <blockquote> <div class="OutlookMessageHeader" dir="ltr" align="left"><font face="Tahoma" size="2">-----Original Message-----<br><b>From:</b> UMN MapServer Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU]<b>On Behalf Of </b>Baris YILMAZ<br><b>Sent:</b> Wednesday, March 01, 2006 9:46 AM<br><b>To:</b> MAPSERVER-USERS@LISTS.UMN.EDU<br><b>Subject:</b> [UMN_MAPSERVER-USERS] Shape layer is not shown. Please help<br><br></font></div>Hi,<br><br>I have a map file, which has two layers, one a raster layer, and the other a shapefile. But the raster layer is shown
whereas the layer Brunnen (shapefile) is not shown. Can anyone help? I checked the path of the shape file and it is ok.. Can anyone help me please? Is there anything missing in the layer definitions of the layer "Brunnen"? My shapefile contains just cross symbols. <br><br>Thank you.<br>Baris<br><br><br>Below my mapfile;<br><br>MAP<br> EXTENT 3439438.15784499212000 5501464.74457754190000 3440160.4830 5511464.6416<br> IMAGECOLOR 240 240 240<br> IMAGETYPE png<br> SHAPEPATH "C:/ms4w/apps/Data/KartenSHP/GWMshp/"<br> SIZE 500 400<br> STATUS ON<br> UNITS METERS<br> NAME "Hessischer Ried"<br><br> OUTPUTFORMAT<br> NAME "png"<br> MIMETYPE "image/png"<br> DRIVER "GD/PNG"<br> EXTENSION "png"<br> IMAGEMODE "PC256"<br> TRANSPARENT FALSE<br> END<br><br> PROJECTION<br>
"proj=lcc"<br> "lat_1=32"<br> "lat_2=44"<br> "lat_0=38"<br> "lon_0=-100"<br> "x_0=0"<br> "y_0=0"<br> "ellps=GRS80"<br> "datum=NAD83"<br> END<br> LEGEND<br> IMAGECOLOR 255 255 255<br> KEYSIZE 20 10<br> KEYSPACING 5 5<br> LABEL<br> SIZE MEDIUM<br> TYPE BITMAP<br> BUFFER 0<br> COLOR 0 0 0<br> FORCE FALSE<br> MINDISTANCE -1<br> MINFEATURESIZE -1<br> OFFSET 0 0<br> PARTIALS TRUE<br> END<br> POSITION
LL<br> STATUS EMBED<br> TEMPLATE "C:/ms4w/apps/maplab-2.2.1/htdocs/mapbrowser/legend_template.html"<br> END<br><br> QUERYMAP<br> COLOR 255 255 0<br> SIZE -1 -1<br> STATUS OFF<br> STYLE HILITE<br> END<br><br> SCALEBAR<br> COLOR 0 0 0<br> IMAGECOLOR 255 255 255<br> INTERVALS 4<br> LABEL<br> SIZE MEDIUM<br> TYPE BITMAP<br> BUFFER 0<br> COLOR 0 0 0<br> FORCE FALSE<br> MINDISTANCE -1<br> MINFEATURESIZE -1<br> OFFSET 0 0<br> PARTIALS
TRUE<br> END<br> POSITION LL<br> SIZE 200 3<br> STATUS OFF<br> STYLE 0<br> UNITS MILES<br> END<br><br> WEB<br> IMAGEPATH "C:/ms4w/tmp/ms_tmp/"<br> IMAGEURL "/ms_tmp/"<br> METADATA<br> END<br> QUERYFORMAT text/html<br> END<br><br> LAYER<br> DATA "C:\ms4w\apps\Data\KartenSHP\Karten\TK25\60xx\6015SI_96.tif"<br> METADATA<br> END<br> NAME "Ried"<br> SIZEUNITS METERS<br> STATUS ON<br> TOLERANCEUNITS PIXELS<br> TYPE RASTER<br> UNITS METERS<br> END<br><br> LAYER<br> NAME
"Brunnen"<br> STATUS DEFAULT<br> DATA "Brunnen"<br> TYPE POINT<br> UNITS METERS<br> SIZEUNITS PIXELS<br> TOLERANCEUNITS PIXELS<br> METADATA<br> END<br> PROJECTION<br> "proj=lcc"<br> "lat_1=32"<br> "lat_2=44"<br> "lat_0=38"<br> "lon_0=-100"<br> "x_0=0"<br> "y_0=0"<br> "ellps=GRS80"<br> "datum=NAD83"<br> END<br> CLASS <br> NAME
"Brunnen"<br> END<br> END<br><br><br>END<br><br> <div> </div><hr size="1"> Yahoo! Mail<br>Bring photos to life! <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=39174/*http://photomail.mail.yahoo.com">New PhotoMail </a>makes sharing a breeze. </blockquote></blockquote><br><p>
<hr size=1>Yahoo! Mail<br>
Bring photos to life! <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=39174/*http://photomail.mail.yahoo.com">New PhotoMail </a> makes sharing a breeze.