[QGIS-Developer] Processing modeler way to get settings

2020-04-15 Thread Luigi Pirelli
Hi

I'm looking for a way to get qgis settings values using teh graphical
modeler, e.g. without using any python, or custom expression function.

I'm preparing a processing provider that just add some models (in the same
way as done by resource sharing plugin) and some provider specific
settings. But I can't find the way I can read this settings other that
creating a custom script.

Am I missing something?

is there a way?

Luigi Pirelli

p.s. I suppose is simple to add a new expression operator in core to add
the feature to read settings, but my target is LTR, so any new feature
can't be used.
p.p.s. or just add provider settings as new expression scope?

**
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Book: Mastering QGIS3 - 3rd Edition

* Hire a team: http://www.qcooperative.net
**
___
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 Modeler

2020-03-05 Thread Frank Miller
Hi,
I am very new in this group and have a question you may be very familiar
with. I am trying to add 'Clip raster by mask layer' tool to processing
modeler and download DEM data from an online resource but so far there is
no luck.
Does GDAL works in Processing Modeler? If yes what is my problem?

I tried to use 'Download' tool but it does not have clipping option and
downloads the entire data.
The main question is 'how can I download a part of DEM from an online map'.

Regards,
Frank
___
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 modeler inputs and PostgreSQL execute SQL

2019-01-29 Thread Alexandre Busquets
Is it possible to add "Input" parameters to "PostgreSQL execute SQL" sql
query, like [buffer] {buffer}?

Thanks


Alexandre Busquets Triola
GIS Software Analyst & Developer

-
Skype: alexandre.busquets
Phone: +34 647 99 31 63
___
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] Processing modeler GUI unusable in KDE / Plasma

2017-11-30 Thread Andreas Neumann
Hi Etienne and Nyall, 

Indeed - removing the file "qgis_customwidgets.py" from
/usr/lib/python3/dist-packages/PyQt5/uic/widget-plugins brought the
Processing modeler back to normal! 

Cool! 

So now we at least do know that this is the culprit. 

Thanks,
Andreas 

On 2017-11-30 09:02, Etienne Trimaille wrote:

> I got the problem too for many months even if it was disabled in the cmake. 
> 
> I needed to remove the qgis_customwidgets.py in the site-package folder of 
> Python 
> 
> Maybe a `locate qgis_customwidgets.py` might help? 
> 
> 2017-11-30 8:37 GMT+01:00 Andreas Neumann :
> Hi Nyall,
> 
> I reverted 5dce8edb
> 
> and built with custom widgets enabled.
> 
> Unfortunately, still the same problem.
> 
> Thanks,
> 
> Andreas 
> 
> On 30.11.2017 08:09, Nyall Dawson wrote:
> On 30 November 2017 at 16:39, Andreas Neumann  wrote:
> Hi Mathieu,
> 
> Thanks for your efforts! I just tested it - unfortunately, your commit does
> not solve my issue.
> 
> I also tested with a new virgin user profile to make sure there isn't some
> old setting causing the troubles.
> 
> Custom widgets support is also not enabled. Can you try:
> - revert https://github.com/qgis/QGIS/commit/5dce8edb [1]
> - build with custom widgets enabled and installed
> 
> I want to rule out the custom widgets, and I suspect just switching
> them off in the build isn't enough to clean up the remnants of them.
> 
> Nyall

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


 

Links:
--
[1] https://github.com/qgis/QGIS/commit/5dce8edb
[2] 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] Processing modeler GUI unusable in KDE / Plasma

2017-11-30 Thread Etienne Trimaille
I got the problem too for many months even if it was disabled in the cmake.
I needed to remove the qgis_customwidgets.py in the site-package folder of
Python

Maybe a `locate qgis_customwidgets.py` might help?

2017-11-30 8:37 GMT+01:00 Andreas Neumann :

