Re: [QGIS-Developer] [Qgis-community-team] QGIS documentation analitics?

2019-10-18 Thread Richard Duivenvoorde
On 18/10/2019 14.27, Alexandre Neto wrote:
> Hey Richard,
> 
> Good to "see" you. Can those apache logs be used to see which pages are
> more visited?

Well, yes, they are regular Apache logfile (on qgis2).
You need some analyzing scripts/software I'd think.

> Do you know if it's possible to create some google analytics for our sites?

Not something I would add :-) but if it is really needed, just add it to
the site/page template. Probably:

https://github.com/qgis/QGIS-Website/blob/master/themes/qgis-theme/page.html

> I wanted to know what is visited, and what is not.
> 
> Can you forward me one of those emails?

I forwarded some to you now.

I see they are sent to me personally (as in rich...@qgis.org), not sure
why that is because in the Google-site-console where we have all our
domain stuff I tried to NOT make things personal, but sent this kind of
stuff to admin or psc or so...

Do others with @qgis.org account these also?

Ah, I just logged in to the Google Search Console (never did...), and
the users I can see there are: Gary, Juergen and me.

I added all PSC members now, I think we can add you too, but want the
PSC to do that.

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] Frozen PR fixing a regression

2019-10-18 Thread Sandro Santilli
I've worked on https://github.com/qgis/QGIS/pull/31858
to fix regression-tagged bug https://github.com/qgis/QGIS/issues/26186
( PostGIS Data Loads Extemely Slow )

What's the policy here ? Could the PR still be merged ?
 
--strk; 
___
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] too much Windows desktop notifications ?

2019-10-18 Thread Régis Haubourg
Issue opened here https://github.com/qgis/QGIS/issues/32319

Regards

Le ven. 18 oct. 2019 à 15:34, Régis Haubourg
 a écrit :
>
> Thanks Harrissou for the confirmation.
> I'll open an issue.
> Régis
>
> Le ven. 18 oct. 2019 à 15:30, DelazJ  a écrit :
> >
> > Hi Régis,
> >
> > Interesting! Just today, I told myself that I should probably open an issue 
> > report to ask to "silent" these notifications that pop up too often.
> >
> > Regards,
> > Harrissou
> >
> > Le ven. 18 oct. 2019 à 15:19, Régis Haubourg  a 
> > écrit :
> >>
> >> Hi all,
> >> we have customers raising an interesting feedback. Windows
> >> notifications are now enable since 3.4 by this PR [0]
> >>
> >> In particular, the feature count notification is raising really often
> >> and overcrowding the notification popup. See image [1]
> >>
> >> Would that be an issue to remove those feature count notifications?
> >> Or should we provide notification settings to distinguish different
> >> notifications options as we have now?
> >>
> >> [0] 
> >> https://github.com/qgis/QGIS/commit/8876270c9f1098d6c0a626c28af10a0edd9cab49
> >> [1] http://i.imgur.com/Hzj85ov.png
> >>
> >> Regards
> >> Régis
> >> ___
> >> 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] too much Windows desktop notifications ?

2019-10-18 Thread Régis Haubourg
Thanks Harrissou for the confirmation.
I'll open an issue.
Régis

Le ven. 18 oct. 2019 à 15:30, DelazJ  a écrit :
>
> Hi Régis,
>
> Interesting! Just today, I told myself that I should probably open an issue 
> report to ask to "silent" these notifications that pop up too often.
>
> Regards,
> Harrissou
>
> Le ven. 18 oct. 2019 à 15:19, Régis Haubourg  a 
> écrit :
>>
>> Hi all,
>> we have customers raising an interesting feedback. Windows
>> notifications are now enable since 3.4 by this PR [0]
>>
>> In particular, the feature count notification is raising really often
>> and overcrowding the notification popup. See image [1]
>>
>> Would that be an issue to remove those feature count notifications?
>> Or should we provide notification settings to distinguish different
>> notifications options as we have now?
>>
>> [0] 
>> https://github.com/qgis/QGIS/commit/8876270c9f1098d6c0a626c28af10a0edd9cab49
>> [1] http://i.imgur.com/Hzj85ov.png
>>
>> Regards
>> Régis
>> ___
>> 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] too much Windows desktop notifications ?

