Re: [Qgis-developer] No data value in raster transparency list

2012-08-23 Thread Marco Hugentobler
Hi Radim Nodata should be rendered transparent in most cases. But it could also be possible you want to render it differently. E.g. the interpolation plugin writes nodata value in case it encounters numerical problems. Then it is useful to have the nodata values coloured to see where

Re: [Qgis-developer] Large raster (ecw) identify very long

2012-08-23 Thread haubourg
Guys, you are incredible! It works really well and fast. Furthermore, I don't know if you did something, but ecw drawing is instantaneous now. I have never seen that on any GIS! Thanks a lot Cheers RĂ©gis -- View this message in context:

Re: [Qgis-developer] Aruns work: hierarchical SVG symbol display issue

2012-08-23 Thread arunthe...@gmail.com
Hello Neumann, On Thu, Aug 16, 2012 at 7:05 PM, Andreas Neumann a.neum...@carto.netwrote: The only issue I have with the current solution is that it takes a long time (in my case about 10 seconds) to load all the symbols (hundreds of them in my case). Wouldn't it be faster to only load the

[Qgis-developer] qgisstyle binary file created in scripts folder and QGIS stalls

2012-08-23 Thread arunthe...@gmail.com
Hello, I seem to have a weird problem. I compile the code in my build folder. Then fire gdb ~/bin/qgis It all runs fine until Debug: src/core/qgsproviderregistry.cpp: 462: (providerLibrary) Library name is /home/teco/bin/qgis/lib/qgis/plugins/libwcsprovider.so Debug:

Re: [Qgis-developer] qgisstyle binary file created in scripts folder and QGIS stalls

2012-08-23 Thread arunthe...@gmail.com
Hello all, Pardon me for the noise. I figured out that those two unrelated. I am still investigating what makes the system to hang. On Thu, Aug 23, 2012 at 5:05 PM, arunthe...@gmail.com arunthe...@gmail.comwrote: Hello, I seem to have a weird problem. I compile the code in my build folder.

Re: [Qgis-developer] Large raster (ecw) identify very long

2012-08-23 Thread Radim Blazek
On Wed, Aug 22, 2012 at 8:34 PM, Even Rouault even.roua...@mines-paris.org wrote: I suppose your workaround in QGIS will be to read 1x2 pixel or something like that. Yes, I have used 2x2. Hum, I humbly suggest that the fix should be done in the ECW driver rather than in QGIS. The issue

Re: [Qgis-developer] Large raster (ecw) identify very long

2012-08-23 Thread Radim Blazek
On Thu, Aug 23, 2012 at 10:41 AM, haubourg regis.haubo...@eau-adour-garonne.fr wrote: Guys, you are incredible! It works really well and fast. Furthermore, I don't know if you did something, but ecw drawing is instantaneous now. I have never seen that on any GIS! On Wed, Aug 22, 2012 at

Re: [Qgis-developer] No data value in raster transparency list

2012-08-23 Thread Radim Blazek
On Thu, Aug 23, 2012 at 8:15 AM, Marco Hugentobler marco.hugentob...@sourcepole.ch wrote: Hi Radim Nodata should be rendered transparent in most cases. But it could also be possible you want to render it differently. E.g. the interpolation plugin writes nodata value in case it encounters

Re: [Qgis-developer] Aruns work: hierarchical SVG symbol display issue

2012-08-23 Thread Andreas Neumann
Hi Arun, Thanks for your reply. On Thu, 23 Aug 2012 16:53:10 +0530, arunthe...@gmail.com wrote: Hello Neumann, On Thu, Aug 16, 2012 at 7:05 PM, Andreas Neumann wrote: The only issue I have with the current solution is that it takes a long time (in my case about 10 seconds) to load all the

Re: [Qgis-developer] No data value in raster transparency list

2012-08-23 Thread Radim Blazek
On Wed, Aug 22, 2012 at 6:13 PM, Etienne Tourigny etourigny@gmail.com wrote: On Wed, Aug 22, 2012 at 1:11 PM, Bob and Deb bobd...@gmail.com wrote: I've seen nodata with huge float32 values. Unfortunately they are rendered in qgis and I can not make them transparent by adding the value to

Re: [Qgis-developer] Aruns work: hierarchical SVG symbol display issue

2012-08-23 Thread Andreas Neumann
Hi, I noticed that the cache seems to better work if a symbol was already an SVG symbols (only 4-5 seconds) whereas, if a symbol was e.g. a simple marker before and I change it to an SVG symbol I have to wait 8-9 seconds for the list to load. Andreas On Thu, 23 Aug 2012 13:59:42 +0200,

