Re: [QGIS-Developer] documentation rules (was [qgis/QGIS-Enhancement-Proposals] Translation of .qgs project files (#90))

2019-01-18 Thread Alessandro Pasotti
On Fri, Jan 18, 2019 at 10:58 PM Nyall Dawson wrote: > On Thu, 17 Jan 2019 at 17:15, Paolo Cavallini > wrote: > > > > Hi all > > > > On 16/01/19 23:42, Nyall Dawson wrote: > > > > > So again, I'm +1 to the policy, but only if it's enforced > > > automatically on Travis by an appropriate meta

Re: [QGIS-Developer] QGIS 2.18 EOL approaching?

2019-01-18 Thread Nyall Dawson
On Thu, 27 Dec 2018 at 08:23, Nyall Dawson wrote: > > Hi lists, > > While updating the QGIS milestones on github today, I realised that > our final 2.18 release is fast approaching! This raised two questions: > > 1. Is it still the case that 2.18.28, to be released on 18th Jan, is > indeed the

Re: [QGIS-Developer] documentation rules (was [qgis/QGIS-Enhancement-Proposals] Translation of .qgs project files (#90))

2019-01-18 Thread Nyall Dawson
On Thu, 17 Jan 2019 at 17:15, Paolo Cavallini wrote: > > Hi all > > On 16/01/19 23:42, Nyall Dawson wrote: > > > So again, I'm +1 to the policy, but only if it's enforced > > automatically on Travis by an appropriate meta unit test. > > agreed > > > I think we could do this by some rules like: >

Re: [QGIS-Developer] connecting to QgsNetworkAccessManagers signals

2019-01-18 Thread Nyall Dawson
On Fri, 18 Jan 2019 at 21:19, Richard Duivenvoorde wrote: > > On 1/18/19 12:13 PM, Alessandro Pasotti wrote: > > > I didn't look at the code but maybe it's because the NAM instance is > > per-thread and WMS/WFS downloaders run within threads. > > Yeah, that is what I'm afraid of... > I just do

Re: [QGIS-Developer] QGS UTM <==> WGS84 Formatted String Conversion

2019-01-18 Thread Nyall Dawson
On Sat, 19 Jan 2019 at 01:39, C Hamilton wrote: > > I there an API call in QGIS that will take a UTM formatted string (ie 11N > 345567 432145) and convert it to a lat and lon as well as going the other > direction? It certainly supports the UTM projections but I don't see this > conversion.

Re: [QGIS-Developer] Dowloading zipped files

2019-01-18 Thread Nyall Dawson
On Sat, 19 Jan 2019 at 01:54, Paolo Cavallini wrote: > * openskiron, on the other hand, provides zipfiles: is ther a way to > unzip and load automatically the files after download? I'm not aware of any existing algorithms which do this - but it sounds like a great idea! Tech details: I think

[QGIS-Developer] RES: Widget type

2019-01-18 Thread Jorge Almerio
You are right, but how to use "setEditorWidgetSetup" method? From doc reference: QgsVectorLayer::setEditorWidgetSetup (int index, const QgsEditorWidgetSetup & setup) The first argument is the field index, ok, it's easy. But second is a QgsEditorWidgetSetup, I don't know how to create one.

Re: [QGIS-Developer] How to get estimated raster statistic without calc them?

2019-01-18 Thread Luigi Pirelli
not shure if it's the same... not sure if the requests are for band statistics or background image prefetch of an extended canvas view (introduce 1y ago if I well remember) you can simply check if bandSatatisti is available or triggered doing it with (ir R is the QgsRasterLayer) renderer =

Re: [QGIS-Developer] Widget type

2019-01-18 Thread Tom Chadwin
Ignore previous completely wrong answer! Sorry. I think you call QgsVectorLayer::setEditorWidgetSetup() instead: https://qgis.org/api/classQgsVectorLayer.html#a8a174ba67d0a16f544211088656af143 Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from:

Re: [QGIS-Developer] Widget type

2019-01-18 Thread Tom Chadwin
Try: pipeLyr.editFormConfig().setWidgetConfig(campo, 'EditText') ? Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer mailing list

[QGIS-Developer] QGS UTM <==> WGS84 Formatted String Conversion

2019-01-18 Thread C Hamilton
I there an API call in QGIS that will take a UTM formatted string (ie 11N 345567 432145) and convert it to a lat and lon as well as going the other direction? It certainly supports the UTM projections but I don't see this conversion. There are python libraries have have this in them. The reason I

Re: [QGIS-Developer] How to get estimated raster statistic without calc them?

2019-01-18 Thread Richard Duivenvoorde
Hi Luigi, I cannot be of help, but I think I had exactly this problem then you, when there is a OGC-WCS service with for example a huge DEM/height model. And after that QGIS is requesting several times for one extent some portion of the data (while this server is very slow on this) I was

[QGIS-Developer] How to get estimated raster statistic without calc them?

2019-01-18 Thread Luigi Pirelli
Hi devs I face a (IMHO) an API limitation that I'm not sure is a limitation of a feature :) I'm working adding SLD export for rasters as new feature and some stretching (QgsContrastEnhancement) should be mapped differently if the min/max values has been modified from the real min/max of the

Re: [QGIS-Developer] connecting to QgsNetworkAccessManagers signals

2019-01-18 Thread Alessandro Pasotti
On Fri, Jan 18, 2019 at 12:10 PM Richard Duivenvoorde wrote: > Hi Devs, > > I'm doing a simple small proof of concept of a minimal plugin which > connects to the QgsNetworkAccesManager.instance()'s signals to log the > requests that are fired and show them in de message panel. > >

Re: [QGIS-Developer] GRIB: arrows disappear when exporting the canvas

2019-01-18 Thread Paolo Cavallini
thanks Saber. On 18/01/19 09:28, Saber Razmjooei wrote: > I totally agree: > https://issues.qgis.org/issues/21027 > > Regards > Saber > > On Fri, 18 Jan 2019 at 08:23, Paolo Cavallini > wrote: > > Sorry, I can't confirm. In the images you can see the contour

Re: [QGIS-Developer] GRIB: arrows disappear when exporting the canvas

2019-01-18 Thread Saber Razmjooei
I totally agree: https://issues.qgis.org/issues/21027 Regards Saber On Fri, 18 Jan 2019 at 08:23, Paolo Cavallini wrote: > Sorry, I can't confirm. In the images you can see the contour displayed. > IMHO it is a bug, because what is shown on canvas should be also > exported without missing an

Re: [QGIS-Developer] GRIB: arrows disappear when exporting the canvas

2019-01-18 Thread Paolo Cavallini
Sorry, I can't confirm. In the images you can see the contour displayed. IMHO it is a bug, because what is shown on canvas should be also exported without missing an information. Would you agree? Thanks. On 18/01/19 09:19, Saber Razmjooei wrote: > Hi Paolo, > > For Multiply to work, it seems you

Re: [QGIS-Developer] GRIB: arrows disappear when exporting the canvas

2019-01-18 Thread Saber Razmjooei
Hi Paolo, For Multiply to work, it seems you need to have a Contour quantity displayed. Not sure if it is a bug or a feature! :) Thanks Saber On Fri, 18 Jan 2019 at 08:03, Paolo Cavallini wrote: > Sorry, I meant Multiply (translation issue). > white arrows, multiply: >

Re: [QGIS-Developer] GRIB: arrows disappear when exporting the canvas

2019-01-18 Thread Paolo Cavallini
Sorry, I meant Multiply (translation issue). white arrows, multiply: https://pasteboard.co/HWZ8tXI.png black arrows, multiply: https://pasteboard.co/HWZ8H01.png Thanks. On 18/01/19 08:53, Saber Razmjooei wrote: > Hi Paolo, > > I can't see Fusion for rendering. -- Paolo Cavallini -