[Mapserver-users] Max image size

Ed McNierney ed at topozone.com
Tue Sep 23 12:56:26 EDT 2003


Tyler -

Well, I *did* say to edit map.h, where it only appears three times on three consecutive lines <g>.  You want to edit the MS_MAXIMGSIZE constant.

	- 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: Tyler Mitchell [mailto:TMitchell at lignum.com]
Sent: Tuesday, September 23, 2003 12:22 PM
To: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] Max image size







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 ;)

Ed McNierney <ed at topozone.com> wrote on 09/22/2003 06:28:59 PM:

> Tyler -
>
> By default, MapServer is usually built with a maximum image size of 1024
by
> 1024.  This is to prevent your server from being abused when you're not
> looking <g>.  Many of us change it to a larger size, but you need to edit
> map.h and recompile to do that.  MapServer easily makes much larger
output
> files.
>
>      - Ed
>
> Ed McNierney
> TopoZone.com
>
> >
> >
> >
> >
> > Is there a maximum image size that I can use.  My app works fine with:
> >
> > SIZE 1024 768
> >
> > But not ...
> >
> > SIZE 2048 1024
> >
> > I should also say it's an RGB image.
> >
> > Without bombarding the list needlessly with my error messages, does
anyone
> > know off-hand whether or not MapServer, GD or GDAL has limitations in
image
> > size?
> >
> > (yes, I know that is quite large :)
> >
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> >
>

_______________________________________________
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