2019-10-18 Thread DelazJ
Hi Régis,

Interesting! Just today, I told myself that I should probably open an issue
report to ask to "silent" these notifications that pop up too often.

Regards,
Harrissou

Le ven. 18 oct. 2019 à 15:19, Régis Haubourg  a
écrit :

> Hi all,
> we have customers raising an interesting feedback. Windows
> notifications are now enable since 3.4 by this PR [0]
>
> In particular, the feature count notification is raising really often
> and overcrowding the notification popup. See image [1]
>
> Would that be an issue to remove those feature count notifications?
> Or should we provide notification settings to distinguish different
> notifications options as we have now?
>
> [0]
> https://github.com/qgis/QGIS/commit/8876270c9f1098d6c0a626c28af10a0edd9cab49
> [1] http://i.imgur.com/Hzj85ov.png
>
> Regards
> Régis
> ___
> 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] too much Windows desktop notifications ?

2019-10-18 Thread Régis Haubourg
Hi all,
we have customers raising an interesting feedback. Windows
notifications are now enable since 3.4 by this PR [0]

In particular, the feature count notification is raising really often
and overcrowding the notification popup. See image [1]

Would that be an issue to remove those feature count notifications?
Or should we provide notification settings to distinguish different
notifications options as we have now?

[0] https://github.com/qgis/QGIS/commit/8876270c9f1098d6c0a626c28af10a0edd9cab49
[1] http://i.imgur.com/Hzj85ov.png

Regards
Régis
___
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 and QGIS

2019-10-18 Thread Rashad Kanavath


-Original Message-
From: QGIS-Developer [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf 
Of Sebastiaan Couwenberg
Sent: vendredi 18 octobre 2019 13:50
To: 'qgis-developer'
Subject: Re: [QGIS-Developer] OTB and QGIS

On 10/18/19 12:33 PM, Rashad Kanavath wrote:
> A simple fix would be to add otb-qgis as a dependency to "otb" package. This 
> must be done in debian package control!
That's not appropriate, though. otb doesn't require otb-qgis to function
correctly. More appropriate would be for python3-qgis-common to suggest
otb-qgis like it does saga.

That's great. Saga and otb are in same bucket as far as qgis is concerned. 

I agree +1

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
___
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-community-team] QGIS documentation analitics?

2019-10-18 Thread João Gaspar
Hi Richard and Alexandre,

if we do not have this kind of SEO such as Google Search Console, this can
be a good thing with Google Analytics. Google Search Console is a good
thing to have because is possible to improve research on browsers and rank
pages to first pages when we search for words that are related to qgis or
documentation itself. Will help us because this kind of SEO gives hints ad
tips to optimize de websites.

Another aspect, if we have Google Analytics in the documentation, this will
allow to have reports about geographic IP based distribution of users, type
of access, OS, type of device and what pages and click do the users in the
sites. This will allow us to see and give us feedback which pages are not
visited, pages that have a lot of access and create strategies to improve
pages and so on.

Google Search and Google Analytics don't have cost and we can integrate. We
don't need to create a google account for this they accept foreign emails.

Please let me know if you have any questions that I can try to help, I
recently needed to see this "kind of tricks" to improve a web platform that
I helped to develop.



Regards,
João



Richard Duivenvoorde  escreveu no dia sexta,
18/10/2019 à(s) 12:41:

> On 18/10/2019 12.46, Alexandre Neto wrote:
> > Do we have analytics on our documentation pages? how have access to it?
>
> I'm not aware of that, other then Apache logs.
>
> Others?
>
> We (as: ad...@qgis.org) every now and then receive a Google email that
> we can fix SEO things in their xyz-dashboard, but I never looked into this.
>
> Regards,
>
> Richard
>
> ___
> Qgis-community-team mailing list for organizing community resources such
> as documentation, translation etc..
> qgis-community-t...@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-community-team
___
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-community-team] QGIS documentation analitics?

2019-10-18 Thread Alexandre Neto
Hey Richard,

Good to "see" you. Can those apache logs be used to see which pages are
more visited?

Do you know if it's possible to create some google analytics for our sites?

I wanted to know what is visited, and what is not.

Can you forward me one of those emails?

Thanks!

On Fri, Oct 18, 2019 at 12:41 PM Richard Duivenvoorde 
wrote:

