[Mapserver-users] perl mapscript error
Lowell Filak
lfilak at medinaco.org
Wed Jun 11 10:37:11 PDT 2003
Aaron;
Hopefully this link will solve the problem.
http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0305/msg00021.html
Lowell F.
The following message was sent by "Aaron D. Hunt" <hunt at zedxinc.com> on Wed, 11 Jun 2003 12:03:17 -0400.
> When I run the following script using the 4.0b and perl mapscript.
>
> #!/usr/bin/perl
>
> use mapscript;
>
> my $d = time();
> my $imagename = "/home/wcs/html/dy_images/".$d.".png";
> my $url = "/dy_images/".$d.".png";
>
> $map = new mapscript::mapObj('/home/wcs/html/maps/map.map') or > die('Unable to open mapfile.');
> $img = $map->draw() or die('Unable to draw map');
> $img->saveImage($imagename, $mapscript::MS_PNG, $map->{transparent}, > $map->{interlace}, 0);
>
> I get this error.
>
> Can't locate auto/mapscript/imageObj/saveImage.al in @INC (@INC > contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/5.8.0 > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.1 > /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at > ./test_map.cgi line 15
>
> It opens the map file and draw just fine, but it dies on the save. Any > Ideas?
>
>
> Aaron D. Hunt
> Technical Manager
>
More information about the MapServer-users
mailing list