[ka-Map-users] Accessing attribute tables as labels for features

നെടുമ്പാല ജയ്സെന്‍ jaisuvyas at gmail.com
Thu May 29 02:23:59 EDT 2008


Hai,

   Thanks for ur response, but, I tried this earlier. The layer description
from my mapfile is given below:
------------------------------------------
LAYER
  GROUP "GenFac"
   NAME genfac
   TYPE POINT
   STATUS OFF
   DATA "mydata/genfac.shp"
   LABELCACHE ON
   LABELITEM discr
   CLASS
     NAME "GenFac"
     STYLE
       SYMBOL "star"
       SIZE 10
       COLOR 000 165 255
     END
   END
 END
-------------------------
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?


2008/5/28 Luca Casagrande <luca.casagrande at gmail.com>:

> On Wednesday 28 May 2008 14:21:35 നെടുമ്പാല ജയ്സെന്‍ wrote:
> > Hai,
> >   I have set up a visualization for my area with ka-map using shapefile
> > layers. The only remaining thing is, I need to put labels for the vector
> > features, for which, I want to use the data from attribute tables
> > associated with vector layers. I tried for it, but as a new person to
> this
> > field, no idea how to make it out. Any possible way to do that?
>
> For each layer, set the LABELITEM tag for the column that holds the names.
> More info here:
> http://mapserver.gis.umn.edu/docs/reference/mapfile
> Bye
> Luca
>



-- 
(`'·.¸(`'·.¸ ¸.·'´)¸.·'´)
«´¨`·*Jaisen.*..´¨`»
(¸.·'´(¸.·'´ `'·.¸)`'·.¸)
¸.·´
( `·.¸
`·.¸ )
¸.·)´
(.·´
( `v´ )
`v´
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20080529/69d75672/attachment.html


More information about the ka-Map-users mailing list