> On 18/10/2019 12.46, Alexandre Neto wrote:
> > Do we have analytics on our documentation pages? how have access to it?
>
> I'm not aware of that, other then Apache logs.
>
> Others?
>
> We (as: ad...@qgis.org) every now and then receive a Google email that
> we can fix SEO things in their xyz-dashboard, but I never looked into this.
>
> 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] Enable variables in QgsPropertyOverrideButton with python

2019-10-18 Thread Simon Gröchenig

Thank you for your help!

I try to implement a data defined button to select a feature subset for 
the DataPlotly plugin. You can see my code here:


https://github.com/SGroe/DataPlotly/blob/master/DataPlotly/gui/layout_item_gui.py

Unfortunately, when I click on the data defined button, it freezes a 
minute until QGIS crashes with the following error:


QList::QList qlist.h:809
QgsExpressionContext::variableNames qgsexpressioncontext.cpp:408
QgsPropertyOverrideButton::aboutToShowMenu qgspropertyoverridebutton.cpp:475
QMetaObject::activate :
QMenu::popup :
QMenu::exec :
QToolButton::paintEvent :
QToolButton::showMenu :
QToolButton::~QToolButton :

...

Do you have an idea why this happens?

Simon


Am 18.10.2019 um 01:07 schrieb Nyall Dawson:

On Fri, 18 Oct 2019 at 06:29, Simon Gröchenig
 wrote:

Hi,

I want to add a QgsPropertyOverrideButton to define a expression to filter 
features in a python plugin. Specifically, I want to filter the features using 
the @altas_feature variable. However, all variables are missing in the 
expression dialog.

Can anyone tell me how I can add the variables to the expression dialog?

Hi Simon,

This is all controlled via expression contexts. There's a few parts to
the puzzle:

1. Crafting an appropriate expression context using the individual
"scope" creation functions available through
QgsExpressionContextUtils. You generally start with a global, project
and layer scope, and then add additional scopes on top depending on
the "context" in which the expression will be evaluated.

So something like:

context = QgsExpressionContext()
context.appendScope( QgsExpressionContextUtils.globalScope() )
context.appendScope( QgsExpressionContextUtils.projectScope(
QgsProject.instance() ) )
context.appendScope( QgsExpressionContextUtils.atlasScope( None ) )
context.appendScope( QgsExpressionContextUtils.mapSettingsScope(
iface.mapCanvas() ) )

OR -- depending on the context -- you can get a pre-made context given
straight to you. E.g. if the expression evaluation is occurring inside
a layout item, then you must use

context = item.createExpressionContext()

instead of making your own.

So this part is very dependant on the "context" in which the
expression will be evaluated.

2. Make your dialog or widget which contains the button implement the
QgsExpressionContextGenerator interface.

3. Register your dialog/widget as the context generator for the button
by calling something like

button.registerExpressionContextGenerator( dialog )


Nyall







Regards,
Simon

___
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


--
Simon Gröchenig MSc
MOWI - Mobile and Web-based Information Systems

Salzburg Research Forschungsgesellschaft mbH
Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
T: +43.662.2288-314
simon.groeche...@salzburgresearch.at
http://www.salzburgresearch.at

___
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] Detailed error information from processing.run

2019-10-18 Thread Etienne Trimaille
You need to create your own QgsProcessingFeedback object instead of using
the default feedback.
Check this answer: https://gis.stackexchange.com/a/310947/24505

Le ven. 18 oct. 2019 à 12:26, Tejas L  a écrit :

> Hello Devs,
>
> I would like to get a detailed error messages when processing.run fails.
> For: e.g. in code like ths
>
> try:
>   buffered_layer = processing.run(..., context, feedback)['OUTPUT']
> except QgsProcessingException as e:
>print (e)  // 'There were errors executing the algorithm.'
>
> The exception message is very generic. The processing log window does show
> a more detailed message like: "GEOS processing error: intersection failed".
>
> Could the detailed message also be made available in the exception?
>
> Regards,
> Tej
>
> ___
> 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 and QGIS

