[Mapserver-users] Max image size

Ed McNierney ed at topozone.com
Tue Sep 23 10:26:39 PDT 2003


Frank -

Thanks for the note and beating me to the .map file suggestion - rebuilding MapServer is a big hurdle for such a small change.

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242 

-----Original Message-----
From: Frank Warmerdam [mailto:warmerdam at pobox.com]
Sent: Tuesday, September 23, 2003 12:50 PM
To: Tyler Mitchell; mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] Max image size


Tyler Mitchell wrote:
> 
> 
> 
> 
> Thanks Ed, for the benefit of me and the list, can you reference a line
> number or string to change.  I've been hunting but am finding that 1024
> occurs quite a few times throughout the mapserver code ;)

Tyler,

I believe MS_MAXIMGSIZE is what you want to change.

It is my humble opionion that only remote client requests (via URL) should
be checked against this, not image sizes read from .map files or those
originating from mapscript requests.  If appropriate folks agree, I could
look into making this change.  Ideally we would also have a MAXIMGSIZE
directive that could be included in .map files so this could be set
without recompiling mapserver - which is very hard for some folks to do.

PS. MS_MAXIMGSIZE is 2048 in CVS now as far as I can tell, which I believe
allows up to a 2048x2048 image to be requested.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent


_______________________________________________
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