> Hi Nyall,
>
> I reverted 5dce8edb
>
> and built with custom widgets enabled.
>
> Unfortunately, still the same problem.
>
> Thanks,
>
> Andreas
>
>
>
> On 30.11.2017 08:09, Nyall Dawson wrote:
>
>> On 30 November 2017 at 16:39, Andreas Neumann 
>> wrote:
>>
>>> Hi Mathieu,
>>>
>>> Thanks for your efforts! I just tested it - unfortunately, your commit
>>> does
>>> not solve my issue.
>>>
>>> I also tested with a new virgin user profile to make sure there isn't
>>> some
>>> old setting causing the troubles.
>>>
>>> Custom widgets support is also not enabled.
>>>
>> Can you try:
>> - revert https://github.com/qgis/QGIS/commit/5dce8edb
>> - build with custom widgets enabled and installed
>>
>> I want to rule out the custom widgets, and I suspect just switching
>> them off in the build isn't enough to clean up the remnants of them.
>>
>> 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

Re: [QGIS-Developer] Processing modeler GUI unusable in KDE / Plasma

2017-11-29 Thread Andreas Neumann

Hi Nyall,

I reverted 5dce8edb

and built with custom widgets enabled.

Unfortunately, still the same problem.

Thanks,

Andreas


On 30.11.2017 08:09, Nyall Dawson wrote:

On 30 November 2017 at 16:39, Andreas Neumann  wrote:

Hi Mathieu,

Thanks for your efforts! I just tested it - unfortunately, your commit does
not solve my issue.

I also tested with a new virgin user profile to make sure there isn't some
old setting causing the troubles.

Custom widgets support is also not enabled.

Can you try:
- revert https://github.com/qgis/QGIS/commit/5dce8edb
- build with custom widgets enabled and installed

I want to rule out the custom widgets, and I suspect just switching
them off in the build isn't enough to clean up the remnants of them.

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] Processing modeler GUI unusable in KDE / Plasma

2017-11-29 Thread Nyall Dawson
On 30 November 2017 at 16:39, Andreas Neumann  wrote:
> Hi Mathieu,
>
> Thanks for your efforts! I just tested it - unfortunately, your commit does
> not solve my issue.
>
> I also tested with a new virgin user profile to make sure there isn't some
> old setting causing the troubles.
>
> Custom widgets support is also not enabled.

Can you try:
- revert https://github.com/qgis/QGIS/commit/5dce8edb
- build with custom widgets enabled and installed

I want to rule out the custom widgets, and I suspect just switching
them off in the build isn't enough to clean up the remnants of them.

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] Processing modeler GUI unusable in KDE / Plasma

2017-11-29 Thread Andreas Neumann

Hi Mathieu,

Thanks for your efforts! I just tested it - unfortunately, your commit 
does not solve my issue.


I also tested with a new virgin user profile to make sure there isn't 
some old setting causing the troubles.


Custom widgets support is also not enabled.

Thanks,

Andreas


