[mapserver-users] Is there a limitation on the mapsize in mapserv 3.5

Stephen Lime steve.lime at dnr.state.mn.us
Mon Dec 17 22:26:32 EST 2001


Note that the location of that constant (actually now MS_MAXIMGSIZE) is moved to map.h in the official 3.5 release so that it can be used in filtering map_size URL input as well.

Steve

Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937
>>> "Ed McNierney" <ed at topozone.com> 12/17/01 19:20 PM >>>
Regina -

Look at the value MAXIMGSIZE that's defined right at the top of
mapserv.h - you can change it to whatever maximum you want and
recompile.  Remember that you might run into file format size
limitations.  Because I have other ways to restrict image size, and
because I sometimes use MapServer to generate very large images, I use a
value of 16383 for MAXIMGSIZE.

	- Ed

Ed McNierney
Chief Mapmaker
TopoZone.com


-----Original Message-----
From: Obe, Regina DND\MIS [mailto:Regina.Obe.PFD at ci.boston.ma.us]
Sent: Monday, December 17, 2001 5:14 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [mapserver-users] Is there a limitation on the mapsize in
mapserv 3.5


If I try to specify a mapsize that is greater than 1000 pixels x 1000
pixels, mapserv comes back with an error that the image size is too big.
I
was wondering if this was a limitation in the operating system or a
limitation enforced within the mapserv code.




More information about the mapserver-users mailing list