[Mapserver-users] Shapefile attributes from mapscript::shapefileObj?

Ethan Alpert ealpert at digitalglobe.com
Thu Jun 10 16:02:43 PDT 2004


Thanks for the response....I ended up using the Shape perl module to do
everything I needed.

-e

-----Original Message-----
From: Norbert Thieme [mailto:norbert.thieme at ilmenau.baw.de] 
Sent: Thursday, June 10, 2004 2:23 AM
To: Ethan Alpert
Cc: Mapserver List
Subject: Re: [Mapserver-users] Shapefile attributes from
mapscript::shapefileObj?


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