[QGIS-Developer] Plugin [62] Load Them All approval notification.

2018-10-15 Thread noreply

Plugin Load Them All approval by pcav.
The plugin version "[62] Load Them All 3.0.1" is now approved
Link: http://plugins.qgis.org/plugins/loadthemall/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] set data defined override expression with python?

2018-10-15 Thread Nyall Dawson
On Tue, 16 Oct 2018 at 05:06, Raymond Nijssen  wrote:
>
> So now I'd like to set another expression, quite similar, but this time
> the svg-path to a QgsSvgMarkerSymbolLayer.
>
> Where can I find the name of that property? I found the
> QgsLayoutObject.PictureSource here:
>
> https://github.com/qgis/QGIS/blob/c89a542365eb46317468135cb33236ecc0c3768c/src/core/layout/qgslayoutobject.h#L47
>
> But I don't know what class should hold the data defined property
> enumeration for an svgMarkerSymbolLayer. Searching for "enum
> DataDefinedProperty" in the qgis code doesn't get me any other result.

The API uses ints instead of the direct DataDefinedProperty enums, as
the enums vary by part of code (there's separate enums for symbology,
labelling, layouts, etc)

For symbology:

layer = QgsSvgMarkerSymbolLayer(...)
...
layer.setDataDefinedProperty( QgsSymbolLayer.PropertyName,
QgsProperty.fromExpression( " some expression ") )

Nyall


>
> Hope anyone can help me out here!
>
> Kind regards,
> Raymond
>
>
>
> On 22-08-18 08:39, Raymond Nijssen wrote:
> > Thank you Nyall! Does exactly what I need. Will add it to the python
> > cookbook.
> >
> > Raymond
> >
> >
> >
> > On 22-08-18 00:10, Nyall Dawson wrote:
> >> On Wed, 22 Aug 2018 at 01:41, Raymond Nijssen 
> >> wrote:
> >>>
> >>> Hi devs!
> >>>
> >>> I'd like my python plugin to set an expression for overriding a property
> >>> and I have no clue how to do so. I expect there must be some generic way
> >>> to set expressions.
> >>>
> >>> Specifically, I want to set the expression for the "Image source" of a
> >>> QgsLayoutItemPicture to:
> >>>
> >>> '/path/to/pictures/' || attribute(@atlas_feature, 'ID') || '.svg'
> >>>
> >>
> >> Try
> >>
> >>  property = QgsProperty.fromExpression( "'/path/to/pictures/' ||
> >> attribute(@atlas_feature, 'ID') || '.svg'")
> >>
> >> item.dataDefinedProperties().setProperty(QgsLayoutObject.PictureSource,
> >> property)
> >>
> >> Nyall
> >>
> >
> >
> > ___
> > QGIS-Developer mailing list
> > QGIS-Developer@lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] set data defined override expression with python?

2018-10-15 Thread Raymond Nijssen
So now I'd like to set another expression, quite similar, but this time 
the svg-path to a QgsSvgMarkerSymbolLayer.


Where can I find the name of that property? I found the 
QgsLayoutObject.PictureSource here:


https://github.com/qgis/QGIS/blob/c89a542365eb46317468135cb33236ecc0c3768c/src/core/layout/qgslayoutobject.h#L47

But I don't know what class should hold the data defined property 
enumeration for an svgMarkerSymbolLayer. Searching for "enum 
DataDefinedProperty" in the qgis code doesn't get me any other result.


Hope anyone can help me out here!

Kind regards,
Raymond



On 22-08-18 08:39, Raymond Nijssen wrote:
Thank you Nyall! Does exactly what I need. Will add it to the python 
cookbook.


Raymond



On 22-08-18 00:10, Nyall Dawson wrote:
On Wed, 22 Aug 2018 at 01:41, Raymond Nijssen  
wrote:


Hi devs!

I'd like my python plugin to set an expression for overriding a property
and I have no clue how to do so. I expect there must be some generic way
to set expressions.

Specifically, I want to set the expression for the "Image source" of a
QgsLayoutItemPicture to:

'/path/to/pictures/' || attribute(@atlas_feature, 'ID') || '.svg'



Try

 property = QgsProperty.fromExpression( "'/path/to/pictures/' ||
attribute(@atlas_feature, 'ID') || '.svg'")
 
item.dataDefinedProperties().setProperty(QgsLayoutObject.PictureSource,

property)

Nyall




___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1445] Kartverket Tilgjengelighet approval notification.

2018-10-15 Thread noreply

