Re: [Qgis-developer] Raster provider - need to define 'round' on Windows

2011-03-10 Thread Radim Blazek
Jef fixed that in r15426. Radim On Fri, Mar 11, 2011 at 2:26 AM, Alister Hood wrote: > Hi everyone, > Sorry if this has already been covered and I missed it. > Building Trunk on Windows I had these errors, and when trying to load > any > raster file I got a message that it wasn't a supported ras

Re: [Qgis-developer] Raster providers

2011-03-10 Thread Radim Blazek
Jef fixed that by qRound. Thank you Jef and sorry for various problems I am introducing. How do you indent the code? If I run scripts/prepare-commit.sh (which existence I just noticed) it does too many not desired indentations. Radim On Thu, Mar 10, 2011 at 11:58 PM, G. Allegri wrote: > Radim, t

Re: [Qgis-developer] crash in GdalTools

2011-03-10 Thread custard
- Original Message - > From: "Paolo Cavallini" > Subject: [Qgis-developer] crash in GdalTools > > Hi all. > In some (but not all) Windows machines (both seven and xp) we are getting > crashes in gdaltools (contour, buildvrt, possibly others) [qgis 1.6, > standalone]. I noticed that there

[Qgis-developer] Raster provider - need to define 'round' on Windows

2011-03-10 Thread Alister Hood
Hi everyone, Sorry if this has already been covered and I missed it. Building Trunk on Windows I had these errors, and when trying to load any raster file I got a message that it wasn't a supported raster source: 4>Compiling... 4>qgsgdalprovider.cpp 4>..\..\..\..\qgis\src\providers\gdal\qgsgdalpr

Re: [Qgis-developer] Raster providers

2011-03-10 Thread G. Allegri
Radim, the round() you added in qgsgdalprovider causes problems for me on VC++ ( http://trac.osgeo.org/qgis/browser/trunk/qgis/src/providers/gdal/qgsgdalprovider.cpp#L664 ). Should we add something like: #define round(dbl) dbl >= 0.0 ? (int)(dbl + 0.5) : ((dbl - (double)(int)dbl) <= -0.5 ? (int)db

[Qgis-developer] RE: Qgis-developer Digest, Vol 61, Issue 46

2011-03-10 Thread Alister Hood
Hi Paolo, > Date: Thu, 10 Mar 2011 12:15:18 +0100 > From: Paolo Cavallini > Subject: [Qgis-developer] crash in GdalTools > To: qgis-developer > Message-ID: <4a9ee53d0bc036093fe75dc12a3c8cfa@localhost> > Content-Type: text/plain; charset=UTF-8 > > Hi all. > In some (but not all) Windows machines

Re: [Qgis-developer] Raster providers

2011-03-10 Thread Radim Blazek
I fact, I forgot to write a piece of logic, there is a shift. Radim On Thu, Mar 10, 2011 at 8:13 PM, Radim Blazek wrote: > I have changed how GDAL provider reads the data, it should be fast again. > > > BUT! I am not absolutely sure that resampling is perfect and the > nearest neighbour is alway

Re: [Qgis-developer] Raster providers

2011-03-10 Thread Radim Blazek
I have changed how GDAL provider reads the data, it should be fast again. BUT! I am not absolutely sure that resampling is perfect and the nearest neighbour is alway nearest. I dont think however that anybody could notice that in normal work. I would appreciate however if somebody with fresh brai

[Qgis-developer] Curious why this does not work (WMS server)

2011-03-10 Thread Tim Keitt
I tried the links below without success in QGIS. THK -- Forwarded message -- From: M. Anwar Sounny-Slitine Date: Thu, Mar 10, 2011 at 8:02 AM Subject: [gis-users] Fwd: Imagery WMS from TNRIS To: gis-us...@utlists.utexas.edu Great resource for Texas GIS Imagery needs, the new T

Re: [Qgis-developer] Raster on the fly

2011-03-10 Thread Radim Blazek
Thank you Jürgen. Radim On Thu, Mar 10, 2011 at 11:56 AM, Jürgen E. wrote: > Hi Radim, > > On Thu, 10. Mar 2011 at 11:21:48 +0100, Radim Blazek wrote: >> 32 or 64bit? If 64, could somebody test also 32bit? > > We don't have 64bit builds on Windows (at least I don't). > > Anyway, r15416 might fix

Re: [Qgis-developer] Raster on the fly

2011-03-10 Thread G. Allegri
I can confirm the r15416 fixed that problem (windows 7 32bit). I'm doing test on a 21698x24674 ArcInfo Binary Grid raster. It took minutes to load, and several seconds for each pan/zoom... giovanni 2011/3/10 Jürgen E. > Hi Radim, > > On Thu, 10. Mar 2011 at 11:21:48 +0100, Radim Blazek wrote: >

[Qgis-developer] crash in GdalTools

2011-03-10 Thread Paolo Cavallini
Hi all. In some (but not all) Windows machines (both seven and xp) we are getting crashes in gdaltools (contour, buildvrt, possibly others) [qgis 1.6, standalone]. I noticed that there are 2 gdal app folders (16 and 17). Anyone can confirm the problem? Any idea of what we can test? All the best. --

Re: [Qgis-developer] Raster on the fly

2011-03-10 Thread Jürgen E . Fischer
Hi Radim, On Thu, 10. Mar 2011 at 11:21:48 +0100, Radim Blazek wrote: > 32 or 64bit? If 64, could somebody test also 32bit? We don't have 64bit builds on Windows (at least I don't). Anyway, r15416 might fix the issue. Looks like mCoordinateTransform was deleted twice. One time just after the

Re: [Qgis-developer] Raster on the fly

2011-03-10 Thread Giovanni Manghi
On Thu, 2011-03-10 at 11:21 +0100, Radim Blazek wrote: > 32 or 64bit? If 64, could somebody test also 32bit? 32bit. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Raster on the fly

2011-03-10 Thread Radim Blazek
32 or 64bit? If 64, could somebody test also 32bit? Radim On Thu, Mar 10, 2011 at 11:03 AM, Giovanni Manghi wrote: > On Thu, 2011-03-10 at 07:40 +0100, Radim Blazek wrote: >> Hi, >> could you please check if it is driver specific, I mean try also GRASS and >> WMS. > > > Under Windows (Seven) it

Re: [Qgis-developer] Raster on the fly

2011-03-10 Thread Giovanni Manghi
On Thu, 2011-03-10 at 07:40 +0100, Radim Blazek wrote: > Hi, > could you please check if it is driver specific, I mean try also GRASS and > WMS. Under Windows (Seven) it seems to crash always that the reprojection is active. I tested also WMS and GRASS. It is not necessary to actually try reproj

Re: [Qgis-developer] qgis svn trunk 15412 compile error...

2011-03-10 Thread Marco Hugentobler
Hi Marco Should be fixed now (r15413) Index: src/app/qgisapp.cpp === --- src/app/qgisapp.cpp (Revision 15412) +++ src/app/qgisapp.cpp (Arbeitskopie) @@ -626,7 +626,7 @@ removeAnnotationItems(); // cancel request for FileOpen

[Qgis-developer] qgis svn trunk 15412 compile error...

2011-03-10 Thread marco bra
qgis svn trunk 15412 compile error... Hi today i get /home/ubuntu/qgis-trunk/src/app/qgisapp.cpp:629: error: ‘nil’ was not declared in this scope make[2]: *** [src/app/CMakeFiles/qgis.dir/qgisapp.cpp.o] Errore 1 make[1]: *** [src/app/CMakeFiles/qgis.dir/all] Errore 2 make: *** [all] Errore 2 Bes