Re: [Qgis-developer] No data value in raster transparency list

2012-08-23 Thread Etienne Tourigny
I also find it puzzling that the data type changes (say from byte to int). I understand that it is needed to have a nodata value when none is given, but it would be nice to hide this from the user as well. Etienne On Thu, Aug 23, 2012 at 9:05 AM, Radim Blazek radim.bla...@gmail.com wrote: On

Re: [Qgis-developer] No data value in raster transparency list

2012-08-23 Thread Radim Blazek
On Thu, Aug 23, 2012 at 2:08 PM, Etienne Tourigny etourigny@gmail.com wrote: I also find it puzzling that the data type changes (say from byte to int). I understand that it is needed to have a nodata value when none is given, but it would be nice to hide this from the user as well. User

Re: [Qgis-developer] No data value in raster transparency list

2012-08-23 Thread Etienne Tourigny
On Thu, Aug 23, 2012 at 9:30 AM, Radim Blazek radim.bla...@gmail.com wrote: On Thu, Aug 23, 2012 at 2:08 PM, Etienne Tourigny etourigny@gmail.com wrote: I also find it puzzling that the data type changes (say from byte to int). I understand that it is needed to have a nodata value when

Re: [Qgis-developer] Large raster (ecw) identify very long

2012-08-23 Thread Even Rouault
Until it get fixed in GDAL we can use if ( GDALGetDriverShortName() == ECW) and once you fix that #if defined(GDAL_VERSION_NUM) GDAL_VERSION_NUM x.x if ( GDALGetDriverShortName() == ECW) Seems reasonnable. Except I suggest using a string comparison function and not == ;-)

[Qgis-developer] Object owner design in QgsGraphBuilder

2012-08-23 Thread Kuhn Matthias, Vermessung
Hi I've recently been working with the network analysis library. When I had a look at the code I noticed the following: In the constructor a new QgsGraph() mGraph is instantiated In the destructor mGraph is deleted if not null In the method graph() mGraph is returned and set to null This

Re: [Qgis-developer] No data value in raster transparency list

2012-08-23 Thread Radim Blazek
On Wed, Aug 22, 2012 at 5:56 PM, Giovanni Manghi giovanni.man...@faunalia.pt wrote: It isn't the only odd thing/bug with nulls and transparency. For example not always nulls are rendered transparent It was true, it should be fixed now, nodata are always transparent. and when you try to add

[Qgis-developer] Work with WMS servers in Python

2012-08-23 Thread Alexander Bruy
Hi all. It is possible to add WMS layers from Python plugin using QgsRasterLayer class. But seems there is no way to work with server itself, e.g request list of layers, available CRS and formats. As I understand, to make this possible we need to expose QgsWmsProvider in SIP bindings. Maybe

Re: [Qgis-developer] Aruns work: hierarchical SVG symbol display issue

2012-08-23 Thread Bob and Deb
It would be cool to have a folder called Recently Used with the same hierarchy as the svg folder and have that folder opened by default. We have something like this with the projection selector. On Thu, Aug 23, 2012 at 5:06 AM, Andreas Neumann a.neum...@carto.netwrote: Hi, I noticed that the

Re: [Qgis-developer] qgisstyle binary file created in scripts folder and QGIS stalls

2012-08-23 Thread Bob and Deb
I've noticed qgis hanging when you have a debug build. When I go to the console and click in it, the debug output unfreezes and qgis once again is responsive. Not sure if this is your problem? On Thu, Aug 23, 2012 at 4:48 AM, arunthe...@gmail.com arunthe...@gmail.comwrote: Hello all, Pardon

Re: [Qgis-developer] Work with WMS servers in Python

2012-08-23 Thread Alexander Bruy
I know about OWSLib, but IMHO it is better to create bindings. Only not sure is this correct way or not, this is provider code not core functionality. 2012/8/23 G. Allegri gioha...@gmail.com: While QgsWmsProvider isn't exposed through SIP, I would use OWSLib [1] giovanni [1]

[Qgis-developer] sextante svn

2012-08-23 Thread skampus
in order to update sextante svn version, i have indicated to tortoise the C:\Users\skampus\.qgis\python\plugins\sextante folder. often it happens that when i update sextante torotise tells that here is a conflict so i have to delete sextante folder, re-install sextante via qgis and finally