Re: [QGIS-Developer] Lat Lon Tools - Releasing for QGIS 2 and QGIS 3

2017-05-15 Thread Tom Chadwin
I'll probably do exactly that. v3.x for QGIS3, continue with v2.x for QGIS2. 



-
Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-Lat-Lon-Tools-Releasing-for-QGIS-2-and-QGIS-3-tp5320588p5320605.html
Sent from the QGIS - Developer mailing list archive at Nabble.com.
___
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 [1035] Lat Lon Tools approval notification.

2017-05-15 Thread noreply

Plugin Lat Lon Tools approval by pcav.
The plugin version "[1035] Lat Lon Tools 0.8.4" is now approved
Link: http://plugins.qgis.org/plugins/latlontools/
___
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] Lat Lon Tools - Releasing for QGIS 2 and QGIS 3

2017-05-15 Thread C Hamilton
I was able to successfully convert Lat Lon Tools to work with QGIS 3. The
code for QGIS 2 and 3 are incompatible so is it best to keep two parallel
developments going and to keep the release number for the QGIS 2 version at
the 0.8.x and start the release number for QGIS 3 at 1.0.0 and continue to
release both to the same plugin repo? What is the best practice?

Until QGIS 3 is officially released I probably won't release the QGIS 3
plugin as often as the QGIS 2 plugin.

Thanks!!!
___
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] [REGRESSION] Error inserting in a PostGIS view

2017-05-15 Thread Paolo Cavallini
Il 11/05/2017 17:09, Paolo Cavallini ha scritto:
> Hi all,
> with QGIS 2.18, when inserting records in a versioned view, created with
> DB Manager, I receive an error:
> 
> ERROR: cannot perform
> INSERT RETURNING on relation "version_current"
> 
> HINT: You need an unconditional ON INSERT DO INSTEAD rule with a
> RETURNING clause.
> 
> The same operation on the same view works smoothly on QGIS 2.14.
> Could anyone confirm the regression?

For the record: issue confirmed on other two DB, ticket opened:
https://issues.qgis.org/issues/16552
I'm available for further checking.
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] Survey for members of QGIS user groups

2017-05-15 Thread Jana Michalková
Dear devs,

if you are a member of any QGIS user groups worldwide, please feel free to
share your experiences and participate in QGIS USER GROUPS SURVEY 2017:

https://goo.gl/forms/zBGnZx8nFKxAjwOH2

Thank you very much in advance for your time and willingness.

Best regards

-- 
*Mgr. Jana Michalková*


Department of Geography and Applied Geoinformatics
Faculty of Humanities and Natural Sciences
University of Presov
17. novembra 1, 081 16 Presov, Slovakia
___
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] OTB 6 and Processing

2017-05-15 Thread Paolo Cavallini
Hi Alex,

Il 15/05/2017 13:19, Alexander Bruy ha scritto:

> I suggest not to rush with releasing and publishing any of the plugins.
> Please don't forget that QGIS 2.14, 2.16 and 2.18 still have all providers
> built in. For master I personally don't see any benefits in releasing
> Processing providers right now. These plugins will be broken most of the
> time as Processing suffers from major refactoring, QGIS API also is not
> stablized yet.
> 
> As Victor said, if someone wants to take ownership on R provider, I wlll be
> happy to move it. Otherwise I will try to do my best to keep it working.

thanks for this. I understand it may still be early for coding, unless
people @OTB have plans to support OTB6 also on 2.18 (if this is not too
complicated). I think it would however be good to start with the basics:
creating the repo/transferring owneship, etc.
In this way the work can start soon after the API have reasonably
stabilized (I imagine around June or July).
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

Re: [QGIS-Developer] Remaining "blocking" operations

2017-05-15 Thread Giovanni Manghi
> I was thinking about the DB Manager, when we launch a SQL query. Having an
> option to stop the query would be very nice (like PgAdmin where you can see
> the elapsed time and a button to stop the query etc)

+1M

not having the possibility to stop (without having to kill QGIS) long
queries and having the SQL blocking the main QGIS GUI is really a very
bad user experience compared to other tools that allow do the same
operations (ex. PGAdmin).

cheers!

