<div>Hi Travis </div>
<div> </div>
<div>I tried ur declarations ... it is also not working ....</div>
<div>I am unable to label ... !!! please help </div>
<div> </div>
<div> </div>
<div>my Mapfile now is </div>
<div> </div>
<p>NAME delhimap<br>STATUS ON</p>
<p>SIZE 2156 1674<br></p>
<p>WEB<br> HEADER Delhi<br> TEMPLATE Delhi<br> FOOTER Delhi<br> MINSCALE 100<br> MAXSCALE 10000<br> IMAGEPATH 'C:/ms4w/apps/test/htdocs/'<br> IMAGEURL 'C:/ms4w/apps/test/htdocs/'<br>END</p>
<p>EXTENT 77.19591 28.6000042 77.25517 28.640461</p>
<p>UNITS meters<br>IMAGECOLOR 226 226 233</p>
<p>IMAGETYPE jpeg<br>LAYER<br> NAME "roads_polyline"<br> TYPE LINE<br> STATUS ON<br> DATA "C:/GIS-Data/ESRI Data/roads_polyline"<br> LABELITEM "id"<br> LABELMAXSCALE 100000<br> LABELMINSCALE 100
<br> CLASS<br> NAME "Roads_polyline"<br> # TEMPLATE<br> OUTLINECOLOR 255 255 249<br> STYLE<br> COLOR 0 0 0<br> SYMBOL 'lg'<br> SIZE 8<br> END<br> STYLE<br> COLOR 253 255 166<br> SYMBOL 'lg'
<br> SIZE 6<br> END<br> LABEL<br> COLOR 0 0 0<br> ANGLE AUTO<br> TYPE TRUETYPE<br> FONT arial<br> SIZE 12 <br> END<br> END<br>END</p>
<p>SYMBOL<br> NAME 'lg'<br> TYPE ELLIPSE<br> POINTS <br> 1 1 <br> END<br> STYLE <br> 10 0 10 0 <br> END<br>END<br>END </p>
<div>Thanks.</div>
<div> </div>
<div><br><br> </div>
<div><span class="gmail_quote">On 10/13/06, <b class="gmail_sendername">Travis Kirstine</b> <<a href="mailto:tkirstine@jdbarnes.com">tkirstine@jdbarnes.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div><font face="Arial" color="#0000ff" size="2"><span>Sandeep, you have many conflicting declarations in your mapfile i.e.</span></font></div>
<div><font face="Arial" color="#0000ff" size="2"><span><font face="Times New Roman" color="#000000" size="3"> LABELMAXSCALE 10014<br> LABELMINSCALE 10014</font></span></font></div>
<div><font face="Arial" color="#0000ff" size="2"><span><font face="Times New Roman" color="#000000" size="3">I would simplify it a bit then add additional declarations once you have it working to something like:</font></span>
</font></div>
<div><font face="Arial" color="#0000ff" size="2"><span><font face="Times New Roman" color="#000000" size="3"></font></span></font> </div>
<div><font face="Arial" color="#0000ff" size="2"><span><font face="Times New Roman" color="#000000" size="3"></font></span></font> </div>
<div><font face="Arial" color="#0000ff" size="2"><span><font face="Arial" color="#0000ff" size="2"></font></span></font> </div>
<div><font face="Arial" color="#0000ff" size="2"><span><font face="Times New Roman" color="#000000" size="3"><span class="q">LAYER<br> NAME "roads_polyline"<br> TYPE LINE<br> STATUS ON<br> DATA "C:/GIS-Data/ESRI Data/roads_polyline"
<br></span> LABELITEM "id" <br> LABELMAXSCALE 100000<br> LABELMINSCALE 100<br> CLASS<br> NAME "Roads_polyline"<span class="q"><br> COLOR 255 255 0<br> SYMBOL 'lg'<br> SIZE 10
<br></span><span class="q"> LABEL<br> COLOR 0 0 0<br> ANGLE AUTO</span></font></span></font></div>
<div><font face="Arial" color="#0000ff" size="2"><span><font face="Times New Roman" color="#000000" size="3"> TYPE TRUETYPE</font></span></font></div>
<div><font face="Arial" color="#0000ff" size="2"><span><font face="Times New Roman" color="#000000" size="3"> FONT arial</font></span></font></div>
<div><font face="Arial" color="#0000ff" size="2"><span><font face="Times New Roman" color="#000000" size="3"> SIZE 12</font></span></font><font face="Arial" color="#0000ff" size="2"><span><font face="Times New Roman" color="#000000" size="3">
<br> END</font></span></font></div>
<div><font face="Arial" color="#0000ff" size="2"><span><font face="Times New Roman" color="#000000" size="3"> END <br>END</font></span></font></div>
<div><span class="e" id="q_10e41a9d3123f0e9_6">
<div><font face="Arial" color="#0000ff" size="2"><span><font face="Times New Roman" color="#000000" size="3"></font><br> </span></font></div>
<blockquote>
<div dir="ltr" align="left"><font face="Tahoma" size="2">-----Original Message-----<br><b>From:</b> UMN MapServer Users List [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU" target="_blank">
MAPSERVER-USERS@LISTS.UMN.EDU</a>]<b>On Behalf Of </b>Sandeep Kumar Jakkaraju<br><b>Sent:</b> Friday, October 13, 2006 8:15 AM<br><b>To:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU" target="_blank">
MAPSERVER-USERS@LISTS.UMN.EDU</a><br><b>Subject:</b> Re: [UMN_MAPSERVER-USERS] labelling please help<br><br></font></div>
<div>This the Map file I am using ... i am unable to label it !! </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>NAME delhimap<br>STATUS ON</div>
<p># Map image size. Change size as desired<br>SIZE 2156 1674<br>#<br># Start of web interface definition. Only the TEMPLATE parameter<br># must be specified to display a map. See Mapserver documentation<br>#<br>WEB<br> HEADER Delhi
<br> TEMPLATE Delhi<br> FOOTER Delhi<br> MINSCALE 100<br> MAXSCALE 10000<br># Set IMAGEPATH to the path where mapserver should<br># write its output<br> IMAGEPATH 'C:/ms4w/apps/test/htdocs/'<br># Set IMAGEURL to the url that points to IMAGEPATH
<br> #IMAGEURL 'C:/ms4w/apps/test/htdocs/'<br>END</p>
<p># Extent based on full extent of QGIS view<br>#EXTENT 77.2018 28.6023 77.2493 28.6382</p>
<p>EXTENT 77.19591 28.6000042 77.25517 28.640461</p>
<p>UNITS meters<br>#IMAGECOLOR 255 255 255<br>IMAGECOLOR 0 128 255<br>IMAGETYPE jpeg<br># Projection definition<br># Projections are not currenlty supported. If desired, add your own<br># projection information based on Mapserver documentation.
<br>#<br>LAYER<br> NAME "roads_polyline"<br> TYPE LINE<br> STATUS ON<br> DATA "C:/GIS-Data/ESRI Data/roads_polyline"<br> LABELANGLEITEM "0"<br> LABELCACHE ON<br> LABELITEM "id"
<br> LABELREQUIRES "true"<br> LABELMAXSCALE 10014<br> LABELMINSCALE 10014<br> LABELSIZEITEM "5"<br> CLASS<br> NAME "Roads_polyline"<br> TEXT "Road"<br> # TEMPLATE<br>
#OUTLINECOLOR 207 150 123<br> OUTLINECOLOR 255 255 0<br> STYLE<br> COLOR 255 255 0<br> SYMBOL 'lg'<br> SIZE 10<br> END<br> LABEL<br> COLOR 0 0 0<br> ANGLE AUTO<br> MINSIZE 10<br> END
<br> END<br>END</p>
<p>SYMBOL<br> NAME 'lg'<br> TYPE ELLIPSE<br> POINTS <br> 1 1 <br> END<br> STYLE <br> 10 0 10 0 <br> END<br>END<br>END # Map File</p><br><br>
<div><span class="gmail_quote">On 10/13/06, <b class="gmail_sendername">Stephen Woodbridge</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com
</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Sandeep Kumar Jakkaraju wrote:<br>><br>><br>> I have put the following in my map file<br>><br>
> LABELANGLEITEM "0"<br>> LABELCACHE ON<br>> LABELITEM "id"<br>> LABELREQUIRES "true"<br>> LABELMAXSCALE 10014<br>> LABELMINSCALE 10014<br>> LABELSIZEITEM "5"
<br>><br>> But still i dont see any labels<br>><br>> please help !!<br><br>You probably need to post the whole LAYER definition for us to be able<br>to help.<br></blockquote></div><br><br clear="all"><br>-- <br>
Sandeep Kumar Jakkaraju <br>WeBlog:<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://jakkarajus.blogspot.com/" target="_blank">http://jakkarajus.blogspot.com</a> </blockquote></span></div></div></blockquote>
</div><br><br clear="all"><br>-- <br>Sandeep Kumar Jakkaraju <br>WeBlog:<br><a href="http://jakkarajus.blogspot.com">http://jakkarajus.blogspot.com</a>