Re: [Qgis-developer] QGIS custom widgets with python plugins

2014-11-19 Thread Pedro Venâncio
I'm getting this erros with several plugins (processing, qgis2leaf, ...) after update with today's master on Linux: Couldn't load plugin 'processing' from ['/usr/share/qgis/python', '/home/pedro/.qgis2/python', '/home/pedro/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/local/lib/

Re: [Qgis-developer] QGIS 2.6 compilation on Windows

2014-11-19 Thread Larry Shaffer
Hi Martin, I think I ran into this recently. There was a commit in 2.6 [0] that apparently requires a newer version of flex or bison (bison 3.x, I think?) than is available with the GnuWin32 project as noted in INSTALL [1]. Instead I used the precompiled binaries available from the 'Win flex-bison

Re: [Qgis-developer] Viewport rotation

2014-11-19 Thread Nyall Dawson
On 20 November 2014 07:46, Sandro Santilli wrote: > Hi all, > I'm looking at implementing viewport rotation support and wondering if > anyone has already an idea about what it would take. > > Could adding support in QgsMapToPixel be possibly enough to make > navigation tools aware of rotation ? Or

[Qgis-developer] Viewport rotation

2014-11-19 Thread Sandro Santilli
Hi all, I'm looking at implementing viewport rotation support and wondering if anyone has already an idea about what it would take. Could adding support in QgsMapToPixel be possibly enough to make navigation tools aware of rotation ? Or would it be better to plug another transformation in between,

Re: [Qgis-developer] Problems with developing custom c++ qgis application with QtCreator and MSVC2008 on Windows

2014-11-19 Thread eliu1234
1. So in the .proj file, what do i need to change? 2. My Python works in this case, it is the C++ part that is not working. Nejia wrote > Hi, > > 1- QGIS and Qt libraries shipped with Osgeo4W are compiled using release > mode so if you want to debug your application you can use RelWithDebInfo

[Qgis-developer] Plugin versioning and priority

2014-11-19 Thread Paolo Cavallini
Hi all, a number of users are having problems with older version of a plugin in their home dir (this happens especially often with Processing) masking the system one. IMHO the behaiviour is correct, but the user should be warned (e.g. "You are using an older version of a plugin, a new one is avai

[Qgis-developer] OGR VRT and SrcSQL

2014-11-19 Thread Arnaud Morvan
I am working with OGR VRT files in QGIS. When I use the "SrcLayer" tag, all works correctly. But when I use "SrcSQL" tag, QGIS seems to load the file correctly, but nothing appears in the canvas. exemple: test.shp SELECT * FROM test all attributes are correctly di

Re: [Qgis-developer] Processing with raster files > 4GB

2014-11-19 Thread Andreas Neumann
Hi, I was able to do my color replacements with gdal_calc.py. It works fast and efficient. Here is my syntax: gdal_calc.py -A image.tif --outfile=image_output.tif --calc="(A==249)*255+(A!=249)*A" Syntax looks similar to the QGIS raster calculator - but as opposed to the QGIS raster calcul

Re: [Qgis-developer] Processing with raster files > 4GB

2014-11-19 Thread Paolo Cavallini
Il 19/11/2014 11:41, Andreas Neumann ha scritto: > I will have to do further testing about GRASS. On Windows (OSGeo4W install) > it does > not work too well. It probably works better on Linux. Why so? It shouldn't, at lest not grass64. IMHO dealing with very large rasters is one of the strengths

Re: [Qgis-developer] Processing with raster files > 4GB

2014-11-19 Thread G. Allegri
Nice to know that gdal_calc works fine ;) I work a lot with gdal + numpy, even for custom tools, and I admit they work very well together! 2014-11-19 11:41 GMT+01:00 Andreas Neumann : > Hi, > > I will have to do further testing about GRASS. On Windows (OSGeo4W > install) it does not work too we

[Qgis-developer] QGIS 2.6 compilation on Windows

