Re: [QGIS-Developer] Bookmarks severely broken. Unusable?

2017-11-28 Thread Nyall Dawson
On 29 November 2017 at 17:40, Anita Graser wrote: > > > On Wed, Nov 29, 2017 at 5:57 AM, Patrick Dunford > wrote: >> >> I thought it would only create one in master, but when I quit and reopened >> the project it had three bookmarks in it. > > > All these issues remind me a lot of similar problem

Re: [QGIS-Developer] Bookmarks severely broken. Unusable?

2017-11-28 Thread Anita Graser
On Wed, Nov 29, 2017 at 5:57 AM, Patrick Dunford wrote: > I thought it would only create one in master, but when I quit and reopened > the project it had three bookmarks in it. > ​All these issues remind me a lot of similar problems in adding custom CRS https://issues.qgis.org/issues/17258 Mayb

Re: [QGIS-Developer] Bookmarks severely broken. Unusable?

2017-11-28 Thread Patrick Dunford
I thought it would only create one in master, but when I quit and reopened the project it had three bookmarks in it. On 29/11/17 01:40, Richard Duivenvoorde wrote: Hi Yves, I have all kind of strange behaviours. As said: in master I can only create one bookmark. And 'In Project' I cannot chec

Re: [QGIS-Developer] [Qgis-psc] QGIS Soft Feature Freeze Voting (was Re: QGIS 3 release expectations)

2017-11-28 Thread Nyall Dawson
On 28 November 2017 at 18:42, Tim Sutton wrote: > What's the process to get exemptions for open PRs? There's a couple > I'd like to see merged if it's agreeable: > > > I would propose that we just use the same mechanism - add a motion in loomio > then we will have an easily trackable chain of de

[QGIS-Developer] Does Polyline.intersects(Point) work in QGIS master?

2017-11-28 Thread Germán Carrillo
Hi devs, do you know why this polyline >>> my_line = QgsGeometry().fromWkt('0 0, 963461.4299970197678 1077875.7919943375587, 1 1') and this point >>> my_point = QgsGeometry().fromWkt("Point (963461.430 1077875.792)") don't intersect? >>> my_line.intersects(my_point) # returns False

Re: [QGIS-Developer] php-cgi not found after installing QGIS Server on Windows

2017-11-28 Thread Stefan Steiger
Hi Martin, No, this means that PHP uses the 32-bit PDO-PostgreSQL-driver. The driver accesses PostgreSQL via TCP-IP/pipes/Unix-domain-sockets, thus you can have whatever bitness-server you want. Your PG server could just as well run on an ARM or a PPC or a MIPS-Godson/Loongson processor. You mig

Re: [QGIS-Developer] closestSegmentWithContext() with epsilon in Python

2017-11-28 Thread Radim Blazek
You are right, it was simple, https://github.com/qgis/QGIS/pull/5755 I have added also leftOf as Out as it can be also useful. Radim On Fri, Nov 24, 2017 at 3:38 PM, Radim Blazek wrote: > It looks like this: > > #ifndef SIP_RUN > double closestSegmentWithContext( const QgsPointXY &point, >

[QGIS-Developer] Why QgsPointXY is returned by asPoint()

2017-11-28 Thread Radim Blazek
Is there any reason why methods QgsPointXY asPoint() const; QgsPolylineXY asPolyline() const; QgsPolygonXY asPolygon() const; QgsMultiPointXY asMultiPoint() const; QgsMultiPolylineXY asMultiPolyline() const; QgsMultiPolygonXY asMultiPolygon() const; returning Qgs...XY do not have XY at the end of

Re: [QGIS-Developer] QGIS 3 getComposerItemById should return subclassed item

2017-11-28 Thread SIGéal
print(lblTitle) gives "0x029B1435FC18>" as suggested the error message. -- Christophe Le 28/11/2017 à 14:25, SIGéal a écrit : Weird : lblTitle.type() returns "65639"... -- Christophe Le 28/11/2017 à 11:47, Matthias Kuhn a écrit : I guess there's a problem with the %ConvertToSubClassCode

Re: [QGIS-Developer] QGIS 3 getComposerItemById should return subclassed item

2017-11-28 Thread SIGéal
Weird : lblTitle.type() returns "65639"... -- Christophe Le 28/11/2017 à 11:47, Matthias Kuhn a écrit : I guess there's a problem with the %ConvertToSubClassCode in the sip file. What does lblTitle.type() give? Matthias On 11/28/2017 11:22 AM, Etienne Trimaille wrote: We have this problem

Re: [QGIS-Developer] Bookmarks severely broken. Unusable?

2017-11-28 Thread Yves Jacolin
Strange, I tested it again, created several new spatial bookmarks and there is still no problem for me. I use QGIS 2.18.11, local build. Y. Le 28/11/2017 à 13:25, Andreas Neumann a écrit : > > Hi, > > In my case I could add one spatial bookmark, but not a second one. If > I click on the "New bo

Re: [QGIS-Developer] Bookmarks severely broken. Unusable?

2017-11-28 Thread Patrick Dunford
I can add a second bookmark in 2.18.14, only one in the recent masters though. Old masters simply throw an error for adding a bookmark. On 29/11/17 01:25, Andreas Neumann wrote: Hi, In my case I could add one spatial bookmark, but not a second one. If I click on the "New bookmark" button, a

Re: [QGIS-Developer] Bookmarks severely broken. Unusable?

