Re: [mapserver-users] 8 bit versus 24 bit output in MapServer 6.x

2012-10-23 Thread Lime, Steve D (DNR)
Have you tried pre-computing image palettes? I've had some very good luck with rendering 24-bit PNGs and then running them through a pre-computed palette (there's an output format option for this). To do this I create a couple representative sample images using MapServer with 24-bit PNG output.

Re: [mapserver-users] 8 bit versus 24 bit output in MapServer 6.x

2012-10-23 Thread Stephen Woodbridge
On 10/23/2012 11:24 PM, Richard Greenwood wrote: On Tue, Oct 23, 2012 at 7:30 PM, Stephen Woodbridge wrote: On 10/23/2012 4:31 PM, Richard Greenwood wrote: All - I've have always used 8 bit GIFs because they are generally the smallest. I serve a rural area with flaky internet and I do a good

Re: [mapserver-users] 8 bit versus 24 bit output in MapServer 6.x

2012-10-23 Thread Stephen Woodbridge
On 10/23/2012 11:30 PM, Richard Greenwood wrote: On Tue, Oct 23, 2012 at 9:24 PM, Richard Greenwood wrote: On Tue, Oct 23, 2012 at 7:30 PM, Stephen Woodbridge wrote: On 10/23/2012 4:31 PM, Richard Greenwood wrote: All - I've have always used 8 bit GIFs because they are generally the smalle

Re: [mapserver-users] 8 bit versus 24 bit output in MapServer 6.x

2012-10-23 Thread Stephen Woodbridge
On 10/23/2012 4:31 PM, Richard Greenwood wrote: All - I've have always used 8 bit GIFs because they are generally the smallest. I serve a rural area with flaky internet and I do a good bit with mobile, so size is more important to me than pixel-perfect. Since MapServer 6.0 I have found 8 bit out

Re: [mapserver-users] mapcache_seed segfault when using threading [SEC=UNCLASSIFIED]

2012-10-23 Thread Matthew Doyle
I have created an issue for this on github: https://github.com/mapserver/mapcache/issues/45 -- View this message in context: http://osgeo-org.1560.n6.nabble.com/mapcache-seed-segfault-when-using-threading-SEC-UNCLASSIFIED-tp5007582p5010646.html Sent from the Mapserver - User mailing list archi

Re: [mapserver-users] libpng error: image size exceeds user limits in IHDR

2012-10-23 Thread Andrea Peri
Was a dynamic link ? Perhaps an update of some library has put the mapserver out of sync ? 2012/10/23 Alessandro Pasotti > >> 2012/10/23 Andrea Peri : > >>> Hi, > >>> > >>> Perhaps something correlated to the bit of colors ? The GIF is a 256 > only > >>> color format. > >>> Instead the png could

Re: [mapserver-users] libpng error: image size exceeds user limits in IHDR

2012-10-23 Thread Alessandro Pasotti
>> 2012/10/23 Andrea Peri : >>> Hi, >>> >>> Perhaps something correlated to the bit of colors ? The GIF is a 256 only >>> color format. >>> Instead the png could be to million colors. >> >> Thanks for the hint, but I believe it's something related to the >> libraries or the python bindings on the s

Re: [mapserver-users] libpng error: image size exceeds user limits in IHDR

2012-10-23 Thread Alessandro Pasotti
2012/10/23 Alessandro Pasotti : > 2012/10/23 Andrea Peri : >> Hi, >> >> Perhaps something correlated to the bit of colors ? The GIF is a 256 only >> color format. >> Instead the png could be to million colors. > > Thanks for the hint, but I believe it's something related to the > libraries or the p

Re: [mapserver-users] libpng error: image size exceeds user limits in IHDR

2012-10-23 Thread Alessandro Pasotti
2012/10/23 Andrea Peri : > Hi, > > Perhaps something correlated to the bit of colors ? The GIF is a 256 only > color format. > Instead the png could be to million colors. Thanks for the hint, but I believe it's something related to the libraries or the python bindings on the server: I have a copy

Re: [mapserver-users] libpng error: image size exceeds user limits in IHDR

2012-10-23 Thread Andrea Peri
Hi, Perhaps something correlated to the bit of colors ? The GIF is a 256 only color format. Instead the png could be to million colors. I use this : IMAGETYPE PNG8 OUTPUTFORMAT NAME "AGGA" DRIVER AGG/PNG MIMETYPE "image/png" IMAGEMODE RGBA# need RGBA to have the transpare

Re: [mapserver-users] libpng error: image size exceeds user limits in IHDR

2012-10-23 Thread Andrea Peri
I see your bbox has 0 on xmin. BBOX=0.0,5009377.0857,2504688.54285,7514065.62855 Is only a wrong copy on email ? 2012/10/23 Alessandro Pasotti > hi All, > > I'm in big troubles with a wierd error in python mapscript, the log > reports: libpng error: image size exceeds user limits in IHDR > >

[mapserver-users] libpng error: image size exceeds user limits in IHDR

2012-10-23 Thread Alessandro Pasotti
hi All, I'm in big troubles with a wierd error in python mapscript, the log reports: libpng error: image size exceeds user limits in IHDR image size is 256x256... using gif instead of png shows no errors (as expected)... any idea? the very same piece of code run fine on my testing machine, the

Re: [mapserver-users] Style paramter of WMS request

2012-10-23 Thread Rahkonen Jukka
Hi, I have never cascaded any WMS service that supports styles but according to Mapserver WMS client documentation you have done it right. You must first capture the requests that Mapserver is really sending to the remote server. That is easy, just add line DEBUG 5 into your layer definitions a