On 30.11.2017 06:13, Mathieu Pellerin wrote:
There's a chance this commit 
(https://github.com/qgis/QGIS/commit/f5702abae9dfeae8a73c335871375076132435de) 
fixes your issue. Let me know.


On Thu, Nov 30, 2017 at 6:10 AM, Andreas Neumann > wrote:


Hi Nyall,

Unfortunately - turning off custom widgets in ccmake and
reinstalling did not help.

Andreas



On 29.11.2017 23:42, Nyall Dawson wrote:

On 29 November 2017 at 23:32, Andreas Neumann
> wrote:

Hi,

Are there any KDE5 / Plasma users among the QGIS devs?

For me the GUI of the modeler is pretty broken - see
screenshot at
http://www.carto.net/neumann/temp/processing_modelerer_kde.png


I cannot access the list of inputs and algorithms as their
screenspace
shrinked to some minimal widget that can't be enlarged.

Am I the only one suffering from this issue?

Have you got the custom widgets installed? I suspect we are
seeing a
resurgence of an old issue.

Try removing the custom widgets, or reverting
https://github.com/qgis/QGIS/commit/5dce8edb


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

Re: [QGIS-Developer] Processing modeler GUI unusable in KDE / Plasma

2017-11-29 Thread Mathieu Pellerin
There's a chance this commit (
https://github.com/qgis/QGIS/commit/f5702abae9dfeae8a73c335871375076132435de)
fixes your issue. Let me know.

On Thu, Nov 30, 2017 at 6:10 AM, Andreas Neumann 
wrote:

> Hi Nyall,
>
> Unfortunately - turning off custom widgets in ccmake and reinstalling did
> not help.
>
> Andreas
>
>
>
> On 29.11.2017 23:42, Nyall Dawson wrote:
>
>> On 29 November 2017 at 23:32, Andreas Neumann 
>> wrote:
>>
>>> Hi,
>>>
>>> Are there any KDE5 / Plasma users among the QGIS devs?
>>>
>>> For me the GUI of the modeler is pretty broken - see screenshot at
>>> http://www.carto.net/neumann/temp/processing_modelerer_kde.png
>>>
>>> I cannot access the list of inputs and algorithms as their screenspace
>>> shrinked to some minimal widget that can't be enlarged.
>>>
>>> Am I the only one suffering from this issue?
>>>
>>> Have you got the custom widgets installed? I suspect we are seeing a
>> resurgence of an old issue.
>>
>> Try removing the custom widgets, or reverting
>> https://github.com/qgis/QGIS/commit/5dce8edb
>>
>> 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

Re: [QGIS-Developer] Processing modeler GUI unusable in KDE / Plasma

2017-11-29 Thread Andreas Neumann

Hi Nyall,

Unfortunately - turning off custom widgets in ccmake and reinstalling 
did not help.


Andreas


On 29.11.2017 23:42, Nyall Dawson wrote:

On 29 November 2017 at 23:32, Andreas Neumann  wrote:

Hi,

Are there any KDE5 / Plasma users among the QGIS devs?

For me the GUI of the modeler is pretty broken - see screenshot at
http://www.carto.net/neumann/temp/processing_modelerer_kde.png

I cannot access the list of inputs and algorithms as their screenspace
shrinked to some minimal widget that can't be enlarged.

Am I the only one suffering from this issue?


Have you got the custom widgets installed? I suspect we are seeing a
resurgence of an old issue.

Try removing the custom widgets, or reverting
https://github.com/qgis/QGIS/commit/5dce8edb

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] Processing modeler GUI unusable in KDE / Plasma

2017-11-29 Thread Nyall Dawson
On 29 November 2017 at 23:32, Andreas Neumann  wrote:
> Hi,
>
> Are there any KDE5 / Plasma users among the QGIS devs?
>
> For me the GUI of the modeler is pretty broken - see screenshot at
> http://www.carto.net/neumann/temp/processing_modelerer_kde.png
>
> I cannot access the list of inputs and algorithms as their screenspace
> shrinked to some minimal widget that can't be enlarged.
>
> Am I the only one suffering from this issue?
>

Have you got the custom widgets installed? I suspect we are seeing a
resurgence of an old issue.

Try removing the custom widgets, or reverting
https://github.com/qgis/QGIS/commit/5dce8edb

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] Processing modeler GUI unusable in KDE / Plasma

2017-11-29 Thread Alexander Bruy
Hi,

I'm also on KDE5/Plasma and can not confirm this issue.
This issue were reported about 2 weeks ago, see
https://issues.qgis.org/issues/17488

