[Mapserver-users] perl mapscript dying "Invalid image extent"

Lowell Filak lfilak at medinaco.org
Fri Dec 13 10:35:07 PST 2002


>From what I can quickly grab from the source code it appears that in your map extent either your minimum & maximum x are the same or your minimum & maximum y are the same or both of the previous are true.
If you print $map->{extent}->{minx} & etc. before the draw or temporarily comment out the draw what is shown as the values for the minx, maxx, & etc?
Lowell F.

The following message was sent by Dana Quinn <dana at nextbus.com> on Thu, 12 Dec 2002 11:38:05 -0800.

> 
> Hi, I'm having some problems with the perl version of mapscript
> dying.  We have an application that works well under an older version
> of the mapserver, on an older version of Linux, but I'm having trouble
> getting it work now on a newer machine with a newer version of the
> software, so thought I'd post here.  I do have the 'itasca' demo
> working on the platform now.
> 
> My error_log gives me this message:
> msCalculateScale(): General error message. Invalid image extent.
> 
> it dies in mapscript.pm, on this line:
> my $result = mapscriptc::mapObj_prepareImage(@args);
> 
> I'm running this on Linux RH8.0, with perl 5.8, gcc 3.2, with
> mapserver version 3.6.3.  I read in the archives about some
> problems with PHP mapscript - could there be similar issues in
> perl mapscript?
> 
> dana
> 
> -- 
> 
> Dana Quinn, dana at nextbus.com
> NextBus Information Systems
> (510) 420-3117
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list