[Mapserver-users] Mapserver printing

Lowell Filak lfilak at medinaco.org
Tue May 27 16:09:58 EDT 2003


I'm not so sure that there is a limit.
I have found that PNG works extremely well for large images and I've never had a problem with generating larger than 8.5x11 images w/ MapServer.
I just finished working with one that is 10218x8814 (~34x30) (no it wasn't created with mapserver, but then that is why I am not sure there is a limit).
Okay, I had to check it out... & MapServer reliably created a 6100x6100 (34x34 at 180dpi - which appears to be the max res. for that size that we can pump through ZehRaster to our plotter) PNG file (the browser wouldn't render it but Gimp opened it fine).
As far as the blank PNG in the browser is concerned:
What we have seen is that sometimes only part of the PNG is loaded, but that only seems to happen on one of the apps we have that tracks vehicles and loads a new map every 10-120 seconds.
We have not tracked down why it happens but it would seem that the html is finished and loaded by the browser with the "img src" specified before the image file is actually finished.
Lowell F.

The following message was sent by "Zamil Murji" <Zamil.Murji at divestco.com> on Fri, 23 May 2003 11:16:03 -0600.

> Hi,
> 
> We are currently trying to use mapserver to print images on an 8.5x11 inch paper using the web. Up to date we have been very successfull. However, we are now trying the next step - PLOTTING. I was wondering if anyone has any idea how to approach this issue. I read in the past that mapserver has a limit to the size of image that can be created, if so, how do I get around this. Any suggestions would be welcome.
> 
> Also, I noticed that when we started using png images all over our site. Sometimes they would come back empty. NO error messages from mapserver, just an empty image. If you refreshed the screen everything would start working again. The image would be displayed again. Anybody observe similar output? Once again, it happens randomly. Sometimes it works and sometimes it doesn't.
> 
> Zamil
> 
> _______________________________________________
> 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