2017-11-29 16:06 GMT+02:00 Alessandro Pasotti :
>
> On Wed, Nov 29, 2017 at 2:55 PM, Andreas Neumann 
> wrote:
>>
>> Hi Alessandro,
>>
>> seems like some width/height setting in respect to the parent widget is
>> broken under KDE.
>>
>> Do you want to have a look at this issue?
>
>
> I'll see what I can do, now I'm focusing on the hidpi cursors and there are
> still some issues with the bookmarks .
>
>> Should I report it as a bug?
>
>
> Yes please.
>
>
>> Thanks,
>>
>> Andreas
>>
>>
>> On 29.11.2017 14:51, Alessandro Pasotti wrote:
>>
>> Hi Andreas,
>>
>> I'm on KDE and I confirm the issue, actually a bit worse than yours
>> screenshot https://imgur.com/a/kkSRV.
>>
>> On Wed, Nov 29, 2017 at 2:32 PM, Andreas Neumann 
>> wrote:
>>>
>>> Hi,
>>>
>>> Are there any KDE5 / Plasma users among the QGIS devs?
>>>
>>> For me the GUI of the modeler is pretty broken - see screenshot at
>>> http://www.carto.net/neumann/temp/processing_modelerer_kde.png
>>>
>>> I cannot access the list of inputs and algorithms as their screenspace
>>> shrinked to some minimal widget that can't be enlarged.
>>>
>>> Am I the only one suffering from this issue?
>>>
>>> Thanks for your reply,
>>>
>>> Andreas
>>>
>>> ___
>>> 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
>>
>>
>>
>>
>> --
>> Alessandro Pasotti
>> w3:   www.itopen.it
>>
>>
>
>
>
> --
> Alessandro Pasotti
> w3:   www.itopen.it
>
> ___
> 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



-- 
Alexander Bruy
___
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] Processing modeler GUI unusable in KDE / Plasma

2017-11-29 Thread Alessandro Pasotti
On Wed, Nov 29, 2017 at 2:55 PM, Andreas Neumann 
wrote:

> Hi Alessandro,
>
> seems like some width/height setting in respect to the parent widget is
> broken under KDE.
>
> Do you want to have a look at this issue?
>

I'll see what I can do, now I'm focusing on the hidpi cursors and there are
still some issues with the bookmarks .

Should I report it as a bug?
>
>
Yes please.


Thanks,
>
> Andreas
>
> On 29.11.2017 14:51, Alessandro Pasotti wrote:
>
> Hi Andreas,
>
> I'm on KDE and I confirm the issue, actually a bit worse than yours
> screenshot https://imgur.com/a/kkSRV.
>
> On Wed, Nov 29, 2017 at 2:32 PM, Andreas Neumann 
> wrote:
>
>> Hi,
>>
>> Are there any KDE5 / Plasma users among the QGIS devs?
>>
>> For me the GUI of the modeler is pretty broken - see screenshot at
>> http://www.carto.net/neumann/temp/processing_modelerer_kde.png
>>
>> I cannot access the list of inputs and algorithms as their screenspace
>> shrinked to some minimal widget that can't be enlarged.
>>
>> Am I the only one suffering from this issue?
>>
>> Thanks for your reply,
>>
>> Andreas
>>
>> ___
>> 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
>
>
>
>
> --
> Alessandro Pasotti
> w3:   www.itopen.it
>
>
>


-- 
Alessandro Pasotti
w3:   www.itopen.it
___
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] Processing modeler GUI unusable in KDE / Plasma

2017-11-29 Thread Andreas Neumann

Hi Alessandro,

seems like some width/height setting in respect to the parent widget is 
broken under KDE.


Do you want to have a look at this issue? Should I report it as a bug?

Thanks,

Andreas


On 29.11.2017 14:51, Alessandro Pasotti wrote:

Hi Andreas,

I'm on KDE and I confirm the issue, actually a bit worse than yours 
screenshot https://imgur.com/a/kkSRV.


On Wed, Nov 29, 2017 at 2:32 PM, Andreas Neumann > wrote:


Hi,

Are there any KDE5 / Plasma users among the QGIS devs?

For me the GUI of the modeler is pretty broken - see screenshot at
http://www.carto.net/neumann/temp/processing_modelerer_kde.png


I cannot access the list of inputs and algorithms as their
screenspace shrinked to some minimal widget that can't be enlarged.

Am I the only one suffering from this issue?

Thanks for your reply,

Andreas

___
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





