Hai..., Thanks.. I got it... Thanks for the hint... :)<br><br><div class="gmail_quote">2008/5/29 Pēteris Brūns <<a href="mailto:peteris.bruns@gmail.com">peteris.bruns@gmail.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Your layer description is without label definitions.<br>
It should be writen so:<div class="Ih2E3d"><br>
LAYER<br>
GROUP "GenFac"<br>
NAME genfac<br>
TYPE POINT<br>
STATUS OFF<br>
DATA "mydata/genfac.shp"<br>
LABELCACHE ON<br>
LABELITEM discr<br>
CLASS<br>
NAME "GenFac"<br>
STYLE<br>
SYMBOL "star"<br>
SIZE 10<br>
COLOR 000 165 255<br>
END<br></div>
#you need label block in class for labeling<br>
LABEL<br>
#...here mus be your label description<br>
END<br>
<br>
END<br>
END<br>
<br>
see map file documentation as previously Luca wrote<br>
Here is described label block parameters <a href="http://mapserver.gis.umn.edu/docs/reference/mapfile/label" target="_blank">http://mapserver.gis.umn.edu/docs/reference/mapfile/label</a><br>
<br>
pb<div class="Ih2E3d"><br>
<br>
നെടുമ്പാല ജയ്സെന് wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hai,<br>
<br><div class="Ih2E3d">
Thanks for ur response, but, I tried this earlier. The layer description from my mapfile is given below:<br>
------------------------------------------<br>
LAYER<br>
GROUP "GenFac"<br>
NAME genfac<br>
TYPE POINT<br>
STATUS OFF<br>
DATA "mydata/genfac.shp"<br>
LABELCACHE ON<br>
LABELITEM discr<br>
CLASS<br>
NAME "GenFac"<br>
STYLE<br>
SYMBOL "star"<br>
SIZE 10<br>
COLOR 000 165 255<br>
END<br>
END<br>
END -------------------------<br>
The corresponding attribute table field for the genfac.shp is discr. The contents in the attribute table field "discr" is not seems visible. Where I really missed? Anything else should I setup in mapfile, or in any other files?<br>
<br>
<br></div>
2008/5/28 Luca Casagrande <<a href="mailto:luca.casagrande@gmail.com" target="_blank">luca.casagrande@gmail.com</a> <mailto:<a href="mailto:luca.casagrande@gmail.com" target="_blank">luca.casagrande@gmail.com</a>>>:<div class="Ih2E3d">
<br>
<br>
On Wednesday 28 May 2008 14:21:35 നെടുമ്പാല ജയ്സെന് wrote:<br>
> Hai,<br>
> I have set up a visualization for my area with ka-map using<br>
shapefile<br>
> layers. The only remaining thing is, I need to put labels for<br>
the vector<br>
> features, for which, I want to use the data from attribute tables<br>
> associated with vector layers. I tried for it, but as a new<br>
person to this<br>
> field, no idea how to make it out. Any possible way to do that?<br>
<br>
For each layer, set the LABELITEM tag for the column that holds<br>
the names.<br>
More info here:<br>
<a href="http://mapserver.gis.umn.edu/docs/reference/mapfile" target="_blank">http://mapserver.gis.umn.edu/docs/reference/mapfile</a><br>
Bye<br>
Luca<br>
<br>
<br>
<br>
<br>
-- <br>
(`'·.¸(`'·.¸ ¸.·'´)¸.·'´)<br>
«´¨`·*Jaisen.*..´¨`»<br>
(¸.·'´(¸.·'´ `'·.¸)`'·.¸)<br>
¸.·´<br>
( `·.¸<br>
`·.¸ )<br>
¸.·)´<br>
(.·´<br>
( `v´ )<br>
`v´<br></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
ka-Map-users mailing list<br>
<a href="mailto:ka-Map-users@lists.maptools.org" target="_blank">ka-Map-users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/ka-map-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>
<br>
</blockquote>
<br>
_______________________________________________<br>
ka-Map-users mailing list<br>
<a href="mailto:ka-Map-users@lists.maptools.org" target="_blank">ka-Map-users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/ka-map-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>(`'·.¸(`'·.¸ ¸.·'´)¸.·'´)<br>«´¨`·*Jaisen.*..´¨`»<br>(¸.·'´(¸.·'´ `'·.¸)`'·.¸)<br>¸.·´<br>( `·.¸<br>`·.¸ )<br>¸.·)´<br>(.·´<br>( `v´ )<br>
`v´