2019-10-18 Thread Sebastiaan Couwenberg
On 10/18/19 12:33 PM, Rashad Kanavath wrote:
> A simple fix would be to add otb-qgis as a dependency to "otb" package. This 
> must be done in debian package control!
That's not appropriate, though. otb doesn't require otb-qgis to function
correctly. More appropriate would be for python3-qgis-common to suggest
otb-qgis like it does saga.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
___
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-community-team] QGIS documentation analitics?

2019-10-18 Thread Richard Duivenvoorde
On 18/10/2019 12.46, Alexandre Neto wrote:
> Do we have analytics on our documentation pages? how have access to it?

I'm not aware of that, other then Apache logs.

Others?

We (as: ad...@qgis.org) every now and then receive a Google email that
we can fix SEO things in their xyz-dashboard, but I never looked into this.

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] GDAL Points along lines in processing cannot open Geopackage

2019-10-18 Thread magerlin
It tries a load of drivers to opgen Geopackage but fails:





-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.8.0 in parallel
Windows 7, 64bit
--
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

Re: [QGIS-Developer] QGIS WFS3 Server temporal intervals

2019-10-18 Thread Alessandro Pasotti
On Fri, Oct 18, 2019 at 1:19 PM Even Rouault 
wrote:

> On vendredi 18 octobre 2019 12:28:12 CEST Alessandro Pasotti wrote:
> > Hi,
> >
> > I was thinking about how to better implement this feature for QGIS server
> > (but it does not need to be restricted to the server).
> >
> > The WFS3 specs covers pretty much all use cases: you can have features
> with
> > a single date/datetime temporal property and a set of date/datetime
> > properties, the latter case can (not "must"!)  be used to define one (or
> > many) date/datetime intervals.
> >
> > Now, the specs say that it's up to the server to decide if only a single
> > property has to be considered when querying or if multiple properties
> have
> > to be combined together to create one (or many) intervals. But since we
> > code the server it means that it's up to us to decide how to handle it.
> >
> > Note that the conditions need to be AND(ed) and unless properties values
> > are equal this does make sense only when multiple properties are combined
> > to form intervals.
> >
> > So, the question is how to model this in QGIS?
> >
> > Since this information may spread over multiple fields, I think it should
> > go into the QgsVectorLayer class (or some separate temporal settings
> > companion class/struct).
>
> Hi Alessandro,
>
>
Hi Even,

Are you thinking to scenarios like a layer would have an "eventStart" and
> "eventEnd" timestamps and you would want them to be considered together
> when
> an incoming request with a datetime=request_begin/request_end interval
> arrives, so as to only select features whose eventStart <= request_end and
> eventEnd >= requestbegin ?
>


Yes, but not limited to a single pair of  eventStart/eventEnd: we might
have
more intervals and since the specs talk about "overlap" operator I can
imagine that it would
make sense and work to search simultaneously on several intervals.


> Your above proposal makes sense, but involves complication.


Yes:  plenty of complications :)


> I think it might
> be wise to wait a bit before designing this, beause filtering is going to
> be
> the main topic of the next OAPIF Hackathon in November (
> https://www.opengeospatial.org/events/191105apisprint ), so an extension
> with
> more complex/complete filtering (probably similar to what FES offers) is
> likely to be created. So I can imagine that it would offer the possibility
> to
> explicitly filter on multiple datetime properties. Yet that wouldn't solve
> the
> issue with the datetime filtering capability of OAPIF core, but perhaps
> for
> core, we could adopt a simple solution, like use the first datetime field
> of
> the layer by default, unless the user (QGIS server admin) selects another
> one.
> And if more complex behaviour is desired, then OAPIF clients would use the
> filter extension to be able to combine filters on several fields.
>

That makes perfectly sense to me, I'll take this route for now and take the
first date/datetime field for filtering
**and** allow the user to configure explicitly one (or more) filtering
fields from the GUI.

What I will NOT implement for now, is interval search on the target
features (which is the most complicated part).


And thank you for your feedback!

-- 
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] QGIS WFS3 Server temporal intervals