-- G --
___
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-developer] [resolved] Qt4 asked when compiling current master

2017-05-15 Thread Raymond Nijssen

Thanks Pierre, I just ran into the same.

Should qt4-linguist-tools be added to the dependency list?

https://htmlpreview.github.io/?https://github.com/qgis/QGIS/blob/master/doc/INSTALL.html#toc6

Raymond



On 21-03-17 21:48, Pierre_Loicq wrote:

Pierre_Loicq wrote

Hello,

I am trying to compile current master on ubuntu 16.04. I have this error:

[ 99%] Generating ../output/i18n/qgis_bg.qm
lrelease: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/lrelease': No
such file or directory
lrelease: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/lrelease': No
such file or directory
i18n/CMakeFiles/translations.dir/build.make:97 : la recette pour la cible
« output/i18n/qgis_ar.qm » a échouée
make[2]: *** [output/i18n/qgis_ar.qm] Erreur 1
make[2]: *** Attente des tâches non terminées
i18n/CMakeFiles/translations.dir/build.make:101 : la recette pour la cible
« output/i18n/qgis_bg.qm » a échouée
make[2]: *** [output/i18n/qgis_bg.qm] Erreur 1
CMakeFiles/Makefile2:3686 : la recette pour la cible
« i18n/CMakeFiles/translations.dir/all » a échouée
make[1]: *** [i18n/CMakeFiles/translations.dir/all] Erreur 2
make[1]: *** Attente des tâches non terminées
[ 99%] Built target zzz-db_manager-5-depend
Makefile:160 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2

I don't know why Qt4 is asked here. ccmake configuration only talks about
Qt5

Thank you
Pierre


Resolved ! I used apt-file to know which package I had to install:
qt4-linguist-tools





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Qt4-asked-when-compiling-current-master-tp5310808p5313502.html
Sent from the QGIS - Developer mailing list archive at Nabble.com.
___
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] QGIS-Developer Digest, Vol 139, Issue 43

2017-05-15 Thread Andreas Plesch
Hi Paolo,


> Date: Mon, 15 May 2017 09:03:13 +0200
> From: Paolo Cavallini 
> To: qgis-developer@lists.osgeo.org
> Subject: Re: [QGIS-Developer] sharing processing models/scripts
>
> Il 15/05/2017 00:35, Andreas Plesch ha scritto:
> > There are multiple ways to to publish and advertise a collection of
> > processing scripts and models:
> >
> > 1) as a 'Resource': https://github.com/qgis/QGIS-Resources
> > 2) as an official downloadable script/model:
> > https://github.com/qgis/QGIS-Processing
> > 3) as a processing script collection
> > plugin: http://docs.qgis.org/2.18/en/docs/pyqgis_developer_
> cookbook/processing.html#id2
> > 4) manual downloading and
> > adding: https://github.com/andreasplesch/QGIS-X3D-Processing
> >
> > There advantages and drawbacks for each:
> >
> > 1) less well known since it requires installation of the Resource
> > Sharing plugin. Does not support processing models. Potential to be in
> > core. Potentially easy to add another collection.
>
> this will be in QGIS3. Work underway.
>
>
This is good to know. On github, I saw that there are plans to move the
plugin into core but it was not clear if there was a decision or how far
the idea progressed.
Best,
-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] how to find all features from original data in filtered layer

2017-05-15 Thread Richard Duivenvoorde


I have a TimeManager-handled layer, meaning a layer which has a filter 
on it based on a attribute 'time'. So the layer has a subsetString.


Say, the total hour based dataset is 24 hour, so I see 1 hour at a time 
(using TimeManager)


BUT now I want to select all features from the original/whole dataset 
based on another attribute (usecase: select 1 feature and find others 
based on the value of one attribute of that feature, and show the count 
in total set).


I tried something like:

l=iface.mapCanvas().currentLayer()
request = QgsFeatureRequest()
request.disableFilter()
it = l.getFeatures( request.setFilterExpression( u'"device" = 
\'NL1212\'' ) )

i=0
for f in it:
i += 1
print "{} {}".format(i, f['gml_id'])

But still I get just 1 result.

Looking into the api I found: 
layer.dataProvider().featureSource().getFeatures(), but that already has 
the subsetString set


