[QGIS-Developer] [SAGA] Raster values to points

2017-09-20 Thread Niccolò Marchi
Hi all, updating from 2.18.11 to .13 the ‘Raster values to points’ disappeared to be substituted by ‘Raster values to points (randomly)’. The same operation can be done with ‘v.what.rast.points’ but, even if well explained in some blogs, it turns to be pretty less user-friendly than the previou

Re: [QGIS-Developer] QGIS/OGR: FeatureIds reassigned on write to data provider?

2017-09-20 Thread Sandro Mani
On 20.09.2017 17:39, Even Rouault wrote: On mercredi 20 septembre 2017 17:32:27 CEST Sandro Mani wrote: > On 19.09.2017 19:15, Even Rouault wrote: > > On mardi 19 septembre 2017 18:30:50 CEST Sandro Mani wrote: > > > On 11.07.2017 14:31, Even Rouault wrote: > > > > We could potentially imag

Re: [QGIS-Developer] QGIS/OGR: FeatureIds reassigned on write to data provider?

2017-09-20 Thread Even Rouault
On mercredi 20 septembre 2017 17:32:27 CEST Sandro Mani wrote: > On 19.09.2017 19:15, Even Rouault wrote: > > On mardi 19 septembre 2017 18:30:50 CEST Sandro Mani wrote: > > > On 11.07.2017 14:31, Even Rouault wrote: > > > > We could potentially imagine to defer the repacking at > > > > > > > > le

Re: [QGIS-Developer] QGIS/OGR: FeatureIds reassigned on write to data provider?

2017-09-20 Thread Sandro Mani
On 19.09.2017 19:15, Even Rouault wrote: On mardi 19 septembre 2017 18:30:50 CEST Sandro Mani wrote: > On 11.07.2017 14:31, Even Rouault wrote: > > We could potentially imagine to defer the repacking at > > leaveUpdateMode() time, actually in the close() method which is called > > when the

Re: [QGIS-Developer] Might snap change a 2D layer to 3D? discussion how to fix https://issues.qgis.org/issues/16927

2017-09-20 Thread Luigi Pirelli
The following PR should approach the above described issues: https://github.com/qgis/QGIS/pull/5223 please give a try. respect the request to add a config option to force or not conversion I implemented the following rule: 1) as proposed by mathias... if there is only a conversion, do it! 2) if

Re: [QGIS-Developer] Crash reading PostGIS raster

2017-09-20 Thread pcav
This is the ticket: https://issues.qgis.org/issues/8073 -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qg

Re: [QGIS-Developer] removing icons

2017-09-20 Thread João Gaspar
Hi Donn, supporting the answer of Nathan of this subject you can see in documentation: http://docs.qgis.org/2.18/en/docs/user_manual/introduction/qgis_configuration.html#customization Regards, João 2017-09-20 14:41 GMT+01:00 Nathan Woodrow : > Hey Donn, > > FIrst, your post is in the right plac

Re: [QGIS-Developer] removing icons

2017-09-20 Thread Nathan Woodrow
Hey Donn, FIrst, your post is in the right place. Maybe qgis-user is a better place but doesn't really matter for this. Second, you sure can do what you need. The first thing you need is Settings -> Customization. Tick enable and you can disable and enable anything you need. You can also Save

[QGIS-Developer] removing icons

2017-09-20 Thread Donn Downey
Hello, I develop database solutions for a niche industry that also has significant GIS needs. I personally use QGIS and help others get going, but even QGIS can be tough to teach to non-savvy computer users. As such, I dream of a version of QGIS where we basically strip out 90% of the icons from

Re: [QGIS-Developer] Crash reading PostGIS raster

2017-09-20 Thread pcav
This is the stcktrace: Thread 12 "Thread (pooled)" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff42e7d700 (LWP 3910)] 0x755da6b7 in QgsColorRampShader::shade(double, int*, int*, int*, int*) () from /usr/local/src/qgis/QGIS/build_qgis2/output/lib/libqgis_cor