Plugin Kartverket Tilgjengelighet approval by pcav.
The plugin version "[1445] Kartverket Tilgjengelighet 0.1.1 Experimental" is 
now approved
Link: http://plugins.qgis.org/plugins/Tilgjengelighet/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1445] Kartverket Tilgjengelighet approval notification.

2018-10-15 Thread noreply

Plugin Kartverket Tilgjengelighet approval by pcav.
The plugin version "[1445] Kartverket Tilgjengelighet 0.1 Experimental" is now 
approved
Link: http://plugins.qgis.org/plugins/Tilgjengelighet/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] For info: Travis now has supports Windows

2018-10-15 Thread Denis Rouzaud
That's great news, thanks for the info!

Le ven. 12 oct. 2018 à 09:47, Tom Chadwin  a
écrit :

> Run your single test suite on all major platforms (early release):
>
>
> https://blog.travis-ci.com/2018-10-11-windows-early-release?utm_source=twitter_medium=web_campaign=windows_early_release
>
> 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@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 

Denis Rouzaud
de...@opengis.ch  
+41 76 370 21 22
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [629] Networks approval notification.

2018-10-15 Thread noreply

Plugin Networks approval by pcav.
The plugin version "[629] Networks 2.2.1" is now approved
Link: http://plugins.qgis.org/plugins/networks/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] processing output in pyqgis code

2018-10-15 Thread Pierluigi De Rosa
Dear All, 


I have a strange phenomena running some code. 
I'm using the processing algorithm qgis:pointsalonglines output = 
processing.run( "qgis:pointsalonglines" , { 'INPUT' : poly_to_lines , 
'DISTANCE' : spaced_pts_distance , 
'START_OFFSET' : 0 , 
'END_OFFSET' : 0 , 'OUTPUT' : 'memory:' }) 


The output vector should have 3 columns (FID, angle,Distance) 


If I run the code inside the python console plugin (even from a sample code) It 
works correctly but if I run ti inside my plugin, calling such lines inside a 
method the output only have 2 columns (distance and angle) so the 
receiver_points_memory_layer = output[ 'OUTPUT' ] 


Ant picking the attribute table with: 
receiver_memory_feat[ 'FID' ] 


tells me attributes = [receiver_points_feat_id, receiver_memory_feat['FID']] 

KeyError: 'FID' 


Where I'm wrong? 


thanks 
Pierluigi ___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] OSGeo4W updates (was Re: [Qgis-psc] QGIS grants?)

2018-10-15 Thread Kari Salovaara



McDonaldR kirjoitti 15.10.2018 klo 12:57:

Looking forward to 3.4,

I installed the latest QGIS master this morning via OSGeo4w (64bit) and 
installed version 3.3.0-97 of qgis-dev on Windows 7.  I get an error message 
saying:

  "The program can't start because Qt5WebKitWidgets.dll is missing from your 
computer."


This error was coming from crssync.exe (tested in w10)



Trying to start QGIS returns:

  "Could not load qgis_app.dll Windows Error %1 is not a valid Win32 application. 
Check qgis-dev-bin-g7.4.1.env for correct environment paths."

Is this because the builds are still building or has something changed in the 
build process?  I'll wait for another build and see if that fixes things.

Ross

-Original Message-
From: QGIS-Developer [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf 
Of Jürgen E. Fischer
Sent: 15 October 2018 09:42
To: qgis-...@lists.osgeo.org; qgis-developer@lists.osgeo.org; 
osgeo4w-...@lists.osgeo.org
Subject: [QGIS-Developer] OSGeo4W updates (was Re: [Qgis-psc] QGIS grants?)

Hi,

On Wed, 12. Sep 2018 at 07:13:54 +0200, Paolo Cavallini wrote:

do we have news about the state of QGIS grantss? Should we ask for a report?

I uploaded following updates to OSGeo4W (32[0] & 64bit[1]):

- Qt 5.11.2 (from 5.9.2; with sip, PyQt5, QScintilla, qca, qtkeychain and Qwt)
- Python 3.7 (from 3.6; including all 49 currently included extensions)
- PROJ 5.2.0 (from 4.9.3; plus datumgrids)
- GEOS 3.7.0 (from 3.6.2)
- SpatiaLite 4.3.0a (from 4.3.0; also with lwgeom from postgis 2.5)
- GDAL 2.3.2 (from 2.2.4; including updated/rebuilt dependencies ogdi &
   openfyba)

QGIS 2.18 are already rebuilt, but the builds of QGIS 3.2 and master are still 
underway.  Nightlies of 2.18 and 3.2 will follow.

For GDAL and PROJ there are also legacy packages (proj4dll and gdal202dll) with 
the previos package's DLLs.  So other dependencies (like GRASS) should work on 
without a rebuild.


Jürgen


[0] https://download.osgeo.org/osgeo4w/x86/versions_diff-update-2018.html
[1] https://download.osgeo.org/osgeo4w/x86_64/versions_diff-update-2018.html

--
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de

This message is strictly confidential. If you have received this in error, 
please inform the sender and remove it from your system. If received in error 
you may not copy, print, forward or use it or any attachment in any way. This 
message is not capable of creating a legal contract or a binding representation 
and does not represent the views of Angus Council. Emails may be monitored for 
security and network management reasons. Messages containing inappropriate 
content may be intercepted. Angus Council does not accept any liability for any 
harm that may be caused to the recipient system or data on it by this message 
or any attachment.
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] plugin reload fail

