[Mapserver-users] Max image size
Frank Warmerdam
warmerdam at pobox.com
Tue Sep 23 09:49:49 PDT 2003
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
More information about the MapServer-users
mailing list