--
Alessandro Pasotti
w3: www.itopen.it 


___
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] Processing modeler GUI unusable in KDE / Plasma

2017-11-29 Thread Alessandro Pasotti
Hi Andreas,

I'm on KDE and I confirm the issue, actually a bit worse than yours
screenshot https://imgur.com/a/kkSRV.

On Wed, Nov 29, 2017 at 2:32 PM, Andreas Neumann 
wrote:

> Hi,
>
> Are there any KDE5 / Plasma users among the QGIS devs?
>
> For me the GUI of the modeler is pretty broken - see screenshot at
> http://www.carto.net/neumann/temp/processing_modelerer_kde.png
>
> I cannot access the list of inputs and algorithms as their screenspace
> shrinked to some minimal widget that can't be enlarged.
>
> Am I the only one suffering from this issue?
>
> Thanks for your reply,
>
> Andreas
>
> ___
> 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




-- 
Alessandro Pasotti
w3:   www.itopen.it
___
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 modeler GUI unusable in KDE / Plasma

2017-11-29 Thread Andreas Neumann

Hi,

Are there any KDE5 / Plasma users among the QGIS devs?

For me the GUI of the modeler is pretty broken - see screenshot at 
http://www.carto.net/neumann/temp/processing_modelerer_kde.png


I cannot access the list of inputs and algorithms as their screenspace 
shrinked to some minimal widget that can't be enlarged.


Am I the only one suffering from this issue?

Thanks for your reply,

Andreas

___
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 modeler: join attributes table

2017-04-27 Thread Martin Landa
Hi,

we are trying to join attribute table with another table in processing
modeler (using "Join attributes table" algorithm), but it fails:

"""
Running Join attributes table [2/2]

Parameters: INPUT_LAYER
=/tmp/processingb49e46d91a8d4997a4d2c2b0a2e31e7c/94a754a43e4a4074bcbd79714a0eebcf/OUTPUTALGQGISUNION1.shp,
INPUT_LAYER_2 =/home/landa/Documents/YFSG/hydrologie/hydrologie/vzorek1/hpj.shp,
TABLE_FIELD =HPJ, TABLE_FIELD_2 =HPJ

Failed

Error executing algorithm Join attributes table
QgsFeature.setGeometry(QgsGeometry): argument 1 has unexpected type
'NoneType' See log for more details
"""

The parameters should be fine - the both tables (attribute table and
CSV table contain column 'HPJ'). It's possible to join CSV table file
with attribute table manually in QGIS without any problems. It seems
to be a bug in processing modeler, can you confirm it?

Thanks, Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
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] Modeler widget wrapper

2017-03-06 Thread Arnaud Morvan

Hello all,

I've proposed a refactoring of the modeler algorithm dialog :

https://github.com/qgis/QGIS-Enhancement-Proposals/issues/84

This would come with code simplification, more modularity and port all 
the functionnalities from the algorithm dialog to the modeler algorithm 
dialog.


But as this also has a side effect on the UI, I'd like to have more 
opinion before going deeper on this.


Best regards.

Arnaud Morvan

___
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] Processing Modeler regression Unable to open datasource of intermediate results

2015-08-27 Thread Anita Graser
On Aug 26, 2015 4:47 PM, Bernd Vogelgesang bernd.vogelges...@gmx.de
wrote:

 Am 26.08.2015, 09:08 Uhr, schrieb Anita Graser anitagra...@gmx.at:
 I reported this already some weeks ago: https://hub.qgis.org/issues/13174
 My suspicion was, that this is related to GDAL processes, cause all
others seem to run fine.

Thanks Bernd,
Must have missed that the first time.
I guess some file handling must have changed between processing 2.9 and
2.10 that broke it.

Best wishes
Anita






 Algorithm dissolve starting...

 Prepare algorithm: QGISFIXEDDISTANCEBUFFER_1

 Running Fixed distance buffer [1/2]

 Parameters: INPUT