2018-10-15 Thread Borys Jurgiel
Apparently my recent fix [1] wasn't enough and some modules are still not 
unloaded. Unfortunately I won't be able to work on it soon :(

As a workaround, maybe you can optimize the way you reload the whole QGIS? For 
example run QGIS in a loop (so you only need to press Ctrl-Q to reload), 
create a dedicated user profile (not burdened with other plugins), configure 
the startup project (with a test data), temporarily trigger one of the plugin 
actions in initGui (so the dialog you're currently working on opens 
automatically after reload).

Regards,
Borys

[1] https://github.com/borysiasty/plugin_reloader/commit/64ccae09


Dnia poniedziałek, 15 października 2018 10:08:13 CEST Pierluigi De Rosa pisze:
> Dear Borys,
> 
> 
> I update the plugin reloader to the version 0.7.5 and I tried to use it on
> openoise but it still fails. No changes are detected.
> 
> 
> I'm using QGIS 3.2 and a ported version of openoise (not the official one
> that is for qgis 2.x)
> 
> 
> Thanks
> Pierluigi
> 
> - Messaggio originale -
> 
> Da: "Borys Jurgiel" 
> A: qgis-developer@lists.osgeo.org
> Cc: "Richard Duivenvoorde" 
> Inviato: Sabato, 13 ottobre 2018 23:33:59
> Oggetto: Re: [QGIS-Developer] plugin reload fail
> 
> Hi,
> 
> It's not so straightforward to recursively reload complex plugins, thus both
> Plugin Manager and Plugin Reloader have a long-standing problem with
> reloading modules placed in subdirectories. This is the case of opeNoise,
> where most of the code is in the 'tools' subdirectory, so all changes there
> require QGIS to be restarted.
> 
> I've just released Plugin Reloader 0.7.5 that hopefully fixes this issue
> finally. Could you please test if it helps with opeNoise? If so, I'll apply
> the same to the Manager or even qgis.utils.
> 
> Unfortunately it's only for QGIS 3, as I didn't success to make it working
> with Python 2 (and the old opeNoise).
> 
> Best regards,
> Borys
> 
> Dnia sobota, 13 października 2018 12:15:28 CEST DelazJ pisze:
> > Hi,
> > 
> > How about reloading with the "Plugin reloader" plugin [0]? You might need
> > to enable "show experimental plugins" beforehand.
> > I thik this would save QGIS I/O.
> > 
> > [0] http://plugins.qgis.org/plugins/plugin_reloader/
> > 
> > Regards,
> > Harrissou
> > 
> > Le sam. 13 oct. 2018 à 10:14, Richard Duivenvoorde  a
> > 
> > écrit :
> > > On 10/12/2018 06:20 PM, Ing. Pierluigi De Rosa wrote:
> > > > Dear all,
> > > > 
> > > > I have a simple problem.
> > > > I'm porting the opeNoise plugin [1] to 3.x
> > > > I'm not the author plugin but I'm experiencing that the plugin reload
> > > > fails. It tels me that the plugin have been reloaded but the changes
> > > > are
> > > > non applied. Even if I deactivate and than activate the plugin the
> > > > same
> > > > results (no changes detected).
> > > > The only way is to restart the software any time losing too much time.
> > > 
> > > How sure are you that it is not reloaded?
> > > Can you check by writing some message with a version number?
> > > 
> > > Normally writing the
> > > 
> > > __init__
> > > initGui
> > > unload
> > > 
> > > should be enough. Only thing I could think off is that you do not
> > > disconnect the QActions (though I'm not even sure if that is really
> > > needed).
> > > 
> > > Also note that if you reload your plugin AFTER an exception, often you
> > > end up with a situation where QGIS still has (parts) of the plugin in
> > > memory while also loading a new version of your plugin, so sometimes
> > > showing 2 versions of your pluginbutton/toolbar etc. I think only a QGIS
> > > restart works then.
> > > 
> > > Another think I've had is that mixing up an already installed version
> > > with the one I'm developing (because the symbolic link was gone, or I
> > > was actually working in another profile then I thought or other
> > > silly things)
> > > 
> > > Regards,
> > > 
> > > Richard
> > > ___
> > > QGIS-Developer mailing list
> > > QGIS-Developer@lists.osgeo.org
> > > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer




___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] OSGeo4W updates (was Re: [Qgis-psc] QGIS grants?)

2018-10-15 Thread Tom Chadwin
Hi Ross

Looks like Luigi is experiencing the same issue, reported on IRC, so I guess
it's not just a local issue for you.

Thanks

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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [970] TUFLOW approval notification.

2018-10-15 Thread noreply

Plugin TUFLOW approval by pcav.
The plugin version "[970] TUFLOW 1.6" is now approved
Link: http://plugins.qgis.org/plugins/tuflow/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] OSGeo4W updates (was Re: [Qgis-psc] QGIS grants?)

2018-10-15 Thread Paolo Cavallini
Great stuff, thanks Jürgen!

Il 15 ottobre 2018 10:42:27 CEST, "Jürgen E. Fischer"  ha 
scritto:
>Hi,
>
>On Wed, 12. Sep 2018 at 07:13:54 +0200, Paolo Cavallini wrote:
>> do we have news about the state of QGIS grantss? Should we ask for a
>report?
>
>I uploaded following updates to OSGeo4W (32[0] & 64bit[1]):
>
>- Qt 5.11.2 (from 5.9.2; with sip, PyQt5, QScintilla, qca, qtkeychain
>and Qwt)
>- Python 3.7 (from 3.6; including all 49 currently included extensions)
>- PROJ 5.2.0 (from 4.9.3; plus datumgrids)
>- GEOS 3.7.0 (from 3.6.2)
>- SpatiaLite 4.3.0a (from 4.3.0; also with lwgeom from postgis 2.5)
>- GDAL 2.3.2 (from 2.2.4; including updated/rebuilt dependencies ogdi &
>  openfyba)
>
>QGIS 2.18 are already rebuilt, but the builds of QGIS 3.2 and master
>are still
>underway.  Nightlies of 2.18 and 3.2 will follow.
>
>For GDAL and PROJ there are also legacy packages (proj4dll and
>gdal202dll) with
>the previos package's DLLs.  So other dependencies (like GRASS) should
>work on
>without a rebuild.
>
>
>Jürgen
>
>
>[0]
>https://download.osgeo.org/osgeo4w/x86/versions_diff-update-2018.html
>[1]
>https://download.osgeo.org/osgeo4w/x86_64/versions_diff-update-2018.html
>
>-- 
>Jürgen E. Fischer   norBIT GmbH Tel.
>+49-4931-918175-31
>Dipl.-Inf. (FH) Rheinstraße 13  Fax.
>+49-4931-918175-50
>Software Engineer   D-26506 Norden
>http://www.norbit.de

-- 
Sorry for being short___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] OSGeo4W updates (was Re: [Qgis-psc] QGIS grants?)

2018-10-15 Thread McDonaldR
Looking forward to 3.4,

I installed the latest QGIS master this morning via OSGeo4w (64bit) and 
installed version 3.3.0-97 of qgis-dev on Windows 7.  I get an error message 
saying:

 "The program can't start because Qt5WebKitWidgets.dll is missing from your 
computer."

Trying to start QGIS returns:

 "Could not load qgis_app.dll Windows Error %1 is not a valid Win32 
application. Check qgis-dev-bin-g7.4.1.env for correct environment paths."

Is this because the builds are still building or has something changed in the 
build process?  I'll wait for another build and see if that fixes things.

Ross

