Re: [QGIS-Developer] QGIS virtual layer incredibly slow

2020-04-16 Thread Hugo Mercier
Hi, Sorry for the delay. In the case of ST_Intersects, which is symmetric, there is no particular order to follow. Both orders should work. where st_intersects(lie.geometry, tbap.Geometry) AND lie._search_frame_ = tbap.geometry means: "for each geometry of tbap, compute its bounding box,

Re: [QGIS-Developer] Explicit policy re bug fixing responsibilities after new features

2020-03-11 Thread Hugo Mercier
Hi, Thanks Nyall for this proposal. I agree this rule should be more explicit. For professional developers, the maintenance cost of their new features should be included somehow in the price. A more explicit rule like this could help to support the message. For what it's worth I personaly feel

Re: [QGIS-Developer] Frozen PR fixing a regression

2019-10-21 Thread Hugo Mercier
Hi Sandro, On 18/10/2019 16:31, Sandro Santilli wrote: > 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 ? I am in a

Re: [QGIS-Developer] [FEATURE] Selective masking #30747

2019-10-09 Thread Hugo Mercier
uys, > > First time on this list after attending foss4g (: > > I was looking for this PR by Hugo Mercier to get merged: > https://github.com/qgis/QGIS/pull/30747 > > But it looks like things fell a bit between the chairs, as the feedback > was OK (after a few rounds of comments). Can

Re: [QGIS-Developer] Status of CDash ?

2019-07-30 Thread Hugo Mercier
On 30/07/2019 11:24, Nyall Dawson wrote: > On Tue, 30 Jul 2019 at 19:10, Hugo Mercier wrote: >> >> Hi, >> >> I use to look at the tinyurl link provided in Travis builds to find >> differences in test control images. >> >> But on recent builds (h

[QGIS-Developer] Status of CDash ?

2019-07-30 Thread Hugo Mercier
Hi, I use to look at the tinyurl link provided in Travis builds to find differences in test control images. But on recent builds (https://travis-ci.org/qgis/QGIS/jobs/564996917), the URL gives a blank page. When trying to browse from https://dash.orfeo-toolbox.org/index.php?project=QGIS I

Re: [QGIS-Developer] QGIS virtual layer incredibly slow

2019-05-06 Thread Hugo Mercier
be interesting to know. > > Greetings, > > Andreas > > PS: with the 40 seconds before I thought - well - I as a slow human > might be even faster than that stupid computer. Who knows ... I could > have been faster! Now with Hugos hint is also a sub-s

Re: [QGIS-Developer] QGIS virtual layer incredibly slow

2019-05-02 Thread Hugo Mercier
Hi, One big difference between spatialite and PostGIS is that PostGIS is able to use spatial indexes transparently, while spatialite cannot. Could you try with something like " ... AND lie._search_frame_ = tbap.geometry" ? On 02/05/2019 11:02, Andreas Neumann wrote: > Hi, > > One of my

Re: [QGIS-Developer] Vertex tool and cache invalidation

2019-01-24 Thread Hugo Mercier
Hi Martin, On 23/01/2019 23:02, Martin Dobias wrote: > Hi Hugo > > (finally coming back to the earlier thread now) > > On Mon, Jan 7, 2019 at 4:14 PM Hugo Mercier wrote: >>> >>> Are the issues you mentioned solved now by your PR >>> https://github.com/

Re: [QGIS-Developer] Why is .qgz the default format?

2019-01-21 Thread Hugo Mercier
Hi, On 21/01/2019 14:19, Régis Haubourg wrote: > Hi all, > > The initial plan - discussed some years ago on the lists - was to have a > container so that we can embed resources along the project file, and > open the door to a lot of nice features for sharing qgis projects. > The auxiliary data

Re: [QGIS-Developer] Vertex tool and cache invalidation

2019-01-07 Thread Hugo Mercier
nt extent. But usually geometry editions are made at a high level of details, when a few geometry features are visible. Is a cache still needed if we somehow enforce the edition to be allowed only at small scale ? > > Cheers > Martin > > On Tue, Dec 18, 2018 at 9:30 AM Hugo Mer

[QGIS-Developer] Vertex tool and cache invalidation

2018-12-18 Thread Hugo Mercier
Hi, I am facing some issues with the vertex tool of 3.x. In 2.18 the "node tool" was working by clicking first on a geometry to select it or its vertices and then displace them. With the new "vertex tool", there is no more first click involved and geometries are "selected" when the mouse

Re: [QGIS-Developer] QGIS web client alternatives

2018-12-11 Thread Hugo Mercier
On 11/12/2018 07:51, Andreas Neumann wrote: > Hi, > > For a presentation I want to list all existing web clients specializing > in collaboration with QGIS-Server. > > I know that there is: > > * QWC2: https://github.com/qgis/qwc2-demo-app > * Lizmap: https://www.lizmap.com/en/ > > but

Re: [QGIS-Developer] Calling for assistance - Windows MVSC builds not catching GEOS exceptions?

2018-03-02 Thread Hugo Mercier
Hi Nyall, I know there are some issues when an exception is thrown from a DLL compiled with a different runtime version (i.e. different compiler version) than the DLL/EXE trying to catch it. https://stackoverflow.com/questions/5107948/throwing-c-exceptions-across-dll-boundaries Could it be the

Re: [QGIS-Developer] Status of transaction support in Geopackages

2018-02-27 Thread Hugo Mercier
Hi Mark, On 27/02/2018 11:12, Mark Johnson wrote: >>> that we get rid of the current provider and rely on GDAL only. > > With the 'current provider' I assume you mean the Spatialite-Provider. > > Please remember that the Spatialite-Provider was never designed to > support GeoPackage. > >

Re: [QGIS-Developer] Windows compilation infrastructure

2018-02-20 Thread Hugo Mercier
Hi Tim, On 17/02/2018 21:25, Tim Sutton wrote: > Hi Hugo > > Let me join the others in thanking you for working on this. Are we on a > trajectory where we can reduce the rather complex setup process down to > a script or similar that will produce a working compilation environment? > That would

Re: [QGIS-Developer] Windows compilation infrastructure

2018-02-20 Thread Hugo Mercier
Hi Paolo, On 16/02/2018 17:00, Paolo Cavallini wrote: > Il 16/02/2018 15:54, Hugo Mercier ha scritto: >> Hi, >> >> Following my announcement on the osgeo4w-dev mailing list [1], I would >> like to let you know that we now have a mirror to the OSGEO4W >> distribut

[QGIS-Developer] Windows compilation infrastructure

2018-02-16 Thread Hugo Mercier
Hi, Following my announcement on the osgeo4w-dev mailing list [1], I would like to let you know that we now have a mirror to the OSGEO4W distribution up and running on: http://osgeo4w-oslandia.com/mirror/ We also provide some additional packages (including PostgreSQL and PostGIS for instance)

Re: [QGIS-Developer] QGIS 3 layout: conversion from old template format ?

2018-02-06 Thread Hugo Mercier
Cheers > > > On Tue, Feb 6, 2018 at 2:01 PM, Hugo Mercier <hugo.merc...@oslandia.com > <mailto:hugo.merc...@oslandia.com>> wrote: > > Hi, > > I have a project with lots of composer templates that have been designed > before the new "la

Re: [QGIS-Developer] The need for intuitive complex feature edit support in QGIS 3+

2018-01-09 Thread Hugo Mercier
Hi Rui, Co-author of the mentioned "GML application schema toolbox" plugin here :) The people who first launched this plugin have similar goals I think (I added Sylvain from BRGM in cc). Even if this is still small (we are at a second iteration where the first was a proof of concept), some

Re: [QGIS-Developer] Future of OSM integration

2017-10-12 Thread Hugo Mercier
On 12/10/2017 14:27, Stefan Keller wrote: > 2017-10-12 11:43 GMT+02:00 Hugo Mercier <hugo.merc...@oslandia.com>: >> On 12/10/2017 11:30, Stefan Keller wrote: > ... >> Support for hstore columns in qgis 3 for example could be reused in some > > Yes, I'm excited to

Re: [QGIS-Developer] Future of OSM integration

2017-10-12 Thread Hugo Mercier
Hi, On 12/10/2017 11:30, Stefan Keller wrote: > Hi, > > 2017-10-12 10:29 GMT+02:00 Lbartoletti : >> I can't write a solution but, personnally (and others I think ;)) , my >> little ‎dream is that QGIS replace JOSM to edit OSM data. > > Well, that will stay a dream,

Re: [QGIS-Developer] Editable CSV files

2017-07-19 Thread Hugo Mercier
On 20/07/2017 00:09, Nyall Dawson wrote: > On 20 July 2017 at 00:35, Andreas Neumann wrote: >> Hi all, >> >> Thanks all for your feedback. The "Add delimited text" way of loading CSV >> data is a lot more powerful and more flexible than the OGR way. So I would >> really

Re: [Qgis-developer] [Qgis-user] QGIS X3D processing

2017-03-27 Thread Hugo Mercier
Hi Martin, On 27/03/2017 11:21, Martin Dobias wrote: > > I have been playing with Qt 3D module recently and submitted a grant > proposal for native 3D support in QGIS. Here is my repo with a simple > 3D rendering of a DEM with aerial imagery: > > https://github.com/wonder-sk/qgis3d > Nice !

Re: [Qgis-developer] QgsGeometry, Geos and SFCGAL

2017-03-14 Thread Hugo Mercier
On 11/03/2017 04:26, Nyall Dawson wrote: > On a related note - I once nearly did the work of allowing calling > SFCGAL methods on QgsGeometry, but stopped only after I realised I'd > mis-read the CGAL docs and that the particular method I was looking > for wasn't available. I was looking for a

Re: [Qgis-developer] QgsGeometry, Geos and SFCGAL

2017-03-14 Thread Hugo Mercier
Hi, Thanks for the discussion. SFCGAL is interesting for algorithms that are not yet present in other geometry backends. Especially when dealing with 3D geometries. We understand very well concerns that have been raised here. For information, we are aware of some issues with SFCGAL that we

Re: [Qgis-developer] Adding buttons to the attribute table toolbar

2016-08-31 Thread Hugo Mercier
of the attribute table - not for every feature. > > Thanks, > > Andreas > > On 2016-08-31 11:33, Hugo Mercier wrote: > >> Hi Andreas, >> >> I think you can create Python-based actions and use the new option "show >> them in the attribute table"

Re: [Qgis-developer] Adding buttons to the attribute table toolbar

2016-08-31 Thread Hugo Mercier
Hi Andreas, I think you can create Python-based actions and use the new option "show them in the attribute table" On 31/08/2016 09:27, Neumann, Andreas wrote: > Hi, > > Is it possible to add my own buttons to the toolbar of the attribute > table window? > > If yes - do you have some sample

Re: [Qgis-developer] QGIS for INSPIRE

2016-07-06 Thread Hugo Mercier
Hi, Good to know you will start this work. What do you mean by "Custom types widgets, per type" ? For those interested, we've been working on a QGIS plugin to import Complex Features XML in QGIS in a similar way (but using a pure python approach to convert from XSD to a relational model). See

Re: [Qgis-developer] custom charts?

2016-06-24 Thread Hugo Mercier
857939,-0.121208 2.4849709,-3.285023 > 5.3970119,-3.017097 3.079402,0.283325 2.518907,6.965981 > 6.783374,7.088215 4.047473,0.116014 6.797316,8.50238 6.797316,8.50238" >id="path3763" > > style="fill:none;stroke:#a32800;stroke-width:1.6002;stroke-linecap:butt;stroke-linejoin:mi

Re: [Qgis-developer] custom charts?

2016-06-24 Thread Hugo Mercier
looking for, but somehow could not find. >> >> Here is a little example with some fake svg's: >> >> http://terglobo.nl/downloads/example.png >> >> Now I will script generating svg based on real data. >> >> Regards, >> Raymond >&

Re: [Qgis-developer] custom charts?

2016-06-23 Thread Hugo Mercier
On 22/06/2016 19:06, Richard Duivenvoorde wrote: > On 22-06-16 14:39, Hugo Mercier wrote: >> Hi Raymond, >>> - Add a text field to my feature layer containig svg, and somehow make >>> qgis display that on my map; >> >> This should work, no ? > >

Re: [Qgis-developer] custom charts?

2016-06-22 Thread Hugo Mercier
Hi Raymond, On 22/06/2016 14:19, Raymond Nijssen wrote: > Dear developers, > > Can I somehow show custom images for each point feature on a map, > similar to the layer diagrams? > > Having locations with a few sensor values, I'd like to generate a custom > image for every feature (for example

Re: [Qgis-developer] Travis status information

2016-06-03 Thread Hugo Mercier
Thanks a lot ! On 03/06/2016 15:47, Matthias Kuhn wrote: > I have switched the travis builds to GCC so we are independent of the > availability of clang apt repositories for now. > > I have also updated most of the missing bindings and API docs that are > currently causing the tests to fail, the

Re: [Qgis-developer] Python: drop z/m values

2016-03-30 Thread Hugo Mercier
Hi, On 29/03/2016 13:00, Tom Chadwin wrote: > Currently, I detect the geometry type of input layers (which the user > supplies, so they could be anything) with layer.wkbType(). This fails > (returning -2147483646) if the input layer has z/m values (and will probably > also fail with eg curved

Re: [Qgis-developer] Proposed plan to fix issue with concurrent opening of OGR datasources (aka QGIS and MapInfo)

2016-03-22 Thread Hugo Mercier
On 22/03/2016 12:11, Even Rouault wrote: >>> True. >>> But you can also directly access the provider update methods without >>> edit buffers and without startEditing / commitChanges. >> >> Good point. I didn't think at that use case of direct access to the >> provider API. >> >>> ... but after

Re: [Qgis-developer] Proposed plan to fix issue with concurrent opening of OGR datasources (aka QGIS and MapInfo)

2016-03-22 Thread Hugo Mercier
On 22/03/2016 11:27, Even Rouault wrote: >>> - go back to read-only mode when the user exists the edition mode (this >>> would need a new method in the QgsVectorDataProvider API to warn about >>> that, since the provider has currently no way of knowing that) >> >> Thank you for taking care of

Re: [Qgis-developer] Proposed plan to fix issue with concurrent opening of OGR datasources (aka QGIS and MapInfo)

2016-03-22 Thread Hugo Mercier
Hi Even, On 22/03/2016 10:31, Even Rouault wrote: > Hi, > > I'm considering addressing an issue that mainly involves concurrent use of a > MapInfo TAB dataset by QGIS and MapInfo, as described in > https://hub.qgis.org/issues/14378, although the planned fix would be a bit > more > general. >

Re: [Qgis-developer] FOSS4G Bonn QGIS presentations

2016-03-21 Thread Hugo Mercier
Hi, Marco, does this "QGIS - what's new" presentation cover plans/directions/wishes for QGIS 3.x or is it more focused on the last features added recently ? That would be a good thing to have a talk about the future of QGIS, as mentioned by Andreas. We may propose something if nobody takes it.

Re: [Qgis-developer] Aggregates within expression engine

2016-03-16 Thread Hugo Mercier
On 16/03/2016 09:21, Nyall Dawson wrote: > On 16 March 2016 at 19:15, Hugo Mercier <hugo.merc...@oslandia.com> wrote: >> Hi, >> >> Just for me to understand: why not considering improving a bit the >> virtual layers ? >> >> There is already a support

Re: [Qgis-developer] Aggregates within expression engine

2016-03-16 Thread Hugo Mercier
Hi, Just for me to understand: why not considering improving a bit the virtual layers ? There is already a support for user defined aggregate functions. Caching of the computed aggregate is already done by the engine (I guess). And we could add some functions to restrict the query to the

Re: [Qgis-developer] Questions/Suggestion on virtual layers

2016-03-15 Thread Hugo Mercier
Hi, On 03/03/2016 13:14, Hugo Mercier wrote: > I'll try to look at the documentation and small usability issues listed > in this thread soon. > Fixes for some issues discussed here are coming (https://github.com/qgis/QGIS/pull/2915) About inserting double quotes around table nam

Re: [Qgis-developer] create geometry less memory layer

2016-03-07 Thread Hugo Mercier
Hi, On 07/03/2016 14:59, matteo wrote: > Hi Andreas, > >> Hi Matteo, >> >> Which version of QGIS? > > QGIS 2.15 dev > >> Starting from 2.14 you can uncheck the checkbox "Geometry tpye and CRS" >> and the result will be a scratch layer without geometry. After creation, >> you can add

Re: [Qgis-developer] Questions/Suggestion on virtual layers

2016-03-03 Thread Hugo Mercier
On 03/03/2016 13:22, Bernhard Ströbl wrote: > Hi Hugo, > > Am 03.03.2016 um 13:14 schrieb Hugo Mercier: >> Hi, >> >> Adding double quotes when the table name contains dots and is inserted >> from the completion dialog would help, sure. Thanks for the feedback. >

Re: [Qgis-developer] Questions/Suggestion on virtual layers

2016-03-03 Thread Hugo Mercier
the tooltip that if one runs into problems, double quoting layers' > and fields' names might solve issues. Better would be to already have > them double quoted if inserted from the pop-up list. > Should I open a ticket? > > Very cool feature, though! > > Bernhard > > &g

Re: [Qgis-developer] Questions/Suggestion on virtual layers

2016-03-02 Thread Hugo Mercier
Hi Andreas, On 02/03/2016 16:27, Neumann, Andreas wrote: > Hi, > > I am experimenting with the virtual layers. They are quite cool! > > I have some suggesions/questions: > > > > 1. It would be nice to have a preview of my query results. Currently it > is either it works - or not. If it

Re: [Qgis-developer] twkb (Tiny WKB) in QGIS?

2016-03-02 Thread Hugo Mercier
Hi, This is interesting. But I am pretty sure the possible gain in speed greatly depends on multiple other factors. In some scenarios, computing deltas in geometry coordinates may take time compared to a direct access to numbers represented by raw doubles. That would be an interesting addition

Re: [Qgis-developer] Changelog: comments in description

2016-03-02 Thread Hugo Mercier
Hi, I am the author of this feature. So, sorry for the lack of reaction :/ and thank you for fixing the changelog entry ! On 01/03/2016 16:17, DelazJ wrote: > There's a pending PR :) at https://github.com/qgis/QGIS-Website/pull/319 > > 2016-03-01 15:30 GMT+01:00 Yves Jacolin

Re: [Qgis-developer] Help us plan for QGIS 3.0

2016-01-20 Thread Hugo Mercier
On 20/01/2016 08:52, Hugo Mercier wrote: > > On my list I have : > > - a new symbol layer to draw straight and curved arrows on line layers, > as it's done by the "Arrows" plugin > - allow to pin diagrams > - some new drawing tools in the composer (polygons, line

Re: [Qgis-developer] Help us plan for QGIS 3.0

2016-01-19 Thread Hugo Mercier
Hi, On 19/01/2016 11:08, Paolo Cavallini wrote: > Il 19/01/2016 10:38, Richard Duivenvoorde ha scritto: >> On 17-01-16 23:03, Tim Sutton wrote: >>> [1] http://blog.qgis.org/2016/01/17/help-us-to-plan-for-qgis-3-0/ >> >> Dev's, >> >> Nobody else? > > My suggestion: > * release 2.14 LTR > * move

Re: [Qgis-developer] Help us plan for QGIS 3.0

2016-01-19 Thread Hugo Mercier
Hi Régis, On 19/01/2016 20:54, Régis Haubourg wrote: > > hey, we have a QEP process running around labeling / callout lines / saving > ressources with qgs / porting easycustom labeling and mask plugin to core > equivalent. > > We can target 3.0, there is no hurry, as no coding work has been

Re: [Qgis-developer] Help us plan for QGIS 3.0

2016-01-19 Thread Hugo Mercier
On 19/01/2016 15:25, Paolo Cavallini wrote: > Il 19/01/2016 14:12, Neumann, Andreas ha scritto: >> Hi, >> >> QGIS is now used by a lot of professional users worldwide. A lot of them > ... >> Hugos suggestion to have 2.16 as the LT release instead of 2.14 would >> also be fine and acceptable for

Re: [Qgis-developer] Tool to pick up linear referencing measure from mouse

2015-11-24 Thread Hugo Mercier
Hi Régis, On 23/11/2015 18:00, Régis Haubourg wrote: > > Could we dream for the future of a new generic form widget with custom > expressions to get attributes or geometric information from a layer (with > snapping options )? > Expressions can be inserted in "custom actions" of a layer.

Re: [Qgis-developer] Project quality discussion

2015-11-09 Thread Hugo Mercier
stuff for me will ya" > > I am streamlining the QEP process so that the whole think is quicker and > faster to do. > > - Nathan > > > On Mon, Nov 9, 2015 at 9:53 PM, Hugo Mercier <hugo.merc...@oslandia.com > <mailto:hugo.merc...@oslandia.com>> wrote: &g

Re: [Qgis-developer] Questions about labels and animation in QGIS

2015-11-09 Thread Hugo Mercier
Hi, On 09/11/2015 07:20, 151612463 wrote: > Hi, > I'm new to QGIS, and I want to use QGIS to develop a software to show > and editing flight tracks. My development environment is as follow: > 1 Windows 7 > 2 Qt4.8.6 > 3 QGIS2.4(Build from sourcecode). Why not a more recent version ? > I have

Re: [Qgis-developer] Project quality discussion

2015-11-07 Thread Hugo Mercier
the common good On 06/11/2015 23:20, Nathan Woodrow wrote: > I agree with Nyall. It should not turn into a pay to win model. > > On Sat, Nov 7, 2015 at 9:08 AM, Nyall Dawson <nyall.daw...@gmail.com > <mailto:nyall.daw...@gmail.com>> wrote: > > > On 7 Nov 2015 12

Re: [Qgis-developer] Project quality discussion

2015-11-07 Thread Hugo Mercier
On 06/11/2015 23:08, Nyall Dawson wrote: > > On 7 Nov 2015 12:22 AM, "Hugo Mercier" <hugo.merc...@oslandia.com > <mailto:hugo.merc...@oslandia.com>> wrote: > >> - if a company with no core developer wants to ensure a new feature is >>

Re: [Qgis-developer] Project quality discussion

2015-11-06 Thread Hugo Mercier
On 06/11/2015 17:40, Alex M wrote: > > I caution the use of $ to directly influence the QEP review and Pull > Request reviews. Some sort of bounty pool, allowing core devs to get a > stipend for clearing big reviews might be an option. So companies can > contribute to QGIS and that money can

[Qgis-developer] HF meetings

2015-11-05 Thread Hugo Mercier
Hi, We will be discussing project quality tomorrow morning at 10am (local Gran Canaria time) And we will talk about plugins (common framework / to pip or not to pip) at 11am. If remote people want to join, we will try to include them via Skype or Hangouts. Stay tuned on the gitter channel.

Re: [Qgis-developer] 2.5D rendering crowdfunding

2015-11-05 Thread Hugo Mercier
On 04/11/2015 11:25, Matthias Kuhn wrote: > Hi > > Good to be aware of this. Let's see that we don't do work twice. > > On 11/04/2015 11:17 AM, Hugo Mercier wrote: >> On 04/11/2015 10:19, Régis Haubourg wrote: >>> Matthias Kuhn-2 wrote >>>> * on-

Re: [Qgis-developer] 2.5D rendering crowdfunding

2015-11-05 Thread Hugo Mercier
On 05/11/2015 19:10, Matthias Kuhn wrote: > > > On 11/05/2015 05:07 PM, Hugo Mercier wrote: >> Correct. >> A first step where the additional geometry columns are considered to be >> expressed in the same CRS as the main geometry column would already be >> in

Re: [Qgis-developer] 2.5D rendering crowdfunding

2015-11-04 Thread Hugo Mercier
On 04/11/2015 10:19, Régis Haubourg wrote: > Matthias Kuhn-2 wrote >> * on-the-fly transformation of geometries while rendering (or with some >> small additions also to create geometries based on attributes) > > Hi, this is quite inline with QEP 46 {0] about handling geometries to draw > label

Re: [Qgis-developer] Plugin Dependencies

2015-10-26 Thread Hugo Mercier
Hi, Related to this problematic (and not specific to processing), should the future 3.0 version of QGIS be a good opportunity to review a little bit the plugin management system ? I am thinking of: using pip to manage plugins. This would have some advantages : - allow a plugin to depend on

Re: [Qgis-developer] Plugin Dependencies

2015-10-26 Thread Hugo Mercier
Hi Alessandro, On 26/10/2015 17:50, Alessandro Pasotti wrote: > Hello Hugo, > > IMHO using setuptools and pip it's a good idea, it does support > download and install from several protocols (git included) out of the > box, it also support dependencies and keywords licence tags, I'm not > sure

Re: [Qgis-developer] QEP - Proposal for QGIS 3.0 after 2.14

2015-10-23 Thread Hugo Mercier
Hi, On 22/10/2015 18:01, Larry Shaffer wrote: > > > Hmm. You mean put in a QEP tomorrow, and ask the PSC to vote on that > early next week? I would think at least a week of dev community comments > on such a QEP would be warranted, given the very large scope. > > Maybe ask Jürgen and PSC for

Re: [Qgis-developer] QEP - Proposal for QGIS 3.0 after 2.14

2015-10-23 Thread Hugo Mercier
Hi, I also like the idea of a list dedicated to plugins and plugin development. On 21/10/2015 12:59, Tom Chadwin wrote: > The potential downside is fragmentation of the users across too many lists - > specifically, would we lose some subscribers to the dev list? Anyway, I'm in > no position to

Re: [Qgis-developer] QEP - Proposal for QGIS 3.0 after 2.14

2015-10-23 Thread Hugo Mercier
Hi, On 21/10/2015 17:01, Matthias Kuhn wrote: > The most important thing would probably be to have a working > implementation for > > * PyQt5 > * Python3 > > If it is possible to merge support for this in the current codebase - > just like it's currently possible with Qt5 - we can start to

Re: [Qgis-developer] Release schedule discussion - again

2015-10-13 Thread Hugo Mercier
Hi, On 13/10/2015 13:02, Régis Haubourg wrote: > Sandro Santilli-2 wrote >> >>> My plea to sponsors: >>> >>> If you're funding QGIS development work and the contract doesn't >>> mention something like "we will totally soak this work in unit tests" >>> then rip up the contract and run. (Or ask

Re: [Qgis-developer] Release schedule discussion - again

2015-10-13 Thread Hugo Mercier
On 13/10/2015 17:03, Bernd Vogelgesang wrote: > Sponsors who want their paid core features delivered asap should then > have to take the "risk" and use intermediated releases, at the price of > less documentation and maybe more bugs. What if paid core features include paid documentation ? At

Re: [Qgis-developer] How to get QGIS database connection name from layer

2015-10-09 Thread Hugo Mercier
Hi, DB connection details are stored in QSettings. For instance s = QSettings() s.beginGroup('PostgreSQL/connections') you can then list connections by s.childGroups() Does it help ? On 09/10/2015 14:33, Spencer Gardner wrote: > In an answer yesterday I learned that I can use DB Manager via

Re: [Qgis-developer] Pending PRs

2015-10-07 Thread Hugo Mercier
Hi Nyall, On 07/10/2015 03:36, Nyall Dawson wrote: > On 7 October 2015 at 03:01, Hugo Mercier <hugo.merc...@oslandia.com> wrote: >> >> But it becomes problematic when deadlines should be met, usually because >> funders have to know with some confidence in which releas

Re: [Qgis-developer] Pending PRs

2015-10-06 Thread Hugo Mercier
Woodrow wrote: > +1 to merge if other devs agree > > > On Thu, 1 Oct 2015 5:45 pm Hugo Mercier <hugo.merc...@oslandia.com > <mailto:hugo.merc...@oslandia.com>> wrote: > > Hi, > > I've submitted two Pull Requests : > https://github.com/qgis/Q

[Qgis-developer] Pending PRs

2015-10-01 Thread Hugo Mercier
Hi, I've submitted two Pull Requests : https://github.com/qgis/QGIS/pull/2189 and https://github.com/qgis/QGIS/pull/2322 that stay in a undetermined state ... The first one (2189) is of particular interest here. It has been opened in the beginning of July and I've been fixing issues spotted by

Re: [Qgis-developer] Expression context and custom functions

2015-09-14 Thread Hugo Mercier
On 13/09/2015 11:50, Nyall Dawson wrote: > On 11 September 2015 at 23:53, Hugo Mercier <hugo.merc...@oslandia.com> wrote: > >> Another question: I am trying to access the current atlas geometry from >> a plugin, but fail to do so. >> From the python console

Re: [Qgis-developer] Geometry precision model

2015-09-14 Thread Hugo Mercier
Hi, Thanks for your answers, that's great. I'll have a closer look at Sandro's proposal. On 14/09/2015 10:44, Nyall Dawson wrote: > > On 14 Sep 2015 5:47 pm, "Hugo Mercier" <hugo.merc...@oslandia.com > <mailto:hugo.merc...@oslandia.com>> wrote: > >> >

[Qgis-developer] Expression context and custom functions

2015-09-03 Thread Hugo Mercier
Hi, I am using custom expressions functions for a plugin. Something like this : class MyFunction( QgsExpression.Function ): def func( self, values, feature, parent ): feature.geometry() ... The problem is that "feature" is now a QgsExpressionContext(), not a QgsFeature

Re: [Qgis-developer] Using the QgsBrowserModel in Python

2015-07-30 Thread Hugo Mercier
Hi, On 29/07/2015 17:50, Ludovic Delauné wrote: Hi devs, i'm trying to use the QgsBrowserModel in a Python plugin. I need to get the URI from a selected Item in the QTreeView, i expected to have a QgsLayerItem returned by the dataItem() in order to get the uri() member but a QgsDataItem

Re: [Qgis-developer] Definition of Perimeter for polygons with holes

2015-07-30 Thread Hugo Mercier
Hi Marco, On 28/07/2015 10:38, Marco Hugentobler wrote: Hi While working on QgsDistanceArea, I noticed the definition of perimeter in QGIS is not the same as in PostGIS. PostGIS returns the length of outer and inner rings, while QGIS expects the length of the outer ring only:

Re: [Qgis-developer] memory layer performance while adding many features?

2015-07-30 Thread Hugo Mercier
Hi Raymond, On 29/07/2015 09:04, Raymond Nijssen wrote: Dear developers, ;) A plugin of mine imports data from a gml file into a memory layer. Works fine for tiny gml files, but takes forever on huge ones. Sounds plausible maybe, but the relation is not linear. So I did did some tests

Re: [Qgis-developer] Virtual layers for QGIS

2015-07-01 Thread Hugo Mercier
. And because it is only a data provider (... and a class in DBManager), people may choose not to ship it with their binary version of QGIS if they don't want to. So ... is there any objection against that being pushed as a new vector data provider for the 2.12 ? On 11/05/2015 16:11, Hugo Mercier

Re: [Qgis-developer] Enable snapping on intersections

2015-06-29 Thread Hugo Mercier
Hi Martin, On 29/06/2015 13:15, Martin Dobias wrote: Hi Hugo On Mon, Jun 29, 2015 at 5:50 PM, Hugo Mercier hugo.merc...@oslandia.com wrote: Hi, Exhuming this old thread: like Paolo, I can't make work the Enable snapping on intersection. I guess this is supposed to allow snapping

Re: [Qgis-developer] Enable snapping on intersections

2015-06-29 Thread Hugo Mercier
On 31/01/2014 17:23, Paolo Cavallini wrote: Il 31/01/2014 15:46, Jakob Lanstorp ha scritto: Snap to intersection makes you snap to just that intersection point. Did a test with two polygon layers and a point layer. Adding a point to the point layer, while within the snap tolerance, made the

Re: [Qgis-developer] Great HF organization in Noedebo. Many thanks

2015-05-28 Thread Hugo Mercier
Hi, Agreed as well. Very nice place and very nice people. Tak tak for this excellent organization. On 27/05/2015 11:45, Matteo Ghetta wrote: Agree! Super fantastic organization! Thanks Lene and thanks to all the developers, documenters, testers, participants.. Great time in Denmark!

Re: [Qgis-developer] Compliation issues of sources using make on Linux Ubuntu

2015-05-11 Thread Hugo Mercier
Hi, Make sure you are on a file system that support unix file execution permission (no ntfs) and that it is mounted correctly. Make also sure that the user running make is the same as the owner of all files. On 11/05/2015 12:16, Florin-Daniel Cioloboc wrote: Apparently, neither chmod +x

[Qgis-developer] Virtual layers for QGIS

2015-05-11 Thread Hugo Mercier
Hi all, I've been recently involved in the development of virtual layers for QGIS. The topic has already been discussed previously. In a few words it allows to craft SQL queries (with spatial support) on any vector layer(s) that QGIS is able to load. Now I have a plugin that is usuable and

Re: [Qgis-developer] Virtual layers for QGIS

2015-05-11 Thread Hugo Mercier
On 11/05/2015 16:45, Régis Haubourg wrote: Hi Hugo, looks pretty nice! Is there any 64 bit dll available? Hi Régis, Unfortunately, no. Having a clean 64bit build environment for Windows is still on my todo list ... ___ Qgis-developer mailing list

[Qgis-developer] C++11 in QGIS

2015-05-07 Thread Hugo Mercier
Hi all, Lots of methods in QGIS are now decorated with the C++11 override keyword. Which is good. But it is only enabled for gcc and Clang compilers (not under MSVC for instance). So ... what features of C++11 is allowed in QGIS source code ? Support in GCC/CLang is excellent and the version of

Re: [Qgis-developer] C++11 in QGIS

2015-05-07 Thread Hugo Mercier
Hi Jürgen, On 07/05/2015 10:37, Jürgen E. Fischer wrote: Hi Hugo, On Thu, 07. May 2015 at 10:17:55 +0200, Hugo Mercier wrote: Lots of methods in QGIS are now decorated with the C++11 override keyword. Which is good. But it is only enabled for gcc and Clang compilers (not under MSVC

Re: [Qgis-developer] Identifying inverted polygons

2015-05-04 Thread Hugo Mercier
Hi, On 04/05/2015 08:44, Paolo Cavallini wrote: Hi all. The Identify tool works in a strange (to me) way for inverted polygons: you have to click inside the polygon, but then the red (identified) area is on the outside, giving an ugly effect, difficult to understand. I'd say this is a bug:

Re: [Qgis-developer] QgsFeatureRequest::FilterType are mutually exclusive

2015-04-28 Thread Hugo Mercier
Hi Matthias, Le 27/04/2015 17:55, Matthias Kuhn a écrit : Hi all, I am currently working on an expression compiler. This will allow to execute (some) expressions server side. Currently postgres is the main target but it can be adapted to others as well. This makes it very easy to write

Re: [Qgis-developer] QgsFeatureRequest::FilterType are mutually exclusive

2015-04-28 Thread Hugo Mercier
of a full intersection test with an arbitrary geometry ? I'll just briefly answer some of the previous comments for now On 04/28/2015 09:50 AM, Hugo Mercier wrote: Hi Matthias, Le 27/04/2015 17:55, Matthias Kuhn a écrit : Hi all, I am currently working on an expression compiler

Re: [Qgis-developer] Force canvas to predefined scales : help needed to improve a script

2015-04-17 Thread Hugo Mercier
Hi, Le 17/04/2015 10:46, kimaidou a écrit : Hi QGIS ! I would like to be able in QGIS to force the canvas scales to some predefined ones. Since we now have project scales (and QGIS pre-defined scales) in the scale selector, we could use them, and add a simple checkbox near the combobox

Re: [Qgis-developer] american fuzzy lop

2015-03-06 Thread Hugo Mercier
Hi, Interesting. The idea of fuzzing is to add random noise to inputs of a program in order to make it crash and exhibit hard-to-test branches of code. It is very well suited for programs that parse complex inputs. For QGIS, the inputs are either project files or external data sources, where it

Re: [Qgis-developer] Filter layer after join, error/impossible

2015-02-23 Thread Hugo Mercier
Hi Pierre, Le 23/02/2015 14:54, PIERRE Sylvain a écrit : Thank's Hugo Will the patch be include in next release (2.8.1)? And what about the small function to convert layer to virtual layer? I think the patch could be included in the next release without harm. It is not strictly speaking a

Re: [Qgis-developer] Multiple labeling layers ?

2015-02-12 Thread Hugo Mercier
Hi Martin, Thanks for your feedback. Le 12/02/2015 13:00, Martin Dobias a écrit : Hi Hugo On Mon, Feb 9, 2015 at 9:37 PM, Hugo Mercier hugo.merc...@oslandia.com mailto:hugo.merc...@oslandia.com wrote: Hi all, We have a request to refine the way layers can be cached

Re: [Qgis-developer] Multiple labeling layers ?

2015-02-12 Thread Hugo Mercier
Le 12/02/2015 15:19, Martin Dobias a écrit : On Thu, Feb 12, 2015 at 8:50 PM, Hugo Mercier hugo.merc...@oslandia.com mailto:hugo.merc...@oslandia.com wrote: Sounds good. Do I understand correctly you want to avoid having to register features on every map rendering

Re: [Qgis-developer] QGIS and Coverity scans

2015-02-11 Thread Hugo Mercier
Hi Jürgen, Le 11/02/2015 14:18, Jürgen E. Fischer a écrit : Hi Hugo, On Wed, 11. Feb 2015 at 14:04:56 +0100, Hugo Mercier wrote: What would be very good is to call static analyzers during the build/testing process (as an option). Has somebody experiences with such things ? CLang static

Re: [Qgis-developer] QGIS and Coverity scans

2015-02-11 Thread Hugo Mercier
Hi, These are great news, thanks ! I am curious about Coverity. AFAIK, the static analyzer is not open source, right ? So this works as long as they offer if freely for open source projects. What would be very good is to call static analyzers during the build /testing process (as an option).

Re: [Qgis-developer] QGIS and Coverity scans

2015-02-11 Thread Hugo Mercier
Le 11/02/2015 14:24, Nathan Woodrow a écrit : I am curious about Coverity. AFAIK, the static analyzer is not open source, right ? So this works as long as they offer if freely for open source projects. Right. It's propietary. And IMHO it's also a heavy depencency Not sure I find that to

[Qgis-developer] Multiple labeling layers ?

2015-02-09 Thread Hugo Mercier
Hi all, We have a request to refine the way layers can be cached and especially regarding the handling of labels. The goal is to be able to optimize what is redrawn during the rendering when features of only some of the vector layers are moving (a script somewhere makes them move), and the other

  1   2   >