[mapserver-users] Using mapserver to print a large "plotter" sizedimage

Bob Basques Bob.Basques at ci.stpaul.mn.us
Mon Jun 1 10:34:50 PDT 2009


Robert, 

That's not so big.  You can compile MapServer with larger output numbers, I think there is even an optional output method that has been recently added (or is going to be added) to help with this type of thing. 

The limits are in place for good reason BTW, so be careful with what you set up.  We set our up for larger than stock image output as well.  But we still have an upper limit in place.  See here. 

http://gis.ci.stpaul.mn.us/datasets/SHP/METC/TLG/CENTERLINES_TLG/tlg_googlish1_public.map?mapext=531979.4411764706%20126619.81457800511%20611328.5588235294%20183199.1854219949&mapsize=3000%203000&mode=map&MOOSETIME=1243877325243 ( http://gis.ci.stpaul.mn.us/datasets/SHP/METC/TLG/CENTERLINES_TLG/tlg_googlish1_public.map?mapext=531979.4411764706%20126619.81457800511%20611328.5588235294%20183199.1854219949&mapsize=3000%203000&mode=map&MOOSETIME=1243877325243 ) 

You can see that it takes a little while for the response to come back with this larger image size (3000x3000), but the images does eventually com back.  You can bog your server down if you have too many folks grabbing too big of images too often.  I've been contemplating a whole separate server just for this type of printing operation on this end for example. 

We still run into problems with folks using multiple monitor spanning Browser windows that request really large images, but this has only sporadically been a problem so far.  But I can tell that the newer users are starting to expect some of these capabilities as well as newer high rez screens are installed. 

bobb 




>>> Robert Hicks <robhyx at gmail.com> wrote:

Hello all, I am trying to figure out a way I can use Mapserver to print out a large image, one that will look good coming off a plotter (probably around 300 dpi). 


There is an open ticket (http://mapserver.org/development/rfc/ms-rfc-55.html) for something somewhat related but it offers some good advice on what I am trying to do, however the maximum size that Mapserver allows you to request is 2048 x 2048, and my current viewport is 757 which scales like: 757 (old size) * 300 (new resolution that is good for 300 dpi according to ticket) / 72 (old resolution) = 3154.1666666666666666666666666667 which is way to big to request from Mapserver. 



Does anyone have experience with this?



Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090601/564d4a79/attachment.htm>


More information about the MapServer-users mailing list