-Original Message-
From: QGIS-Developer [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf 
Of Jürgen E. Fischer
Sent: 15 October 2018 09:42
To: qgis-...@lists.osgeo.org; qgis-developer@lists.osgeo.org; 
osgeo4w-...@lists.osgeo.org
Subject: [QGIS-Developer] OSGeo4W updates (was Re: [Qgis-psc] QGIS grants?)

Hi,

On Wed, 12. Sep 2018 at 07:13:54 +0200, Paolo Cavallini wrote:
> do we have news about the state of QGIS grantss? Should we ask for a report?

I uploaded following updates to OSGeo4W (32[0] & 64bit[1]):

- Qt 5.11.2 (from 5.9.2; with sip, PyQt5, QScintilla, qca, qtkeychain and Qwt)
- Python 3.7 (from 3.6; including all 49 currently included extensions)
- PROJ 5.2.0 (from 4.9.3; plus datumgrids)
- GEOS 3.7.0 (from 3.6.2)
- SpatiaLite 4.3.0a (from 4.3.0; also with lwgeom from postgis 2.5)
- GDAL 2.3.2 (from 2.2.4; including updated/rebuilt dependencies ogdi &
  openfyba)

QGIS 2.18 are already rebuilt, but the builds of QGIS 3.2 and master are still 
underway.  Nightlies of 2.18 and 3.2 will follow.

For GDAL and PROJ there are also legacy packages (proj4dll and gdal202dll) with 
the previos package's DLLs.  So other dependencies (like GRASS) should work on 
without a rebuild.


Jürgen


[0] https://download.osgeo.org/osgeo4w/x86/versions_diff-update-2018.html
[1] https://download.osgeo.org/osgeo4w/x86_64/versions_diff-update-2018.html

--
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de

This message is strictly confidential. If you have received this in error, 
please inform the sender and remove it from your system. If received in error 
you may not copy, print, forward or use it or any attachment in any way. This 
message is not capable of creating a legal contract or a binding representation 
and does not represent the views of Angus Council. Emails may be monitored for 
security and network management reasons. Messages containing inappropriate 
content may be intercepted. Angus Council does not accept any liability for any 
harm that may be caused to the recipient system or data on it by this message 
or any attachment.
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] QGIS WCS is requesting FULL dataset?

2018-10-15 Thread Radim Blazek
I don't remember more than i wrote in comments and i don't know if it is
still necessary. Better to keep it i think, but it could be done optional.

Radim

On Oct 15, 2018 01:54, "Nyall Dawson"  wrote:

> On Fri, 12 Oct 2018 at 20:48, Richard Duivenvoorde 
> wrote:
> > which is the whole of the Netherlands (in a 10x10 pixel output??) and
> > after that a more proper bbox.
>
> I can't explain the background here, but it seems deliberate. There's
> a comment before this request is made:
>
> "
>   // It may happen (GeoServer) that extent reported in
> spatialDomain.Envelope is larger
>   // than the coverage. Then if that larger BBOX is requested, the
> server returns
>   // request BBOX intersected with coverage box scaled to requested
> WIDTH and HEIGHT.
>   // GDAL WCS client does not suffer from this probably because it
> probably takes
>   // extent from lonLatEnvelope (it probably does not calculate it from
>   // spatialDomain.RectifiedGrid because calculated value is slightly
> different).
>
>   // To get the true extent (it can also be smaller than real if
> reported Envelope is
>   // than real smaller, but smaller is safer because data cannot be
> shifted) we make
>   // request of the whole extent cut the extent from
> spatialDomain.Envelope if
>   // necessary"
>
>  getCache( 1, mCoverageExtent, 10, 10 );
>
>
> Radim may know more and may be able to explain if this workaround is
> still necessary
>
>
> Nyall
>
> >
> > Is this supposed to go like this?
> > I reckon that (if the WCS data does not have overviews), loading the
> > whole dataset all the time is pretty intensive.
> >
> > Anybody more familiar with this can tell something about this?
> >
> > Regards,
> >
> > Richard Duivenvoorde
> > ___
> > QGIS-Developer mailing list
> > QGIS-Developer@lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] OSGeo4W updates (was Re: [Qgis-psc] QGIS grants?)

2018-10-15 Thread Jürgen E . Fischer
Hi,

On Wed, 12. Sep 2018 at 07:13:54 +0200, Paolo Cavallini wrote:
> do we have news about the state of QGIS grantss? Should we ask for a report?

I uploaded following updates to OSGeo4W (32[0] & 64bit[1]):

- Qt 5.11.2 (from 5.9.2; with sip, PyQt5, QScintilla, qca, qtkeychain and Qwt)
- Python 3.7 (from 3.6; including all 49 currently included extensions)
- PROJ 5.2.0 (from 4.9.3; plus datumgrids)
- GEOS 3.7.0 (from 3.6.2)
- SpatiaLite 4.3.0a (from 4.3.0; also with lwgeom from postgis 2.5)
- GDAL 2.3.2 (from 2.2.4; including updated/rebuilt dependencies ogdi &
  openfyba)