Anybody a clue or workaround (loading the data a second time in a hidden 
layer??)


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

Re: [QGIS-Developer] OTB 6 and Processing

2017-05-15 Thread Alexander Bruy
Hi,

I suggest not to rush with releasing and publishing any of the plugins.
Please don't forget that QGIS 2.14, 2.16 and 2.18 still have all providers
built in. For master I personally don't see any benefits in releasing
Processing providers right now. These plugins will be broken most of the
time as Processing suffers from major refactoring, QGIS API also is not
stablized yet.

As Victor said, if someone wants to take ownership on R provider, I wlll be
happy to move it. Otherwise I will try to do my best to keep it working.

Just my 2c.

2017-05-15 11:56 GMT+03:00 Paolo Cavallini :
> Il 15/05/2017 10:53, Victor Olaya ha scritto:
>> Hi
>>
>> The repo with the plugin already extracted and prepared is in here
>>
>> https://github.com/volaya/qgis-otb-plugin
>
> Great, thanks Victor for the prompt reply.
> As said, ready to help with publication and testing.
> 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



-- 
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

[QGIS-Developer] Plugin [995] dzetsaka : Classification tool approval notification.

2017-05-15 Thread noreply

Plugin dzetsaka : Classification tool approval by pcav.
The plugin version "[995] dzetsaka : Classification tool 2.5" is now approved
Link: http://plugins.qgis.org/plugins/dzetsaka/
___
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] Postgis loading using COPY instead of INSERTS?

2017-05-15 Thread Régis Haubourg
Hi all,

I realized that QGIS only loads datasets to Postgres using INSERT commands,
which is very slow for big tables, and could propose to use COPY commands
with a parameter to choose how many rows are sent in each bulk COPY
command. (see [0])

I tested drag and drop in browser and dbmanager (in 2.18.7 and master) and
 couldn't find anything about that in the issues or the code base.

Did I miss something? Is there someone working in that area?

Thanks for your lights

Régis

[0] https://www.postgresql.org/docs/current/static/populate.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

Re: [QGIS-Developer] OTB 6 and Processing

2017-05-15 Thread Paolo Cavallini
Il 15/05/2017 10:53, Victor Olaya ha scritto:
> Hi
> 
> The repo with the plugin already extracted and prepared is in here
> 
> https://github.com/volaya/qgis-otb-plugin

Great, thanks Victor for the prompt reply.
As said, ready to help with publication and testing.
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

Re: [QGIS-Developer] OTB 6 and Processing

2017-05-15 Thread Victor Olaya
Hi

The repo with the plugin already extracted and prepared is in here

https://github.com/volaya/qgis-otb-plugin

IT hasn't been published in the plugin repo, though. I think the OTB
team was ready to take ownership, so if anyone tells me the user name
or group that will accept it, i will transfer this.

The OTB user days sounds great, but unfortunately, I will not be at
home during those days (there is the spanish foss4g on 1-2 june, and i
will stay in Spain after that to visit my family). In any case, we can
set up a meeting and i can go to meet the OTB team in Toulouse in a
different date.

Let me know what I can do to move the repo ownership, so we can have
the OTB plugin released ASAP

About the R provider, we are in the same situation. The plugin is in
Alex's github account, but if anyone from the R community wants to
take ownership and take care of managing and releasing it, I guess we
can move it.

Cheers


2017-05-15 10:43 GMT+02:00 Paolo Cavallini :
> Il 15/05/2017 10:24, Julien Michel ha scritto:
>
>>> Rashad, would you be willing to take ownership of that plugin?
>> I think OTB team as a whole would be glad to take ownership of that
>> plugin. Then we could add updates of the plugin tour release process and
>> ensure that it is always fresh and working. If this is ok four you, let
>> us know how to proceed.
>
> Great news, thanks.
> AFAICT the first step is creating the subplugin, taking the removed code
> from Processing. Probably Alex and/or Victor could give a hint on how to
> best do this.
>
> 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 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] OTB 6 and Processing

2017-05-15 Thread Paolo Cavallini
Il 15/05/2017 10:24, Julien Michel ha scritto:

>> Rashad, would you be willing to take ownership of that plugin?
> I think OTB team as a whole would be glad to take ownership of that
> plugin. Then we could add updates of the plugin tour release process and
> ensure that it is always fresh and working. If this is ok four you, let
> us know how to proceed.

Great news, thanks.
AFAICT the first step is creating the subplugin, taking the removed code
from Processing. Probably Alex and/or Victor could give a hint on how to
best do this.

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

Re: [QGIS-Developer] OTB 6 and Processing

2017-05-15 Thread Julien Michel

Le 15/05/2017 à 10:21, Paolo Cavallini a écrit :

Il 15/05/2017 10:13, Rashad Kanavath ha scritto:

* create an independent provider (sub-plugin of Processing) for OTB
* publish it on the official repo.
Rashad, would you be willing to take ownership of that plugin?
I think OTB team as a whole would be glad to take ownership of that 
plugin. Then we could add updates of the plugin tour release process and 
ensure that it is always fresh and working. If this is ok four you, let 
us know how to proceed.


Also, we have OTB users days 6-8 june @Toulouse, France, I think I 
rembember that Victor lives not so far from Toulouse, so he is (as well 
as anyone else who whants to join) most welcome to discuss this matter 
with dev team and users.


Regards,

Julien

--
Julien MICHEL
CNES - DSO/SI/2A

___
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] OTB 6 and Processing

2017-05-15 Thread Paolo Cavallini
Il 15/05/2017 10:13, Rashad Kanavath ha scritto:
> I had done some work in fixing some qgis otb stuff but was not
> integrated yet. These enhancements will reduce some code and improve otb
> processing.
> 
> We @CS had contacted Victor olaya regarding this in Jaunary 2017. He 
> had informed us about some major changes such as keeping all algorithms
> out of qgis processing plugin and some other stuff. since then there was
> not much communication and all those changes keep sitting on my backup
> disk like that..
> 
> I would be able to help if anyone willing to integrate these changes
> back and adding otb processing plugin.
> 
> regarding integration of QGIS-OTB, AFAIK, there is no plan or we simply
> don't know where to go.
> 
> we are very much interested to hear back from qgis developer team.

Thanks Rashad for your prompt reply. I think Victor, Alex, and Nyall
(who is refactoring Processing for QGIS 3 and porting it to C++) are in
the best position to reply.
From my point of view, I think I'll interpret the feelings and needs of
thousands of users saying that we cannot miss OTB from Processing. Same
for R, this has been raised recently on the mailing list.
I think the steps are:
* create an independent provider (sub-plugin of Processing) for OTB
* publish it on the official repo.
Rashad, would you be willing to take ownership of that plugin?
All the best, and thanks again.
-- 
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] OTB 6 and Processing

2017-05-15 Thread Paolo Cavallini
Hi all,
a new major version of OTB has been released. In the meantime, the OTB
provider has been removed from Processing on master.
Does anyone have a plan to keep the (very important IMHO) QGIS-OTB
integration working?
I'm available for help if necessary.
All the best, and thanks.
-- 
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 [135] mmqgis approval notification.

2017-05-15 Thread noreply

Plugin mmqgis approval by pcav.
The plugin version "[135] mmqgis 2017.5.14" is now approved
Link: http://plugins.qgis.org/plugins/mmqgis/
___
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] sharing processing models/scripts

2017-05-15 Thread Paolo Cavallini
Il 15/05/2017 00:35, Andreas Plesch ha scritto:
> There are multiple ways to to publish and advertise a collection of
> processing scripts and models:
> 
> 1) as a 'Resource': https://github.com/qgis/QGIS-Resources
> 2) as an official downloadable script/model:
> https://github.com/qgis/QGIS-Processing
> 3) as a processing script collection
> plugin: 
> http://docs.qgis.org/2.18/en/docs/pyqgis_developer_cookbook/processing.html#id2
> 4) manual downloading and
> adding: https://github.com/andreasplesch/QGIS-X3D-Processing
> 
> There advantages and drawbacks for each:
> 
> 1) less well known since it requires installation of the Resource
> Sharing plugin. Does not support processing models. Potential to be in
> core. Potentially easy to add another collection.

this will be in QGIS3. Work underway.
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