Perl Mapscript 4.4 Issues

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Sun Apr 24 23:23:26 EDT 2005


Hi all,

I'm looking at the SWIGMapScript doc and have run into a few problems.

$mapObj->setExtent($minx, $miny, $maxx, $maxy);

and throws an error:

Can't locate auto/mapscript/mapObj/setExtent.al in @INC (@INC contains:
/etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl /usr/local/lib/perl/5.8.0
/usr/local/share/perl/5.8.0 .) at index.cgi line 255

Also looking at the document it looks like there is an
$layerObj->setExtent(...) which doesn't seem to be correct.

The classObj doc says it "Provides access to all class parameters
(color, symbol, label, & etc...)." but there is no doc to indicate there
is a symbol property, nor is there any of doc/properties for color,
overlaycolor, size, overlaysize. I think these were moved to styleObjs
so it might be appropriate to comment on that.

-Steve W.



More information about the mapserver-users mailing list