QGIS 2.18 are already rebuilt, but the builds of QGIS 3.2 and master are still
underway.  Nightlies of 2.18 and 3.2 will follow.

For GDAL and PROJ there are also legacy packages (proj4dll and gdal202dll) with
the previos package's DLLs.  So other dependencies (like GRASS) should work on
without a rebuild.


Jürgen


[0] https://download.osgeo.org/osgeo4w/x86/versions_diff-update-2018.html
[1] https://download.osgeo.org/osgeo4w/x86_64/versions_diff-update-2018.html

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de


signature.asc
Description: PGP signature
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Aurich HRB 100827
Datenschutzerklaerung: https://www.norbit.de/83/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] plugin reload fail

2018-10-15 Thread Pierluigi De Rosa
Dear Borys, 


I update the plugin reloader to the version 0.7.5 and I tried to use it on 
openoise but it still fails. 
No changes are detected. 


I'm using QGIS 3.2 and a ported version of openoise (not the official one that 
is for qgis 2.x) 


Thanks 
Pierluigi 

- Messaggio originale -

Da: "Borys Jurgiel"  
A: qgis-developer@lists.osgeo.org 
Cc: "Richard Duivenvoorde"  
Inviato: Sabato, 13 ottobre 2018 23:33:59 
Oggetto: Re: [QGIS-Developer] plugin reload fail 

Hi, 

It's not so straightforward to recursively reload complex plugins, thus both 
Plugin Manager and Plugin Reloader have a long-standing problem with reloading 
modules placed in subdirectories. This is the case of opeNoise, where most of 
the code is in the 'tools' subdirectory, so all changes there require QGIS to 
be restarted. 

I've just released Plugin Reloader 0.7.5 that hopefully fixes this issue 
finally. Could you please test if it helps with opeNoise? If so, I'll apply 
the same to the Manager or even qgis.utils. 

Unfortunately it's only for QGIS 3, as I didn't success to make it working 
with Python 2 (and the old opeNoise). 

Best regards, 
Borys 


Dnia sobota, 13 października 2018 12:15:28 CEST DelazJ pisze: 
> Hi, 
> 
> How about reloading with the "Plugin reloader" plugin [0]? You might need 
> to enable "show experimental plugins" beforehand. 
> I thik this would save QGIS I/O. 
> 
> [0] http://plugins.qgis.org/plugins/plugin_reloader/ 
> 
> Regards, 
> Harrissou 
> 
> Le sam. 13 oct. 2018 à 10:14, Richard Duivenvoorde  a 
> 
> écrit : 
> > On 10/12/2018 06:20 PM, Ing. Pierluigi De Rosa wrote: 
> > > Dear all, 
> > > 
> > > I have a simple problem. 
> > > I'm porting the opeNoise plugin [1] to 3.x 
> > > I'm not the author plugin but I'm experiencing that the plugin reload 
> > > fails. It tels me that the plugin have been reloaded but the changes are 
> > > non applied. Even if I deactivate and than activate the plugin the same 
> > > results (no changes detected). 
> > > The only way is to restart the software any time losing too much time. 
> > 
> > How sure are you that it is not reloaded? 
> > Can you check by writing some message with a version number? 
> > 
> > Normally writing the 
> > 
> > __init__ 
> > initGui 
> > unload 
> > 
> > should be enough. Only thing I could think off is that you do not 
> > disconnect the QActions (though I'm not even sure if that is really 
> > needed). 
> > 
> > Also note that if you reload your plugin AFTER an exception, often you 
> > end up with a situation where QGIS still has (parts) of the plugin in 
> > memory while also loading a new version of your plugin, so sometimes 
> > showing 2 versions of your pluginbutton/toolbar etc. I think only a QGIS 
> > restart works then. 
> > 
> > Another think I've had is that mixing up an already installed version 
> > with the one I'm developing (because the symbolic link was gone, or I 
> > was actually working in another profile then I thought or other 
> > silly things) 
> > 
> > Regards, 
> > 
> > Richard 
> > ___ 
> > QGIS-Developer mailing list 
> > QGIS-Developer@lists.osgeo.org 
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer 
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer 




___ 
QGIS-Developer mailing list 
QGIS-Developer@lists.osgeo.org 
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer 
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer 
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer