Re: [Qgis-user] QGIS Windows build fails to load WMS with format image/jpeg
Hi Andreas, I am glad that you were able to reproduce my problem. If you can afford the time it would be nice to have a new installer. I have no Windows build environment available to test a patch. I would of course volunteer for testing of course. I'm preparing it right now. Further info will be delivered soon ;) Marco ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS Windows build fails to load WMS with format image/jpeg
Hi Marco, Stephan and others, I am glad that you were able to reproduce my problem. If you can afford the time it would be nice to have a new installer. I have no Windows build environment available to test a patch. I would of course volunteer for testing. If you don't have the time it would be great if the problem could be fixed for the 1.0 release. I plan to use QGIS within our department more widely soon. Thanks a lot for your efforts, Andreas > Hello Marco, > > "Marco Pasetti" <[EMAIL PROTECTED]>, [20080819 - 12:12:30] > >> Finally: do you prefer a patch or a new binary release to fix that? > > to have a more widely use it would be nice to have a new installer > which fixes the adressed problem. I think that this is easier for our > users and make it more easy to test. > > Just my 0.02¢ > > Cheers > > Stephan > > -- > Stephan Holl <[EMAIL PROTECTED]>, http://intevation.de/~stephan > Tel: +49 (0)541-33 50 8 32 | Intevation GmbH | AG Osnabrück - HR B 18998 > Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner > -- Andreas Neumann Böschacherstrasse 6, CH-8624 Grüt/Gossau, Switzerland Email: [EMAIL PROTECTED], Web: * http://www.carto.net/ (Carto and SVG resources) * http://www.carto.net/neumann/ (personal page) * http://www.svgopen.org/ (SVG Open Conference) * http://www.geofoto.ch/ (Georeferenced Photos of Switzerland) ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS Windows build fails to load WMS with format image/jpeg
Hello Marco, "Marco Pasetti" <[EMAIL PROTECTED]>, [20080819 - 12:12:30] > Finally: do you prefer a patch or a new binary release to fix that? to have a more widely use it would be nice to have a new installer which fixes the adressed problem. I think that this is easier for our users and make it more easy to test. Just my 0.02¢ Cheers Stephan -- Stephan Holl <[EMAIL PROTECTED]>, http://intevation.de/~stephan Tel: +49 (0)541-33 50 8 32 | Intevation GmbH | AG Osnabrück - HR B 18998 Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS Windows build fails to load WMS with format image/jpeg
Hi Tim, Hope you had a nice holiday :-) yes, thanks :-) You wouldnt see any problems with dep walker sinve qt image support for jpeg is via plugins. Also on your dev system you probably wont see an issue since Qt will find the plugins in the Qt dir. oh, yes, what a stupid I am! I forgot to test it renaming the DevTools folder, as I'm used to! In fact, I did it, and the WMS loader (after connecting to the server) shows only the PNG option If you check main.cpp under src/app you will see the seaerch path used for qt image plugins. Copy the image plugins from qtdir/plugins/imageformats/* into the qgis dir using the expected subdir Using Process Monitor I noticed the following failings: C:\DEVTOOLS\QT-OPENSOURCE\PLUGINS\IMAGEFORMATS\QGIF4.DLL C:\DEVTOOLS\QT-OPENSOURCE\PLUGINS\IMAGEFORMATS\QICO4.DLL C:\DEVTOOLS\QT-OPENSOURCE\PLUGINS\IMAGEFORMATS\QJPEG4.DLL C:\DEVTOOLS\QT-OPENSOURCE\PLUGINS\IMAGEFORMATS\QMNG4.DLL C:\DEVTOOLS\QT-OPENSOURCE\PLUGINS\IMAGEFORMATS\QSVG4.DLL C:\DEVTOOLS\QT-OPENSOURCE\PLUGINS\IMAGEFORMATS\QTIFF4.DLL I think I should put them in the qgis/plugins, right? I opened the cpp file and rapidly read it (I'm very short in times, sorry): at lines 535-536 I read: myPath += "/Contents/plugins"; QCoreApplication::addLibraryPath( myPath ); Should I create a qgis/Contents/plugins dir, or the qgis/plugins is enough? Then, I also found the following "failings" (detected by Process Manager but not from DepWalker): C:\DevTools\Qt-OpenSource\bin\wintab32.dll C:\DevTools\Qt-OpenSource\bin\ssleay32.dll I do know nothing about wintab32.dll, while ssleay32.dll is the OpenSSL driver... but either PgSQL nor SQLite have been compiled with the OpenSSL support Should I add them though? in the qgis root? at lines 537-539 of the main.cpp I read as follows: //next two lines should not be needed, testing only //QCoreApplication::addLibraryPath( myPath + "/imageformats" ); //QCoreApplication::addLibraryPath( myPath + "/sqldrivers" ); interesting... but not actually compiled! (commented text). suggestions? Finally: do you prefer a patch or a new binary release to fix that? Regards, Marco ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS Windows build fails to load WMS with format image/jpeg
Hi Marco Hope you had a nice holiday :-) You wouldnt see any problems with dep walker sinve qt image support for jpeg is via plugins. Also on your dev system you probably wont see an issue since Qt will find the plugins in the Qt dir. If you check main.cpp under src/app you will see the seaerch path used for qt image plugins. Copy the image plugins from qtdir/plugins/imageformats/* into the qgis dir using the expected subdir. To test you can try renaming your qt dir before running qgis and then doing e.g. Your wms test. regards Tim On 8/18/08, Marco Pasetti <[EMAIL PROTECTED]> wrote: > Hi Tim, > > what as rude awakening after 15 days of holidays :-) ... more that 800 mails > to read and a lot of work to do! > > but the show must go on ! :) > >>I think this is just a packaging bug in that the qt jpeg drivers >>probably arent packaged properly / at all. Marco Pasetti would be the >>guy to go to on this. > > I don't think so. The specific qt jpeg library (as gif or png and others) is > not needed in the package. > I checked it out first with Dependency Walker and then tracked the specific > WMS process with Process Manager: no erros found! > > I think it's a different problem. BTW it seems to work for me: > > http://www.webalice.it/marco.pasetti/qgis/Immagine01.png > http://www.webalice.it/marco.pasetti/qgis/Immagine02.png > > Cheers, > > Marco > > -- Sent from my mobile device Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS Blog: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS Windows build fails to load WMS with format image/jpeg
Hello Marco, "Marco Pasetti" <[EMAIL PROTECTED]>, [20080818-14:03:13]: > Hi Tim, > > what as rude awakening after 15 days of holidays :-) ... more that > 800 mails to read and a lot of work to do! > > but the show must go on ! :) welcome back :-) > > >I think this is just a packaging bug in that the qt jpeg drivers > >probably arent packaged properly / at all. Marco Pasetti would be the > >guy to go to on this. > > I don't think so. The specific qt jpeg library (as gif or png and > others) is not needed in the package. > I checked it out first with Dependency Walker and then tracked the > specific WMS process with Process Manager: no erros found! > > I think it's a different problem. BTW it seems to work for me: > > http://www.webalice.it/marco.pasetti/qgis/Immagine01.png > http://www.webalice.it/marco.pasetti/qgis/Immagine02.png Did you double check that the GetMap-request is done as jpeg? Best regards Stephan -- Stephan Holl <[EMAIL PROTECTED]>, http://intevation.de/~stephan Tel: +49 (0)541-33 50 8 32 | Intevation GmbH | AG Osnabrück - HR B 18998 Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner signature.asc Description: PGP signature ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS Windows build fails to load WMS with format image/jpeg
Hi Tim, what as rude awakening after 15 days of holidays :-) ... more that 800 mails to read and a lot of work to do! but the show must go on ! :) I think this is just a packaging bug in that the qt jpeg drivers probably arent packaged properly / at all. Marco Pasetti would be the guy to go to on this. I don't think so. The specific qt jpeg library (as gif or png and others) is not needed in the package. I checked it out first with Dependency Walker and then tracked the specific WMS process with Process Manager: no erros found! I think it's a different problem. BTW it seems to work for me: http://www.webalice.it/marco.pasetti/qgis/Immagine01.png http://www.webalice.it/marco.pasetti/qgis/Immagine02.png Cheers, Marco ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS Windows build fails to load WMS with format image/jpeg
Hi I think this is just a packaging bug in that the qt jpeg drivers probably arent packaged properly / at all. Marco Pasetti would be the guy to go to on this. Regards Tim 2008/8/8 Stephan Holl <[EMAIL PROTECTED]>: > Hallo Andreas, > > Andreas Neumann <[EMAIL PROTECTED]>, [20080808 - 11:19:26] > >> Hi QGIS Windows users, >> >> I have a strange problem that my QGIS Windows build (Metis) doesn't >> support the display of image/jpeg with WMS. It works fine in Linux, >> but not in Windows. I only get image/png as a choice, although the >> GetCapabilities output of the WMS shows support for gif/jpeg/png/tiff. >> >> Is this due to a bug in QT for Windows? I replicated the behavior on >> both Win2000 and WinXP. The same WMS works fine on Linux with >> image/jpeg. > > I was told that at least QGIS 0.10.0 (IO) had that problem, that the > windows build was built without JPEG-support. It seems that this is > also the case for 0.11.0 (Metis). > >> On the same issue, we discovered that some WMS (e.g. UMN Mapserver) >> offers two version of PNG: >> >>image/png >>image/png; mode=24bit >> >> QGIS only picks up the first variant, but in my case I want the >> second one - jpeg is prefered, but png/24bit would be the second >> choice. I am serving orthoimages in this case, where we want 24bit >> color depth. >> >> The second issue affects all versions of QGIS, while the first issue >> only appears on Windows - works fine in Linux/MacOSX. >> >> Thanks for any feedback on this issue. > > I leave this topic for others, since I don't know anything about that. > > Best regards > >Stephan > > > -- > Stephan Holl <[EMAIL PROTECTED]>, http://intevation.de/~stephan > Tel: +49 (0)541-33 50 8 32 | Intevation GmbH | AG Osnabrück - HR B 18998 > Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-user > -- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS Blog: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS Windows build fails to load WMS with format image/jpeg
Hallo Andreas, Andreas Neumann <[EMAIL PROTECTED]>, [20080808 - 11:19:26] > Hi QGIS Windows users, > > I have a strange problem that my QGIS Windows build (Metis) doesn't > support the display of image/jpeg with WMS. It works fine in Linux, > but not in Windows. I only get image/png as a choice, although the > GetCapabilities output of the WMS shows support for gif/jpeg/png/tiff. > > Is this due to a bug in QT for Windows? I replicated the behavior on > both Win2000 and WinXP. The same WMS works fine on Linux with > image/jpeg. I was told that at least QGIS 0.10.0 (IO) had that problem, that the windows build was built without JPEG-support. It seems that this is also the case for 0.11.0 (Metis). > On the same issue, we discovered that some WMS (e.g. UMN Mapserver) > offers two version of PNG: > >image/png >image/png; mode=24bit > > QGIS only picks up the first variant, but in my case I want the > second one - jpeg is prefered, but png/24bit would be the second > choice. I am serving orthoimages in this case, where we want 24bit > color depth. > > The second issue affects all versions of QGIS, while the first issue > only appears on Windows - works fine in Linux/MacOSX. > > Thanks for any feedback on this issue. I leave this topic for others, since I don't know anything about that. Best regards Stephan -- Stephan Holl <[EMAIL PROTECTED]>, http://intevation.de/~stephan Tel: +49 (0)541-33 50 8 32 | Intevation GmbH | AG Osnabrück - HR B 18998 Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] QGIS Windows build fails to load WMS with format image/jpeg
Hi QGIS Windows users, I have a strange problem that my QGIS Windows build (Metis) doesn't support the display of image/jpeg with WMS. It works fine in Linux, but not in Windows. I only get image/png as a choice, although the GetCapabilities output of the WMS shows support for gif/jpeg/png/tiff. Is this due to a bug in QT for Windows? I replicated the behavior on both Win2000 and WinXP. The same WMS works fine on Linux with image/jpeg. On the same issue, we discovered that some WMS (e.g. UMN Mapserver) offers two version of PNG: image/png image/png; mode=24bit QGIS only picks up the first variant, but in my case I want the second one - jpeg is prefered, but png/24bit would be the second choice. I am serving orthoimages in this case, where we want 24bit color depth. The second issue affects all versions of QGIS, while the first issue only appears on Windows - works fine in Linux/MacOSX. Thanks for any feedback on this issue. Andreas -- Andreas Neumann Böschacherstrasse 6, CH-8624 Grüt/Gossau, Switzerland Email: [EMAIL PROTECTED], Web: * http://www.carto.net/ (Carto and SVG resources) * http://www.carto.net/neumann/ (personal page) * http://www.svgopen.org/ (SVG Open Conference) * http://www.geofoto.ch/ (Georeferenced Photos of Switzerland) ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user