[QGIS-Developer] Crash reading PostGIS raster

2017-09-20 Thread Paolo Cavallini
Hi all, a freshly compiled QGIS 2.18 loads pg rasters correctly, but when zooming segfaults miserably with: Warning: RasterIO error: IReadBlock failed at X offset 0, Y offset 0 This is not new, but makes it pretty unusable. Available for testing. All the best. -- Paolo Cavallini - www.faunalia.eu

[QGIS-Developer] Refactor fields processing algorithm and expressions

2017-09-20 Thread Andreas Neumann
Hi, I am running into troubles using expressions in the "Refactor fields" processing provider. E.g. I have a date field and would like to reformat it in german format: format_date("erfassungsdatum",'dd.MM.') Although I am 100% certain that the above expression is syntactically correct,

Re: [QGIS-Developer] OGR/GBD: Unrecognized field name OBJECTID

2017-09-20 Thread Even Rouault
> > Thanks for the detailed explanation. > > Does it actually hurt to try with FID regardless of the contents of > CPLGetLastErrorMsg if the previous attempt failed, instead of relying on > the contents of an error message? No, that shouldn't hurt. > > PR is here: > https://github.com/qgis/QGI

Re: [QGIS-Developer] OGR/GBD: Unrecognized field name OBJECTID

2017-09-20 Thread Sandro Mani
On 20.09.2017 12:46, Even Rouault wrote: On mercredi 20 septembre 2017 11:34:50 CEST Sandro Mani wrote: > On 20.09.2017 08:45, Nyall Dawson wrote: > > On 20 September 2017 at 10:18, Nyall Dawson wrote: > >> Hi all, > >> > >> I've just been trying to diagnose an issue with loading an exi

Re: [QGIS-Developer] OGR/GBD: Unrecognized field name OBJECTID (was: Re: Warning - possible project corruption in 2.18.13)

2017-09-20 Thread Even Rouault
On mercredi 20 septembre 2017 11:34:50 CEST Sandro Mani wrote: > On 20.09.2017 08:45, Nyall Dawson wrote: > > On 20 September 2017 at 10:18, Nyall Dawson wrote: > >> Hi all, > >> > >> I've just been trying to diagnose an issue with loading an existing > >> 2.18 project in the new 2.18.13 release.

Re: [QGIS-Developer] Refactor fields processing algorithm

2017-09-20 Thread Andreas Neumann
Hi Nyall, Yes - changing to "feature source" brings back the "selected only" option for running the whole model. Thanks! Andreas On 20.09.2017 12:08, Nyall Dawson wrote: On 20 September 2017 at 19:57, Andreas Neumann wrote: Hi, This is about QGIS master. The refactor fields processing

Re: [QGIS-Developer] Refactor fields processing algorithm

2017-09-20 Thread Nyall Dawson
On 20 September 2017 at 19:57, Andreas Neumann wrote: > Hi, > > This is about QGIS master. > > The refactor fields processing algorithm, when opened manually in the > toolbox, has an option to run the algorithm only on selected features. > > However, when the same algorithm is included in a model,

[QGIS-Developer] Refactor fields processing algorithm

2017-09-20 Thread Andreas Neumann
Hi, This is about QGIS master. The refactor fields processing algorithm, when opened manually in the toolbox, has an option to run the algorithm only on selected features. However, when the same algorithm is included in a model, this option "only selected features" is not available anymore.

[QGIS-Developer] OGR/GBD: Unrecognized field name OBJECTID (was: Re: Warning - possible project corruption in 2.18.13)

2017-09-20 Thread Sandro Mani
On 20.09.2017 08:45, Nyall Dawson wrote: On 20 September 2017 at 10:18, Nyall Dawson wrote: Hi all, I've just been trying to diagnose an issue with loading an existing 2.18 project in the new 2.18.13 release. Seems like something may be broken here with regards to loading OGR based layers wh