[QGIS-Developer] Plugin [1515] DSGTools Op approval notification.

2018-08-21 Thread noreply

Plugin DSGTools Op approval by pcav.
The plugin version "[1515] DSGTools Op 1.2.1" is now approved
Link: http://plugins.qgis.org/plugins/DSGTools_Op/
___
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-08-21 Thread Nyall Dawson
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

Re: [QGIS-Developer] update of PyQGIS API docs

2018-08-21 Thread Nyall Dawson
On Wed, 22 Aug 2018 at 06:11, Denis Rouzaud  wrote:
>
> Hi all,
>
> It took a bit of time, but they are finally updated!
>
> http://qgis.org/pyqgis/master
> http://qgis.org/pyqgis/3.2

Looking great - this is a very nice update to the doumentation
formatting! Great work!

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

Re: [QGIS-Developer] update of PyQGIS API docs

2018-08-21 Thread Luigi Pirelli
clap clap clap

Luigi Pirelli

**
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
*
https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
* Hire me: http://goo.gl/BYRQKg
**


On Tue, 21 Aug 2018 at 22:11, Denis Rouzaud  wrote:

> Hi all,
>
> It took a bit of time, but they are finally updated!
>
> http://qgis.org/pyqgis/master
> http://qgis.org/pyqgis/3.2
>
> Best wishes,
> Denis
> --
>
> 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 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] update of PyQGIS API docs

2018-08-21 Thread Denis Rouzaud
Hi all,

It took a bit of time, but they are finally updated!

http://qgis.org/pyqgis/master
http://qgis.org/pyqgis/3.2

Best wishes,
Denis
-- 

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] set data defined override expression with python?

2018-08-21 Thread Raymond Nijssen

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'

Hope anyone can explain.

Thanks!
Raymond

___
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 [515] Area Along Vector approval notification.

2018-08-21 Thread noreply

Plugin Area Along Vector approval by pcav.
The plugin version "[515] Area Along Vector 2.0" is now approved
Link: http://plugins.qgis.org/plugins/AreaAlongVector/
___
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 [624] VectorMCDA approval notification.

2018-08-21 Thread noreply

Plugin VectorMCDA approval by pcav.
The plugin version "[624] VectorMCDA 2.99 Experimental" is now approved
Link: http://plugins.qgis.org/plugins/VectorMCDA/
___
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] Interrogation about algorithms to offset/translate features

2018-08-21 Thread Paolo Cavallini
Hi all,


On 08/21/2018 07:09 AM, Nyall Dawson wrote:
> On Mon, 20 Aug 2018 at 23:17, DelazJ  wrote:
>> Good day devs,
>>
>> Today I was looking for an algorithm to create parallel lines in another 
>> layer and a search provides me with many candidates. I found
>>
>> - "translate": creates one parallel feature moved at a specified x/y/z/m 
>> offset distance
>> - "array of offset features": same thing than translate but generating the 
>> parallel of the parallels up to the specified number of copies
>> - "offset lines": applies an offset to the features (from what I see, it's 
>> an homothetic operation), generating one feature that is not a copy of the 
>> previous (not the same length, if multiline eg)
>> - "create parallel lines": same as  the offset lines tool but generating 
>> multiple offsets.
>>
>> I have some concerns/questions:
>>
>> -"translate" vs "array of offset features": why not just add the "number of 
>> features to create" parameter to the translate algorithm instead of having 
>> created a new one?
>> - "offset lines" vs "create parallel lines": same question as above, in 
>> favor of the offset lines algorithm
> My personal preference is to keep individual algorithms as simple as
> possible, and have additional algorithms covering similar use cases. I
> prefer this over the GRASS/SAGA algorithm approach of having one
> algorithm with a multitude of parameters which interact in different
> ways. In this case the algorithms have been separated into "vector
> creation" algorithms (array of offset features, create parallel lines)
> vs "geometry modification" algorithms (translate, offset lines).

Fully agreed. The original grass plugin had this approach, and it worked
very well IMHO in most cases.
There are a few algs who cannot be easily made atomic without creating a
messy set of very similar commands, but that's the exception rather than
the rule.
>
>> with less algs, there will be less translation to do and I hope less 
>> confusion around this concept.
> ...but I'm a strong -1 to squashing these operations into the same algorithm.
again, fully agreed
All the best.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis

___
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 [87] Profile tool approval notification.

2018-08-21 Thread noreply

Plugin Profile tool approval by pcav.
The plugin version "[87] Profile tool 4.1.2" is now approved
Link: http://plugins.qgis.org/plugins/profiletool/
___
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] [Server] feature typeName namespace in WFS GetFeature

2018-08-21 Thread Stéphane Brunner
Hello,

OK, then I will start to create a pull request to make those requests
working :-)

CU
Stéph

2018-08-20 16:11 GMT+02:00 René-Luc Dhont :

> Hi Stéphane,
>
> I understand like you. So I think you are right.
>
> René-Luc
>
> Le 17/08/2018 à 11:44, Stéphane Brunner a écrit :
>
> Hello,
>
> In the test we configure the typeName like this
> https://github.com/qgis/QGIS/blob/6d1e420c71615307bb2d5e84c187b3
> 2a1a363cda/tests/src/python/test_qgsserver_wfs.py#L217
> http://www.qgis.org/gml;>
>
>
> But I understand this is wrong, it should be
> http://www.qgis.org/gml;>
> or
> http://www.qgis.org/gml;>
>
> Am I right or not?
>
> CU
> Stéphane
>
>
> --
> camptocamp.com
> mapfish.org
>
>
> ___
> QGIS-Developer mailing listqgis-develo...@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
>



-- 
camptocamp.com
mapfish.org
___
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