Re: [mapserver-users] Mapserver 6.2.1 fails to read remote WMS in png format

2013-04-25 Thread Daniel Morissette
Hi Jukka, IIRC, a few releases ago (not sure if that was in 6.0 or before) we got rid of all native raster reading code in MapServer and started relying solely on GDAL for raster input. i.e. before that we used to read PNG input directly in MapServer code using libpng, and now we do it

Re: [mapserver-users] Mapserver 6.2.1 fails to read remote WMS in png format

2013-04-25 Thread Rahkonen Jukka
Hi, Yes, I have checked that png files saved from both services I have been testing are OK. I know that our own server is using this outputformat OUTPUTFORMAT NAME 'AGG_Q' MIMETYPE image/png DRIVER AGG/PNG EXTENSION png IMAGEMODE RGB FORMATOPTION

Re: [mapserver-users] Mapserver 6.2.1 fails to read remote WMS in png format

2013-04-25 Thread Daniel Morissette
What if you try to gdal_translate it to a TIFF or JPEG for instance? Please make sure you use the gdal_translate tool from the exact same MS4W package as what your MapServer is using. Daniel On 13-04-25 10:17 AM, Rahkonen Jukka wrote: Hi, Yes, I have checked that png files saved from both

Re: [mapserver-users] Mapserver 6.2.1 fails to read remote WMS in png format

2013-04-25 Thread Rahkonen Jukka
Hi, No trouble at all with gdal_translate that is in gdal-ogr tools of the same MS4W3.1.0beta1. If the error message gives right information then perhaps the trouble is not in the png image which is captured from the remote WMS but in getting access to it drawGDAL(): Unable to access file.

Re: [mapserver-users] Mapserver 6.2.1 fails to read remote WMS in png format

2013-04-25 Thread Jan Hartmann
On 04/25/2013 04:26 PM, Daniel Morissette wrote: What if you try to gdal_translate it to a TIFF or JPEG for instance? Please make sure you use the gdal_translate tool from the exact same MS4W package as what your MapServer is using. Why should this be so, Daniel? I would expect to give

Re: [mapserver-users] Mapserver 6.2.1 fails to read remote WMS in png format

2013-04-25 Thread Daniel Morissette
On 13-04-25 10:54 AM, Jan Hartmann wrote: On 04/25/2013 04:26 PM, Daniel Morissette wrote: What if you try to gdal_translate it to a TIFF or JPEG for instance? Please make sure you use the gdal_translate tool from the exact same MS4W package as what your MapServer is using. Why should this

Re: [mapserver-users] Mapserver 6.2.1 fails to read remote WMS in png format

2013-04-25 Thread Daniel Morissette
On 13-04-25 10:37 AM, Rahkonen Jukka wrote: Hi, No trouble at all with gdal_translate that is in gdal-ogr tools of the same MS4W3.1.0beta1. If the error message gives right information then perhaps the trouble is not in the png image which is captured from the remote WMS but in getting

Re: [mapserver-users] Mapserver 6.2.1 fails to read remote WMS in png format

2013-04-25 Thread Rahkonen Jukka
Daniel Morissette wrote: On 13-04-25 10:37 AM, Rahkonen Jukka wrote: Hi, No trouble at all with gdal_translate that is in gdal-ogr tools of the same MS4W3.1.0beta1. If the error message gives right information then perhaps the trouble is not in the