[Mapserver-users] Re: perl MapScript "can't locate .../getClass.al"
Matthew Haines
mhaines94108 at hotmail.com
Thu Sep 25 18:45:06 PDT 2003
Special thanks to pkishor_98, Edwardo Spremolla, and Vinko Vrsalovic for
helping me get started with MapServer!
I've now enabled my web site with basic mapping functionality. It's up and
running at
http://www.nycPropertyResearch.com/
To see a map, try any address in Manhattan, for example 212 West 123rd St,
Manhattan.
In the coming days and weeks and months I'll be adding panning, zooming, and
color-coding
of features based on diverse criteria, as well as layers for things like tax
lots, community
districts, zoning maps, aerial photographs, and so forth.
Matthew
----Original Message Follows----
From: "pkishor_98" <pkishor at geoanalytics.com>
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Re: perl MapScript "can't locate .../getClass.al"
Date: Thu, 25 Sep 2003 21:46:58 -0000
--- In mapserver-users at yahoogroups.com, "Matthew Haines"
<mhaines94108 at h...> wrote:
>
> When I invoke the getClass method from perl MapScript (mapserver 4.0
and
> Perl 5.8.0), I get the following error:
>
> Can't locate auto/mapscript/mapObj/getClass.al in @INC (@INC
..
>
> my $map = new
> mapscript::mapObj("/var/www/html/maps/manhattan2/manhattan2.map");
> my $selected_layer = $map->getLayer (1);
> my $selected_class = $map->getClass (0);
that's because class is not a member of map... it is a member of layer.
$selected_layer->getClass(0) will work fine.
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
_________________________________________________________________
Get McAfee virus scanning and cleaning of incoming attachments. Get Hotmail
Extra Storage! http://join.msn.com/?PAGE=features/es
More information about the MapServer-users
mailing list