=C:/Users/agraser/Downloads/qgis_sample_data/shapefiles/popp.shp, DISTANCE
=1, SEGMENTS =5, DISSOLVE =True

 Converting outputs

 OK. Execution took 67.825 ms (1 outputs).

 Prepare algorithm: GDALOGRDISSOLVEPOLYGONS_1

 Running Dissolve polygons [2/2]

 Parameters: INPUT_LAYER
=C:\Users\agraser\AppData\Local\Temp\processing\7f77fa47bcec4799818d1f5ea41cc8a9\OUTPUT.shp,
GEOMETRY =geometry, FIELD =TYPE, MULTI =False, FIELDS =False, COUNT =False,
AREA =False, STATS =False, STATSATT =TYPE, OPTIONS =

 GDAL command:

 cmd.exe /C ogr2ogr.exe
C:\Users\agraser\AppData\Local\Temp\processing\a44629a1c1f34bc4bf9d26ed974f2bb6\OUTPUTLAYERALGGDALOGRDISSOLVEPOLYGONS1.shp
:\Users\agraser\AppData\Local\Temp\processing\7f77fa47bcec4799818d1f5ea41cc8a9\OUTPUT.sh
OUTPUT -dialect sqlite -sql SELECT ST_Union(geometry),TYPE FROM 'OUTPUT'
GROUP BY TYPE -explodecollections

 GDAL command output:

 FAILURE:

 Unable to open datasource
`:\Users\agraser\AppData\Local\Temp\processing\7f77fa47bcec4799818d1f5ea41cc8a9\OUTPUT.sh'
with the following drivers.

 - ESRI Shapefile

 - MapInfo File

 - UK .NTF

 - SDTS

 - TIGER

 - S57

 - DGN

 - VRT

 - REC

 - Memory

 - BNA

 - CSV

 - NAS

 - GML

 - GPX

 - KML

 - GeoJSON

 - Interlis 1

 - Interlis 2

 - GMT

 - GPKG

 - SQLite

 - ODBC

 - WAsP

 - PGeo

 - MSSQLSpatial

 - OGDI

 - PostgreSQL

 - MySQL

 - PCIDSK

 - OpenFileGDB

 - XPlane

 - AVCBin

 - AVCE00

 - DXF

 - Geoconcept

 - GeoRSS

 - GPSTrackMaker

 - VFK

 - PGDump

 - OSM

 - GPSBabel

 - SUA

 - OpenAir

 - PDS

 - WFS

 - HTF

 - AeronavFAA

 - Geomedia

 - EDIGEO

 - GFT

 - GME

 - SVG

 - CouchDB

 - Idrisi

 - ARCGEN

 - SEGUKOOA

 - SEGY

 - XLS

 - ODS

 - XLSX

 - ElasticSearch

 - PDF

 - Walk

 - CartoDB

 - SXF

 Converting outputs

 OK. Execution took 0.125 ms (1 outputs).

 Model processed ok. Executed 2 algorithms total

 Converting outputs

 Loading resulting layers




 --
 Bernd Vogelgesang
 Siedlerstraße 2
 91083 Baiersdorf/Igelsdorf
 Tel: 09133-825374
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Processing Modeler regression Unable to open datasource of intermediate results

2015-08-26 Thread Anita Graser
Hi,

There seems to be a regression between Processing 2.9 and 2.10 where 2.10
fails to run models because it cannot find the intermediate results it
produced in a previous step. The model runs perfectly in 2.9. Bellow you
can see an example to reproduce: just chain QGIS buffer and OGR dissolve
and it fails because it's looking for a file
:\Users\agraser\AppData\Local\Temp\processing\7f77fa47bcec4799818d1f5ea41cc8a9\OUTPUT.sh
(without C: and .sh instead of .shp)

Are you already aware of this or should I open a ticket.

Best wishes,
Anita


Algorithm dissolve starting...

Prepare algorithm: QGISFIXEDDISTANCEBUFFER_1

Running Fixed distance buffer [1/2]

Parameters: INPUT
=C:/Users/agraser/Downloads/qgis_sample_data/shapefiles/popp.shp, DISTANCE
=1, SEGMENTS =5, DISSOLVE =True

Converting outputs

OK. Execution took 67.825 ms (1 outputs).

Prepare algorithm: GDALOGRDISSOLVEPOLYGONS_1

Running Dissolve polygons [2/2]

Parameters: INPUT_LAYER
=C:\Users\agraser\AppData\Local\Temp\processing\7f77fa47bcec4799818d1f5ea41cc8a9\OUTPUT.shp,
GEOMETRY =geometry, FIELD =TYPE, MULTI =False, FIELDS =False, COUNT =False,
AREA =False, STATS =False, STATSATT =TYPE, OPTIONS =

GDAL command:

cmd.exe /C ogr2ogr.exe
C:\Users\agraser\AppData\Local\Temp\processing\a44629a1c1f34bc4bf9d26ed974f2bb6\OUTPUTLAYERALGGDALOGRDISSOLVEPOLYGONS1.shp
:\Users\agraser\AppData\Local\Temp\processing\7f77fa47bcec4799818d1f5ea41cc8a9\OUTPUT.sh
OUTPUT -dialect sqlite -sql SELECT ST_Union(geometry),TYPE FROM 'OUTPUT'
GROUP BY TYPE -explodecollections

GDAL command output:

FAILURE:

Unable to open datasource
`:\Users\agraser\AppData\Local\Temp\processing\7f77fa47bcec4799818d1f5ea41cc8a9\OUTPUT.sh'
with the following drivers.

