[Mapserver-users] Image size out of range ...
Daniel Morissette
dmorissette at dmsolutions.ca
Thu Mar 4 08:23:42 PST 2004
Frank Rittinger wrote:
>
> I want to create output images that exceed the default image size of
> 1024x1024. Are there any penalties in changing MS_MAXIMAGESIZE_DEFAULT
> to something like 4400 or even larger?
>
> How exactly does MS_MAXIMAGESIZE_DEFAULT = 2048 relates to a max size of
> 1024x1024? I.e. if I want to have an image size of 1613x2200 what would
> be the required MS_MAXIMAGESIZE_DEFAULT?
>
My understanding is that MS_MAXIMAGESIZE_DEFAULT = 2048 means that you
can have up to 2048 pixels in both dimensions (i.e. max of 2048x2048).
So if you want to allow 1613x2200 images you should set it to 2200.
> Or is there a way to override the default at runtime?
>
Since version 4.0 (not sure about 3.6), you should be able to set
MAXSIZE 2200 at the top-level in your mapfile to override the default.
Daniel
--
------------------------------------------------------------
Daniel Morissette dmorissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list