2019-10-18 Thread Even Rouault
On vendredi 18 octobre 2019 12:28:12 CEST Alessandro Pasotti wrote:
> Hi,
> 
> I was thinking about how to better implement this feature for QGIS server
> (but it does not need to be restricted to the server).
> 
> The WFS3 specs covers pretty much all use cases: you can have features with
> a single date/datetime temporal property and a set of date/datetime
> properties, the latter case can (not "must"!)  be used to define one (or
> many) date/datetime intervals.
> 
> Now, the specs say that it's up to the server to decide if only a single
> property has to be considered when querying or if multiple properties have
> to be combined together to create one (or many) intervals. But since we
> code the server it means that it's up to us to decide how to handle it.
> 
> Note that the conditions need to be AND(ed) and unless properties values
> are equal this does make sense only when multiple properties are combined
> to form intervals.
> 
> So, the question is how to model this in QGIS?
> 
> Since this information may spread over multiple fields, I think it should
> go into the QgsVectorLayer class (or some separate temporal settings
> companion class/struct).

Hi Alessandro,

Are you thinking to scenarios like a layer would have an "eventStart" and 
"eventEnd" timestamps and you would want them to be considered together when 
an incoming request with a datetime=request_begin/request_end interval 
arrives, so as to only select features whose eventStart <= request_end and 
eventEnd >= requestbegin ?

Your above proposal makes sense, but involves complication. I think it might 
be wise to wait a bit before designing this, beause filtering is going to be 
the main topic of the next OAPIF Hackathon in November (
https://www.opengeospatial.org/events/191105apisprint ), so an extension with 
more complex/complete filtering (probably similar to what FES offers) is 
likely to be created. So I can imagine that it would offer the possibility to 
explicitly filter on multiple datetime properties. Yet that wouldn't solve the 
issue with the datetime filtering capability of OAPIF core, but perhaps for 
core, we could adopt a simple solution, like use the first datetime field of 
the layer by default, unless the user (QGIS server admin) selects another one. 
And if more complex behaviour is desired, then OAPIF clients would use the 
filter extension to be able to combine filters on several fields.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.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

Re: [QGIS-Developer] OTB and QGIS

2019-10-18 Thread Rashad Kanavath


-Original Message-
From: QGIS-Developer [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf 
Of matteo
Sent: vendredi 18 octobre 2019 11:27
To: qgis-developer
Subject: [QGIS-Developer] OTB and QGIS

Hi guys,

I found quite "difficult" to had OTB working within Processing. In Linux
I had to install (OTB of course) and another package (otb-qgis) and then
it appears in the Processing providers and seems now working.

This maybe a bug.

Otb-qgis package provides tools to generate descriptor files for otb 
alogirthms. 
OTB processing provider uses this tool only if it cannot find a descriptor file 
which should be in package by default. 

Good news is if there is otb-qgis package installed, it is able to create them 
on the fly and everything works.

A simple fix would be to add otb-qgis as a dependency to "otb" package. This 
must be done in debian package control!


> Are there any specific instructions to have it installed, also in Windows 
> environments?

OTB  installation on windows is Download  and extract zip file from 
orfeo-toolbox.org/packages/

6.6.1 is latest https://www.orfeo-toolbox.org/packages/OTB-6.6.1-Win64.zip

You  can simply change location of OTB-X.Y.Z-Linux64 shown in README.md[1]  
with  your OTB windows archive.

Idea:
Add download and extract of OTB into qgis windows installer?. Can be optional 
like GRASS. So windows users won't have to go through any stuff.


> If yes, could it be a good idea to add these instructions in the 
> documentation?

Do you mean in qgis documentation ?

Configuration instructions are detailed in README.md[1]. Maybe this could show 
as help dialog in qgis ?

Not just for OTB, other providers can benefit from it.

https://gitlab.orfeo-toolbox.org/orfeotoolbox/qgis-otb-plugin/blob/master/README.md#open-processing-settings


Cheers and thanks

Matteo
___
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] QGIS documentation analitics?

2019-10-18 Thread Alexandre Neto
Hello all,

Sorry for the cross-posting. The last QGIS survey pointed to some users
having problems in finding the right documentation pages, and that we
should improve our SEO.

I would like to start looking into that.

Do we have analytics on our documentation pages? how have access to it?

Thanks!

Alexandre Neto
___
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] QGIS WFS3 Server temporal intervals

2019-10-18 Thread Alessandro Pasotti
Hi,

I was thinking about how to better implement this feature for QGIS server
(but it does not need to be restricted to the server).