2014-11-19 Thread Martin Landa
Hi all, building QGIS 2.6 on MS Windows fails (qgis_core) with Generating flex_qgsexpressionlexer.cpp "C:/OSGeo4W_qgis_vfk/usr/src/qgis_2_6/src/core/qgsexpressionlexer.ll", line 22: unrecognized %option: reentrant "C:/OSGeo4W_qgis_vfk/usr/src/qgis_2_6/src/core/qgsexpressionlexer.ll", line 24: unr

Re: [Qgis-developer] Processing with raster files > 4GB

2014-11-19 Thread Andreas Neumann
Hi, I will have to do further testing about GRASS. On Windows (OSGeo4W install) it does not work too well. It probably works better on Linux. The gdal_calc.py solution works very fast though - glad that we came to this solution! Andreas On 19.11.2014 11:25, G. Allegri wrote: And do you ha

Re: [Qgis-developer] Processing with raster files > 4GB

2014-11-19 Thread G. Allegri
And do you have problems with GRASS (directly, not through Processing)? In GRASS7 you can even drectly write to Geotiff without passing through the internal format (http://grass.osgeo.org/grass70/manuals/r.external.out.html ). If GDAL is built with bigtiff support there souldn't be problems... gio

Re: [Qgis-developer] Processing with raster files > 4GB

2014-11-19 Thread Carlos López PSIG
Hi Andreas, Yes, you can use gdal_calc.py Certainly you need to perform several processes, but are very fast! Be careful with bands! Perhaps you will want to separate them. Ciao, * * *Carlos López Quintanilla* www.psig.es carlos.lo...@psig.es +34 699.680.261 2014-11-1

Re: [Qgis-developer] Processing with raster files > 4GB

2014-11-19 Thread Andreas Neumann
Hi Giovanni, I need to change all pixels that have the value of 249 to a value of 255. All other pixels should stay at their value. Andreas Am 2014-11-19 10:21, schrieb G. Allegri: From my grayscale tiff images I want to replace one pixel value (249) with white (255). All other pixels shoul

Re: [Qgis-developer] Processing with raster files > 4GB

2014-11-19 Thread Roy
Hi Andreas, you can surely try to import the raster directly into GRASS in a 64bit linux, very often this overcome memory issues, and use mapcalc sintiax, something like: reclassed_raster = if(original_raster == 249,255,original_raster) regards, Roy. GDAL would be my first choice - becaus

Re: [Qgis-developer] Processing with raster files > 4GB

2014-11-19 Thread G. Allegri
> From my grayscale tiff images I want to replace one pixel value (249) with white (255). All other pixels should stay at the value they have. > > I came across https://github.com/chiatt/gdal_reclassify - but this reclassifies all pixels, not only selected ones. > > Maybe I could use http://www.gda

Re: [Qgis-developer] Processing with raster files > 4GB

2014-11-19 Thread Andreas Neumann
Hi Carlos, GDAL would be my first choice - because it easy to automate. However, I don't know how can do my task with GDAL. From my grayscale tiff images I want to replace one pixel value (249) with white (255). All other pixels should stay at the value they have. I came across https://gith

Re: [Qgis-developer] Processing with raster files > 4GB

2014-11-19 Thread Carlos López PSIG
Hi Andreas, I also had problems to reclassify BIGTIFF with SAGA and GRASS! Finally I used GDAL! Best regards, * * *Carlos López Quintanilla* www.psig.es carlos.lo...@psig.es +34 699.680.261 2014-11-19 9:05 GMT+01:00 Andreas Neumann : > Hi, > > I tried various tools, e.g

Re: [Qgis-developer] Processing with raster files > 4GB

2014-11-19 Thread Andreas Neumann
Hi, I tried various tools, e.g. * SAGA reclassify * GRASS r.mapcalc Both work fine on smaller data sets, but fail on big data sets. This is on Win7 64bit, with the OSGeo4W installer. I have 8gb RAM and 40GB disk free on C:, more free space on other disks where the data resides. I am not to