[Mapserver-users] Shapefile attributes from mapscript::shapefileObj?
norbert.thieme at ilmenau.baw.de
Thu Jun 10 04:22:56 EDT 2004
Ethan Alpert schrieb:
> Ok I give up how can I get attributes of shapes from a shapefile using
> PERL mapscript?
> I need to extract the attributes to create labels and everything I've
> tried gives me nothing. I have 33 points in a shapefile and each point
> has a name and an elevation as attributes. I can see these in Arc
> Explorer so I know they're there.
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
I think you can use this simply as labelitem in the mapfile. If you only
have two items then this should be no problem. You can make one layer as
TYPE POINT with one item and a second as TYPE ANNOTATION with the second
item. If you want you can put them together as a group.
More information about the mapserver-users