The WFS3 specs covers pretty much all use cases: you can have features with
a single date/datetime temporal property and a set of date/datetime
properties, the latter case can (not "must"!)  be used to define one (or
many) date/datetime intervals.

Now, the specs say that it's up to the server to decide if only a single
property has to be considered when querying or if multiple properties have
to be combined together to create one (or many) intervals. But since we
code the server it means that it's up to us to decide how to handle it.

Note that the conditions need to be AND(ed) and unless properties values
are equal this does make sense only when multiple properties are combined
to form intervals.

So, the question is how to model this in QGIS?

Since this information may spread over multiple fields, I think it should
go into the QgsVectorLayer class (or some separate temporal settings
companion class/struct).


We can also think to handle "open" intervals, where only one of the
lower/upper values are defined.

I was thinking at a new struct to hold a pair of field names and their role
within the interval and store them as QgsVectorLayer property

To represent a single point-in-time value we could still use an interval
where begin and end are the same field.

Any idea or comment?

(or maybe we do need a QEP?)


-- 
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] Detailed error information from processing.run

2019-10-18 Thread Tejas L
Hello Devs,

I would like to get a detailed error messages when processing.run fails.
For: e.g. in code like ths

try:
  buffered_layer = processing.run(..., context, feedback)['OUTPUT']
except QgsProcessingException as e:
   print (e)  // 'There were errors executing the algorithm.'

The exception message is very generic. The processing log window does show a 
more detailed message like: "GEOS processing error: intersection failed".

Could the detailed message also be made available in the exception?

Regards,
Tej

___
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 and QGIS

2019-10-18 Thread Paolo Cavallini
Hi all,
I have otb-qgis installed, and in my self-compiled 3.8 and master the
otb algs appear.
Cheers.

On 18/10/19 11:27, matteo wrote:
> Hi guys,
> 
> I found quite "difficult" to had OTB working within Processing. In Linux
> I had to install (OTB of course) and another package (otb-qgis) and then
> it appears in the Processing providers and seems now working.
> 
> Are there any specific instructions to have it installed, also in
> Windows environments?
> 
> If yes, could it be a good idea to add these instructions in the
> documentation?
> 
> Cheers and thanks
> 
> Matteo
> ___
> 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
> 

-- 
Paolo Cavallini - www.faunalia.eu
QGIS.ORG Chair:
http://planet.qgis.org/planet/user/28/tag/qgis%20board/
___
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 and QGIS

2019-10-18 Thread matteo
Hi guys,

I found quite "difficult" to had OTB working within Processing. In Linux
I had to install (OTB of course) and another package (otb-qgis) and then
it appears in the Processing providers and seems now working.

Are there any specific instructions to have it installed, also in
Windows environments?

If yes, could it be a good idea to add these instructions in the
documentation?

Cheers and thanks

Matteo
___
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 [534] postgisQueryBuilder approval notification.

2019-10-18 Thread noreply

Plugin postgisQueryBuilder approval by zimbogisgeek.
The plugin version "[534] postgisQueryBuilder 1.7.4" is now approved
Link: http://plugins.qgis.org/plugins/postgisQueryBuilder/
___
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 [534] postgisQueryBuilder approval notification.

2019-10-18 Thread noreply

Plugin postgisQueryBuilder approval by zimbogisgeek.
The plugin version "[534] postgisQueryBuilder 2.0.1" is now approved
Link: http://plugins.qgis.org/plugins/postgisQueryBuilder/
___
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 [1854] Hugin QGIS approval notification.

2019-10-18 Thread noreply

Plugin Hugin QGIS approval by zimbogisgeek.
The plugin version "[1854] Hugin QGIS 1.1 Experimental" is now approved
Link: http://plugins.qgis.org/plugins/hugin_qgis/
___
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 [1364] UMEP approval notification.

2019-10-18 Thread noreply

Plugin UMEP approval by zimbogisgeek.
The plugin version "[1364] UMEP 3.10.4" is now approved
Link: http://plugins.qgis.org/plugins/UMEP/
___
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 [1237] BoundaryDelineation approval notification.

2019-10-18 Thread noreply

Plugin BoundaryDelineation approval by zimbogisgeek.
The plugin version "[1237] BoundaryDelineation 8.0" is now approved
Link: http://plugins.qgis.org/plugins/BoundaryDelineation/
___
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