[Qgis-user] quantile calculation

2013-12-02 Thread matteo
Hi guys, a simple question: in the graduated classification method, one can choose several methods to classify the data (natural breaks, quantile...) and also the class numbers. If I choose the quantile method, how can I know the interval limit of each range? I mean, if the data are classified

Re: [Qgis-user] 'QLineEdit' object has no attribute 'delete' error in QGIS Dufour plugin

2013-12-02 Thread Hans-Peter Jansen
On Montag, 2. Dezember 2013 03:47:28 Suryo Miles wrote: When i try to open text in textBrowser with command read i got this error message def cari(self, event=None): #open dialog filename = QtGui.QFileDialog.getOpenFileName(self, 'Open File', '*.xml') if

[Qgis-user] New mailing list for spanish speaking users

2013-12-02 Thread Pablo Sanxiao
As one of the results of the QGIS Weekend[1] event that took place in Galicia (Spain) last weekend, a new mailing list for spanish speaking users has been created: https://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-es We would like to thank to Paolo Cavallini for facilitating the mailing

Re: [Qgis-user] RT SQL Layer Plugin for QGIS 2.0?

2013-12-02 Thread Vincent Picavet
Hi, Le lundi 2 décembre 2013 01:14:57, Giuseppe Sucameli a écrit : RT Sql Layer was overseeded by DBManager which is a core plugin, so it works on QGIS 2.x. Talking about that, is there a chance to have the SQL window as a dock for DB manager ? That would be great, only thing why rt sql layer

Re: [Qgis-user] RT SQL Layer Plugin for QGIS 2.0?

2013-12-02 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 02/12/2013 10:41, Vincent Picavet ha scritto: Talking about that, is there a chance to have the SQL window as a dock for DB manager ? That would be great, only thing why rt sql layer is still easier to use for now. +1 - it should be trivial to

[Qgis-user] Four band raster displaying funny

2013-12-02 Thread Jonathan Moules
Hi List, I've got a 4 band raster aerial photography (RGBI) that comprises lots of tiles. I've merged some of the tiles together with: gdal_merge -o 1.tif -of GTiff -co TILED=YES -co BIGTIFF=YES -co COMPRESS=JPEG -co JPEG_QUALITY=50 -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 --optfile tiff_list.txt

Re: [Qgis-user] Four band raster displaying funny

2013-12-02 Thread Jukka Rahkonen
Jonathan Moules jonathanmoules@... writes: Hi List, I've got a 4 band raster aerial photography (RGBI) that comprises lots of tiles. I've merged some of the tiles together with: gdal_merge -o 1.tif -of GTiff -co TILED=YES -co BIGTIFF=YES -co COMPRESS=JPEG -co JPEG_QUALITY=50 -co

[Qgis-user] how to get orfeo toolbox working?

2013-12-02 Thread Martina Schäfer
Hi all! I’m using Q-GIS 2.0.1 on Windows 7, downloaded via OSGeo4W. I would really like to use the Orfeo Toolbox, and I have tried to follow the instructions and filled in information in the “Options and configuration” menu. But, I always get the following error message: Oooops! The

Re: [Qgis-user] Four band raster displaying funny

2013-12-02 Thread Andrew Harfoot
Hi Jonathan, Is it possible that QGIS is using the infrared band as an alpha channel? This might explain the whitening effect, especially in non-vegetated areas. I would check the Layer properties Transparency tab to see whether anything is set as the

Re: [Qgis-user] Four band raster displaying funny

2013-12-02 Thread Andrew Harfoot
PS. gdalwarp offers more flexibility when mosaicing rasters, and is better at memory management. I have just noticed that in GDAL 1.10 and above there is an gdalwarp option -setci that 'Sets the color interpretation of the bands of the target dataset from the

[Qgis-user] Print Composer

2013-12-02 Thread Randal Hale
Is there any way in Print Composer to get the rulers into inches - I can switch page size to inches or custom and the ruler remains in MM? I'm hoping it's just something I'm missing. Randy -- - Randal Hale, GISP North River Geographic Systems, Inc

Re: [Qgis-user] Four band raster displaying funny

2013-12-02 Thread Jonathan Moules
Hi Andy, Yep, that was it. I didn't know QGIS could do that; another good example of software trying to be smart and confusing the poor user. :-) I didn't know gdalwarp could do mosaicing too. I'll have to test it. I'll ask on the gdal list if I want to try the -setci parameter. Many

Re: [Qgis-user] Four band raster displaying funny

2013-12-02 Thread Andrew Harfoot
I think QGIS is innocent in this - if a band is set as an alpha channel then it should be handled as such by default in a viewer (so mark down Arc for not using the alpha information!). GDAL is the culprit as it is adding the alpha interpretation without being prompted. I have just replicated

Re: [Qgis-user] Four band raster displaying funny

2013-12-02 Thread Jonathan Moules
Hi Andy, I guess that makes sense. Relating to gdalwarp: - Output files by default are larger than gdal_merge. - But they can be much smaller. You have to set *both* -wm and --config GDAL_CACHEMAX - if you only set -wm, then the file is actually larger! - gdal_merge seems to do something that

Re: [Qgis-user] Four band raster displaying funny

2013-12-02 Thread Andrew Harfoot
Interesting! Just found that you can override the GDAL behaviour of adding alpha interpretation (this is the default as described in the GTiff format spec here http://www.gdal.org/frmt_gtiff.html) by adding the GDAL -co command PHOTOMETRIC=RGB. Not sure how this tallys with the YCBCR colour

Re: [Qgis-user] Four band raster displaying funny

2013-12-02 Thread Jonathan Moules
Further testing indicates that the same (optimal) result can be had using a combination of a vrt and gdal_translate without having to manually bother with memory management. dir /b /s *.tif tiff_list.txt REM Builds a VRT. A VRT is basically just a XML file saying what all the source tif

Re: [Qgis-user] Image Stitching help

2013-12-02 Thread Etienne Tourigny
On Sat, Nov 30, 2013 at 1:32 PM, Dan Beavers beave...@datasync.com wrote: I am using 2.0.1-Dufour and looking for documentation on how to stitch some raster images together. The original images are jpg and when I did an add raster layer the image was not recognizable. The jpg images of

Re: [Qgis-user] Four band raster displaying funny

2013-12-02 Thread Jukka Rahkonen
Jonathan Moules jonathanmoules@... writes: Further testing indicates that the same (optimal) result can be had using a combination of a vrt and gdal_translate without having to manually bother with memory management. Hi, I can confirm that question is in GDAL which by default considers

Re: [Qgis-user] Image Stitching help

2013-12-02 Thread Dan Beavers
On Mon, 2 Dec 2013 17:44:43 -0200, Etienne Tourigny wrote: On Sat, Nov 30, 2013 at 1:32 PM, Dan Beavers wrote: I am using 2.0.1-Dufour and looking for documentation on how to stitch some raster images together. The original images are jpg and when I did an add raster layer the image was

Re: [Qgis-user] RT SQL Layer Plugin for QGIS 2.0?

2013-12-02 Thread Goyo
2013/12/2 Vincent Picavet vincent...@oslandia.com: Hi, Le lundi 2 décembre 2013 01:14:57, Giuseppe Sucameli a écrit : RT Sql Layer was overseeded by DBManager which is a core plugin, so it works on QGIS 2.x. Talking about that, is there a chance to have the SQL window as a dock for DB