[Mapserver-users] Shapefile attributes from mapscript::shapefileObj?
Norbert Thieme
norbert.thieme at ilmenau.baw.de
Thu Jun 10 01:22:56 PDT 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.
>
> Thanks,
>
> -e
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
>
Hi,
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.
Regards,
Norbert
More information about the MapServer-users
mailing list