2017-11-28 Thread Yves Jacolin
Thanks for clarification, yes I failed some of your check, see below: Le 28/11/2017 à 13:40, Richard Duivenvoorde a écrit : > Hi Yves, > > I have all kind of strange behaviours. As said: in master I can only > create one bookmark. And 'In Project' I cannot check. > > But in 2.18.14 (only 2.18 I ha

Re: [QGIS-Developer] Bookmarks severely broken. Unusable?

2017-11-28 Thread Richard Duivenvoorde
Hi Yves, I have all kind of strange behaviours. As said: in master I can only create one bookmark. And 'In Project' I cannot check. But in 2.18.14 (only 2.18 I have) it is behaving strange too, looks like it is depending on if you opening an existing project or not??? - I CAN check the check-box

Re: [QGIS-Developer] php-cgi not found after installing QGIS Server on Windows

2017-11-28 Thread Aitor Gil Martin
Hi René-Luc, I have been following your excellent guide without issues. It's hard to find on internet such a detailed guide on the geeky task of installing Qgis server + lizmap. I installed Apache and PHP (x64 both) succesfully so far. I wanted to install PostgreSQL + Postgis. My doubt arrive

Re: [QGIS-Developer] Bookmarks severely broken. Unusable?

2017-11-28 Thread Andreas Neumann
Hi, In my case I could add one spatial bookmark, but not a second one. If I click on the "New bookmark" button, after one bookmark already exists, nothing happens. So it seems to be at least partially broken. Andreas On 2017-11-28 09:22, Yves Jacolin wrote: > Hi, > > I did a quick test in

Re: [QGIS-Developer] Bookmarks severely broken. Unusable?

2017-11-28 Thread Yves Jacolin
Hi, I did a quick test in my 2.18.11 instance of QGIS: * open an existing project * zoom somewhere and add a new bookmark, check "in project" checkbox * close the project, open a blank new project, do something * open again the previous project and test the spatial bookmark All worked as expe

Re: [QGIS-Developer] QGIS 3 getComposerItemById should return subclassed item

2017-11-28 Thread Matthias Kuhn
I guess there's a problem with the %ConvertToSubClassCode in the sip file. What does lblTitle.type() give? Matthias On 11/28/2017 11:22 AM, Etienne Trimaille wrote: > We have this problem with QGIS 2.18 too in our > plugin: https://github.com/inasafe/inasafe/issues/4271 > > We could fix the pro

Re: [QGIS-Developer] Detect OpenLayers layer in Python

2017-11-28 Thread Tom Chadwin
Perfect. Thanks, Pirmin. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: ht

Re: [QGIS-Developer] QGIS 3 getComposerItemById should return subclassed item

2017-11-28 Thread Etienne Trimaille
The original snippet: @staticmethod def get_composition_item(comp, item_id, item_class): for item in comp.items(): if isinstance(item, item_class): if item.id() == item_id: return item 2017-11-28 11:22 GMT+01:00 Etienne Trimaille : >

Re: [QGIS-Developer] QGIS 3 getComposerItemById should return subclassed item

2017-11-28 Thread Etienne Trimaille
We have this problem with QGIS 2.18 too in our plugin: https://github.com/inasafe/inasafe/issues/4271 We could fix the problem with a hint from Martin, we have this function as a workaround: https://github.com/inasafe/inasafe/blob/develop/safe/report/processors/default.py#L54 It works well. It wou

[QGIS-Developer] QGIS 3 getComposerItemById should return subclassed item

2017-11-28 Thread SIGéal
Hi devs, This code used to work in QGIS 2.x. |lblTitle =myComposition.getComposerItemById('title')|||lblTitle|.setText('New Title')| |However, it doesn't anymore in QGIS |2.99. Instead it returns this error : |'QgsComposerItem' object has no attribute 'setText'||| -- Christophe ___

Re: [QGIS-Developer] [Qgis-psc] QGIS Soft Feature Freeze Voting (was Re: QGIS 3 release expectations)

2017-11-28 Thread DelazJ
Hi, There's a pull-request i'm missing in the list since the beginning: https://github.com/qgis/QGIS/pull/4305 I'm not sure it'd break an API, and it looks like a new feature but I think it'd be a shame to not have it for 3.0. I don't know if Nathan has time to work on it but this is a nice tool to

Re: [QGIS-Developer] [Qgis-psc] QGIS Soft Feature Freeze Voting (was Re: QGIS 3 release expectations)

2017-11-28 Thread Tim Sutton
Hi > On 28 Nov 2017, at 01:39, Nyall Dawson wrote: > > On 27 November 2017 at 08:32, Tim Sutton wrote: >> The voting process is transparent but only qgis/QGIS core committers may >> vote on it. Please note that if you are eligible you should have received an >> invite email to join the loomi

[QGIS-Developer] Bookmarks severely broken. Unusable?

2017-11-28 Thread Richard Duivenvoorde
Hi devs, just a head up that currently (with me) the Spatial Bookmarks are severely broken, both in master and 2.18. Stuff which should have been introduced: https://github.com/qgis/QGIS/pull/2661 do not work with me here locally. Not even the basic adding of one bookmark. Other issues: https:/

Re: [QGIS-Developer] Qgis with ubuntgis dependancy broken

2017-11-28 Thread Patrick Dunford
I tested this last night on a VM running 2.18.13 on Ubuntu 16.04 x64. I commented out the lines in sources.list for the PPA to the Ubuntugis archive and then issued the apt update command. Checking the list, having excluded the Ubuntugis repository PPA, there was no GDAL in the list of packag

Re: [QGIS-Developer] Qgis with ubuntgis dependancy broken

2017-11-28 Thread Walter Lorenzetti
Hi Jürgen, my question was impulisive because it was the first time in many years of using qgis and ubuntugis. Thanks. W Il 27/11/2017 16:34, Jürgen E. Fischer ha scritto: Hi Walter, On Mon, 27. Nov 2017 at 12:38:06 +0100, Walter Lorenzetti wrote: QGIS repository for ubuntugis-unstable i