- ESRI Shapefile

- MapInfo File

- UK .NTF

- SDTS

- TIGER

- S57

- DGN

- VRT

- REC

- Memory

- BNA

- CSV

- NAS

- GML

- GPX

- KML

- GeoJSON

- Interlis 1

- Interlis 2

- GMT

- GPKG

- SQLite

- ODBC

- WAsP

- PGeo

- MSSQLSpatial

- OGDI

- PostgreSQL

- MySQL

- PCIDSK

- OpenFileGDB

- XPlane

- AVCBin

- AVCE00

- DXF

- Geoconcept

- GeoRSS

- GPSTrackMaker

- VFK

- PGDump

- OSM

- GPSBabel

- SUA

- OpenAir

- PDS

- WFS

- HTF

- AeronavFAA

- Geomedia

- EDIGEO

- GFT

- GME

- SVG

- CouchDB

- Idrisi

- ARCGEN

- SEGUKOOA

- SEGY

- XLS

- ODS

- XLSX

- ElasticSearch

- PDF

- Walk

- CartoDB

- SXF

Converting outputs

OK. Execution took 0.125 ms (1 outputs).

Model processed ok. Executed 2 algorithms total

Converting outputs

Loading resulting layers
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Processing Modeler regression Unable to open datasource of intermediate results

2015-08-26 Thread Jürgen E . Fischer
Hi Anita,

On Wed, 26. Aug 2015 at 09:08:23 +0200, Anita Graser wrote:
 :\Users\agraser\AppData\Local\Temp\processing\7f77fa47bcec4799818d1f5ea41cc8a9\OUTPUT.sh
 (without C: and .sh instead of .shp)

Sounds familiar - must have been reported somewhere else already - not sure if
I know it from a ticket.


Jürgen

-- 
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
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode 



signature.asc
Description: Digital signature
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Processing Modeler regression Unable to open datasource of intermediate results

2015-08-26 Thread Bernd Vogelgesang

Am 26.08.2015, 09:08 Uhr, schrieb Anita Graser anitagra...@gmx.at:


Hi,

There seems to be a regression between Processing 2.9 and 2.10 where  
2.10 fails to run models because it cannot find the intermediate  
results it produced in a previous step. The model runs perfectly in 2.9.  
Bellow you can see an example to reproduce: just chain QGIS buffer and  
OGR dissolve and it fails because it's looking for a file  
:\Users\agraser\AppData\Local\Temp\processing\7f77fa47bcec4799818d1f5ea41cc8a9\OUTPUT.sh  
(without C: and .sh instead of .shp)


Are you already aware of this or should I open a ticket.

Best wishes,
Anita


Hi,
I reported this already some weeks ago: https://hub.qgis.org/issues/13174
My suspicion was, that this is related to GDAL processes, cause all others  
seem to run fine.







Algorithm dissolve starting...

Prepare algorithm: QGISFIXEDDISTANCEBUFFER_1

Running Fixed distance buffer [1/2]

Parameters: INPUT  
=C:/Users/agraser/Downloads/qgis_sample_data/shapefiles/popp.shp,  
DISTANCE =1, SEGMENTS =5, DISSOLVE =True


Converting outputs

OK. Execution took 67.825 ms (1 outputs).

Prepare algorithm: GDALOGRDISSOLVEPOLYGONS_1

Running Dissolve polygons [2/2]

Parameters: INPUT_LAYER  
=C:\Users\agraser\AppData\Local\Temp\processing\7f77fa47bcec4799818d1f5ea41cc8a9\OUTPUT.shp,  
GEOMETRY =geometry, FIELD =TYPE, MULTI =False, FIELDS =False, COUNT  
=False, AREA =False, STATS =False, STATSATT =TYPE, OPTIONS =


GDAL command:

cmd.exe /C ogr2ogr.exe  
C:\Users\agraser\AppData\Local\Temp\processing\a44629a1c1f34bc4bf9d26ed974f2bb6\OUTPUTLAYERALGGDALOGRDISSOLVEPOLYGONS1.shp  
:\Users\agraser\AppData\Local\Temp\processing\7f77fa47bcec4799818d1f5ea41cc8a9\OUTPUT.sh  
OUTPUT -dialect sqlite -sql SELECT ST_Union(geometry),TYPE FROM  
'OUTPUT' GROUP BY TYPE -explodecollections

GDAL command output:

FAILURE:
Unable to open datasource  
`:\Users\agraser\AppData\Local\Temp\processing\7f77fa47bcec4799818d1f5ea41cc8a9\OUTPUT.sh'  
with the following drivers.

- ESRI Shapefile
- MapInfo File
- UK .NTF
- SDTS
- TIGER
- S57
- DGN
- VRT
- REC
- Memory
- BNA
- CSV
- NAS
- GML
- GPX
- KML
- GeoJSON
- Interlis 1
- Interlis 2
- GMT
- GPKG
- SQLite
- ODBC
- WAsP
- PGeo
- MSSQLSpatial
- OGDI
- PostgreSQL
- MySQL
- PCIDSK
- OpenFileGDB
- XPlane
- AVCBin
- AVCE00
- DXF
- Geoconcept
- GeoRSS
- GPSTrackMaker
- VFK
- PGDump
- OSM
- GPSBabel
- SUA
- OpenAir
- PDS
- WFS
- HTF
- AeronavFAA
- Geomedia
- EDIGEO
- GFT
- GME
- SVG
- CouchDB
- Idrisi
- ARCGEN
- SEGUKOOA
- SEGY
- XLS
- ODS
- XLSX
- ElasticSearch
- PDF
- Walk
- CartoDB
- SXF
Converting outputs

OK. Execution took 0.125 ms (1 outputs).

Model processed ok. Executed 2 algorithms total

Converting outputs

Loading resulting layers




--
Bernd Vogelgesang
Siedlerstraße 2
91083 Baiersdorf/Igelsdorf
Tel: 09133-825374___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] [Processing] Modeler-only tools : Calculator

2014-01-14 Thread rldhont

Hi dev,

I discovered the Modeler-only tools : Calculator and I would like to 
know how to use it.

Does anyone have documentation on this specific algorithm ?

In the algorithm ui, there is only :
'You can refer to model values in you formula, using single-letter 
variables, as follows:'


Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer