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 problems in adding custom CRS
> https://issues.qgis.org/issues/17258
>
> Maybe the cause of the issues is the same 
>

The CRS issues should all be resolved - are you still seeing them on master?

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

Re: [QGIS-Developer] 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

Maybe the cause of the issues is the same 

Regards
Anita​
___
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] 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 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-boxes if I load an existing project
BUT the bookmark checked moves to the bottom then (sorting on??)
- I can NOT check the checkbox when I create a new project, then load
some data, save the project and add a bookmark.
- some project end up with a 0 srid (and are not usable anymore after that)
- after opening an existing project I can all at a sudden check the
check-boxes again (from other projects?), but IF I check those, I
actually delete them from my global bookmarks

Apparently the 'In Project' means something like: save it in the
project, BUT remove it from the global bookmarks?

At least to me the behavior of all this is very counter-intuitive :-(

2.18, I do not care too much about it, but in Master it should work (and
preferably work intuitive :-)  )...

Regards,

Richard



On 28-11-17 09:22, Yves Jacolin wrote:

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 expected. I zoomed in the bookmark location and the "in
project" bookmark disappear in a new project.

Y.


Le 28/11/2017 à 09:17, Richard Duivenvoorde a écrit :

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://issues.qgis.org/projects/qgis/search?utf8=%E2%9C%93&issues=1&q=bookmark

Can people confirm?

Though not that important in my view, I do not think we should ship
current implementation in a 3.0

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 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 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-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 decisions. All the users in 
> the group should be able to raise new proposals to the soft freeze and we can 
> collectively review them on a case by case basis.
>

Ok, done at https://www.loomio.org/d/38Aiya0q/3-0-soft-freeze-exemptions

Note there's 4 separate polls in that thread, one for each PR

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

[QGIS-Developer] 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


I'm having such issue with points and a line captured using snapping
(vertex mode, 9 pixels of tolerance).


I'm using QGIS v2.99.0-master (4f9e2a5
) running against GEOS
3.5.1-CAPI-1.9.1 r4246.


Thanks in advance,

Germán

-- 
---
   |\__
(:>__)(
   |/
Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
http://twitter.com/GeoTux2
http://about.me/germancarrillo


___
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] 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 might potentially run into problems if the PG server is > 9.6 - but since 
9.6 is the most current main release, that's unlikely to happen.
For 9.6.X, this should be OK.

But if you have an x64-server, this means you should update your PHP-version to 
64-bit,
because 32-bit software is usually compiled for 80-386 instead of 80-686, which 
means it is very slow, and could easily be much faster, if only you actually 
used x64...
Unless of course you use Arch Linux - they just compile 32-Bit for 80-686.  But 
since your screenshot says win32...

Also, if you use Windows, do yourselfs a favour and don't use Apache.
Use IIS, and if you use Linux, use nginx.
https://trends.google.com/trends/explore?date=all&q=apache,nginx
Apache is s**t, and gonna die for good.

If you need to install the latest PHP version (PHP7) on Windows, refer to my 
answer here:
https://stackoverflow.com/a/16427988/155077

If you have an IIS-version > 9, you need to switch
HKLM/System/CCS/Services/W3SVC/Parameters/MajorVersion
to 9 before installing PHP-Manager,  and after-installation, switch the value 
back.


Kind regards

Stefan


Von: QGIS-Developer [mailto:qgis-developer-boun...@lists.osgeo.org] Im Auftrag 
von Aitor Gil Martin
Gesendet: Dienstag, 28. November 2017 13:33
An: René-Luc Dhont ; qgis-developer@lists.osgeo.org
Betreff: Re: [QGIS-Developer] php-cgi not found after installing QGIS Server on 
Windows

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 arrives when I see in the 
php properties:

[cid:image001.png@01D36867.BBB1FAC0]


The libpq library says PostgreSQL 9.6.2(win32).

Does this mean that I need to install a x32 PostgreSQL versión and not x64?

Can I install PostgreSQL 10 version?

Can I install PostgresQL 9.6.6 (newer than 9.6.2)?

The installation before 9.6.2 I have found is postgresql (x32) 9.5.10: 
https://www.enterprisedb.com/download-postgresql-binaries . Is this the one it 
is recommended to install?

Thank you very much for you incredible work with lizmap and your help to the 
community.

Regards,

Aitor

De: QGIS-Developer [mailto:qgis-developer-boun...@lists.osgeo.org] En nombre de 
René-Luc Dhont
Enviado el: lunes, 27 de noviembre de 2017 14:14
Para: qgis-developer@lists.osgeo.org
Asunto: Re: [QGIS-Developer] php-cgi not found after installing QGIS Server on 
Windows


Hi Aitor,

Did you use this documentation ?

https://docs.3liz.com/en/install/windows.html#qgis-server-installation

Regards,

René-Luc

Le 27/11/2017 à 13:30, Aitor Gil Martin a écrit :
I installed QGIS Server 2.18, apache, QGIS Desktop 2.18 and all their 
dependencies using OSGeo4w x32 setup wizard on a Windows Server 2008 R2 SP1 x64 
virtual server.
After the installation I type localhost on my chrome browser to see the 
Apache's landing page and I am getting the following error:
Not Found
The requested URL /cgi-bin/php-cgi.exe/index.phtml was not found on this server.
I uninstalled and installed everything several times using OSGeo4w but I keep 
getting the same message. Something is not properly installed or missing.
Can anyone give me a clue on what might be happening?





___

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] 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,
> QgsPointXY &minDistPoint, int &afterVertex, double *leftOf = nullptr,
> double epsilon = DEFAULT_SEGMENT_EPSILON ) const;
> #else
> double closestSegmentWithContext( const QgsPointXY &point,
> QgsPointXY &minDistPoint SIP_OUT, int &afterVertex SIP_OUT ) const;
> #endif
>
> maybe trivial for who knows how to do it, that is why I asked. How to
> skip leftOf and make epsilon keyword argument?
>
> Radim
>
> On Fri, Nov 24, 2017 at 1:16 PM, Matthias Kuhn  wrote:
>> Hi Radim,
>>
>> I don't know why the epsilon is excluded from the python bindings, the
>> docs say nothing.
>> Adjusting it should be trivial, just edit qgsgeometry.h (the
>> prepare-commit script will do the heavy lifting)
>>
>> Matthias
>>
>> On 11/24/2017 12:58 PM, Radim Blazek wrote:
>>> Hi,
>>>
>>> I found that closestSegmentWithContext() in Python is useless for
>>> geometries in geographic crs, because small squared distances are set
>>> to zero because of epsilon threshold. See for example:
>>> https://user-images.githubusercontent.com/29453443/32953189-c395d8a0-cbaf-11e7-8d71-b5869392f08b.PNG
>>> points are not assigned to lines correctly because square distances are 
>>> wrong.
>>>
>>> Would it be possible to add epsilon as keyword argument to
>>> closestSegmentWithContext() and possibly other methods taking epsilon
>>> in C++?
>>>
>>> I am not sip/python expert, no idea how to do that.
>>>
>>> Thanks
>>> Radim
>>> ___
>>> 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 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] 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 name? For example

QgsPointXY asPointXY() const;
QgsPolylineXY asPolylineXY() const;


Radim
___
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 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 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 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 would be nice to know if it's a bug in QGIS.

Etienne

2017-11-28 11:06 GMT+01:00 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



___
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 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 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 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 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 would be nice to know if it's a bug in QGIS.

Etienne

2017-11-28 11:06 GMT+01:00 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



___
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 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] 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 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 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 expected. I zoomed in the bookmark location and the "in
>> project" bookmark disappear in a new project.
>>
>> Y.
>>
>>
>> Le 28/11/2017 à 09:17, Richard Duivenvoorde a écrit :
>>> 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://issues.qgis.org/projects/qgis/search?utf8=%E2%9C%93&issues=1&q=bookmark
>>>
>>> Can people confirm?
>>>
>>> Though not that important in my view, I do not think we should ship
>>> current implementation in a 3.0
>>>
>>> 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 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] 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, 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 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 expected. I zoomed in the bookmark location and the "in
project" bookmark disappear in a new project.

Y.


Le 28/11/2017 à 09:17, Richard Duivenvoorde a écrit :

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://issues.qgis.org/projects/qgis/search?utf8=%E2%9C%93&issues=1&q=bookmark

Can people confirm?

Though not that important in my view, I do not think we should ship
current implementation in a 3.0

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 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 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] 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 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-boxes if I load an existing project
> BUT the bookmark checked moves to the bottom then (sorting on??)
Confirmed. I guess in-project are grouped below.
> - I can NOT check the checkbox when I create a new project, then load
> some data, save the project and add a bookmark.
Confirmed.
> - some project end up with a 0 srid (and are not usable anymore after that)
Confirmed on my side, srid is 0 when checking in-project. But bookmarks
are still usable.
> - after opening an existing project I can all at a sudden check the
> check-boxes again (from other projects?), but IF I check those, I
> actually delete them from my global bookmarks
>
> Apparently the 'In Project' means something like: save it in the
> project, BUT remove it from the global bookmarks?
Yes, indeed. But for me it is what I am waiting when checking such
checkbox if not I will duplicate them. But this is just my point of view :)
> At least to me the behavior of all this is very counter-intuitive :-(
>
> 2.18, I do not care too much about it, but in Master it should work (and
> preferably work intuitive :-)  )...
There is clearly a bug when creating a project and not able to create
new bookmarks. The sort of "in project" bookmark don't hurt me too much.
srid = 0 is really strange and could be seen as a bug.

Y.
___
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] 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-boxes if I load an existing project
BUT the bookmark checked moves to the bottom then (sorting on??)
- I can NOT check the checkbox when I create a new project, then load
some data, save the project and add a bookmark.
- some project end up with a 0 srid (and are not usable anymore after that)
- after opening an existing project I can all at a sudden check the
check-boxes again (from other projects?), but IF I check those, I
actually delete them from my global bookmarks

Apparently the 'In Project' means something like: save it in the
project, BUT remove it from the global bookmarks?

At least to me the behavior of all this is very counter-intuitive :-(

2.18, I do not care too much about it, but in Master it should work (and
preferably work intuitive :-)  )...

Regards,

Richard



On 28-11-17 09:22, Yves Jacolin wrote:
> 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 expected. I zoomed in the bookmark location and the "in
> project" bookmark disappear in a new project.
> 
> Y.
> 
> 
> Le 28/11/2017 à 09:17, Richard Duivenvoorde a écrit :
>> 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://issues.qgis.org/projects/qgis/search?utf8=%E2%9C%93&issues=1&q=bookmark
>>
>> Can people confirm?
>>
>> Though not that important in my view, I do not think we should ship
>> current implementation in a 3.0
>>
>> 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 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] 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 arrives when I see in the 
php properties:

[cid:image001.png@01D3684D.760117F0]


The libpq library says PostgreSQL 9.6.2(win32).

Does this mean that I need to install a x32 PostgreSQL versión and not x64?

Can I install PostgreSQL 10 version?

Can I install PostgresQL 9.6.6 (newer than 9.6.2)?

The installation before 9.6.2 I have found is postgresql (x32) 9.5.10: 
https://www.enterprisedb.com/download-postgresql-binaries . Is this the one it 
is recommended to install?

Thank you very much for you incredible work with lizmap and your help to the 
community.

Regards,

Aitor

De: QGIS-Developer [mailto:qgis-developer-boun...@lists.osgeo.org] En nombre de 
René-Luc Dhont
Enviado el: lunes, 27 de noviembre de 2017 14:14
Para: qgis-developer@lists.osgeo.org
Asunto: Re: [QGIS-Developer] php-cgi not found after installing QGIS Server on 
Windows


Hi Aitor,

Did you use this documentation ?

https://docs.3liz.com/en/install/windows.html#qgis-server-installation

Regards,

René-Luc

Le 27/11/2017 à 13:30, Aitor Gil Martin a écrit :
I installed QGIS Server 2.18, apache, QGIS Desktop 2.18 and all their 
dependencies using OSGeo4w x32 setup wizard on a Windows Server 2008 R2 SP1 x64 
virtual server.
After the installation I type localhost on my chrome browser to see the 
Apache's landing page and I am getting the following error:
Not Found
The requested URL /cgi-bin/php-cgi.exe/index.phtml was not found on this server.
I uninstalled and installed everything several times using OSGeo4w but I keep 
getting the same message. Something is not properly installed or missing.
Can anyone give me a clue on what might be happening?




___

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] 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 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 expected. I zoomed in the bookmark location and the "in
> project" bookmark disappear in a new project.
> 
> Y.
> 
> Le 28/11/2017 à 09:17, Richard Duivenvoorde a écrit : 
> 
>> 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://issues.qgis.org/projects/qgis/search?utf8=%E2%9C%93&issues=1&q=bookmark
>> 
>> Can people confirm?
>> 
>> Though not that important in my view, I do not think we should ship
>> current implementation in a 3.0
>> 
>> 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 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] 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 expected. I zoomed in the bookmark location and the "in
project" bookmark disappear in a new project.

Y.


Le 28/11/2017 à 09:17, Richard Duivenvoorde a écrit :
> 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://issues.qgis.org/projects/qgis/search?utf8=%E2%9C%93&issues=1&q=bookmark
>
> Can people confirm?
>
> Though not that important in my view, I do not think we should ship
> current implementation in a 3.0
>
> 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 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 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 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 would be nice to know if it's a bug in QGIS.
>
> Etienne
>
> 2017-11-28 11:06 GMT+01:00 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
>
>
>
> ___
> 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 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] 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: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

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 :

> 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 would be nice to know if it's a bug in QGIS.
>
> Etienne
>
> 2017-11-28 11:06 GMT+01:00 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
>>
>>
>>
>>
>> ___
>> 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 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 would be nice to know if it's a bug in QGIS.

Etienne

2017-11-28 11:06 GMT+01:00 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
>
>
>
>
> ___
> 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 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


___
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-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 help users migrate from 2.x to 3.0
easily. I'm not sure it will get enough sense in 3.2 when a lot of people
would have already (maybe) struggled to move their settings, unless I
overestimate the PR scope and there's already a migration process I did not
find.

Regards,
Harrissou

2017-11-28 3:11 GMT+01:00 Mathieu Pellerin :

> +1 to all four PRs, especially the dynamic number value for processing one
> which I've tested quite a lot in the last 48 hours and couldn't detect any
> problem.
>
> On Nov 28, 2017 6:39 AM, "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 loomio group. If you did not, please
>> contact me with your preferred email address and I will re-add you.
>> >
>>
>> Hi Tim,
>>
>> What's the process to get exemptions for open PRs? There's a couple
>> I'd like to see merged if it's agreeable:
>>
>> - https://github.com/qgis/QGIS/pull/5600: "Add order by expression
>> processing algorithm". Very low risk - it's a self contained algorithm
>> on which nothing else depends. Processing in 3.0 is awesome, and has
>> made great strides to becoming a competitive ETL tool. This algorithm
>> would very nicely complement the work already done in 3.0 to make
>> models more powerful and flexible.
>>
>> - https://github.com/qgis/QGIS/pull/5430: "More output format choices
>> in raster save as dialog": Low risk. Changes only affect the dialog,
>> and an extra convenience member in QgsRasterFileWriter (which is
>> accompanied by unit tests)
>>
>> - https://github.com/qgis/QGIS/pull/5729: "[processing] Expose dynamic
>> ("data defined") numeric parameters to gui". Low-medium risk. Most of
>> the changes here are gui related, just exposing functionality which
>> already exists in the new processing backend (and which is covered by
>> stacks of unit tests). I'd love to see this included in 3.0 as it
>> changes some of the processing API, and I would like wider testing and
>> porting of algorithms to utilise this BEFORE the API is locked in
>> place and we're stuck with it. I'd rather identify any issues in the
>> related API here for 3.0. Additionally, the changes to the "set z
>> value" algorithm which allows the z value to be pulled from a field or
>> expression is extremely useful in preparing datasets for use in the
>> new 3d views. Plus, it's an absolute KILLER feature to have.
>>
>> - https://github.com/qgis/QGIS/pull/5663: "Add a name for transactions
>> created from executeSql". It's marked as a feature and tagged as 3.2,
>> but looking over it it seems to be almost entirely api tweaks and a
>> unit test. I'd say this is low risk, especially given Paul's history
>> of stable commits and how well unit tested this are of code is
>> already.
>>
>> Nyall
>> ___
>> Qgis-psc mailing list
>> qgis-...@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/qgis-psc
>
>
> ___
> Qgis-psc mailing list
> qgis-...@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-psc
>
___
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-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 loomio group. If you did not, please contact me 
>> with your preferred email address and I will re-add you.
>> 
> 
> Hi Tim,
> 
> 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 decisions. All the users in the 
group should be able to raise new proposals to the soft freeze and we can 
collectively review them on a case by case basis. 

How does that sound?

Regards

Tim

> 
> - https://github.com/qgis/QGIS/pull/5600: "Add order by expression
> processing algorithm". Very low risk - it's a self contained algorithm
> on which nothing else depends. Processing in 3.0 is awesome, and has
> made great strides to becoming a competitive ETL tool. This algorithm
> would very nicely complement the work already done in 3.0 to make
> models more powerful and flexible.
> 
> - https://github.com/qgis/QGIS/pull/5430: "More output format choices
> in raster save as dialog": Low risk. Changes only affect the dialog,
> and an extra convenience member in QgsRasterFileWriter (which is
> accompanied by unit tests)
> 
> - https://github.com/qgis/QGIS/pull/5729: "[processing] Expose dynamic
> ("data defined") numeric parameters to gui". Low-medium risk. Most of
> the changes here are gui related, just exposing functionality which
> already exists in the new processing backend (and which is covered by
> stacks of unit tests). I'd love to see this included in 3.0 as it
> changes some of the processing API, and I would like wider testing and
> porting of algorithms to utilise this BEFORE the API is locked in
> place and we're stuck with it. I'd rather identify any issues in the
> related API here for 3.0. Additionally, the changes to the "set z
> value" algorithm which allows the z value to be pulled from a field or
> expression is extremely useful in preparing datasets for use in the
> new 3d views. Plus, it's an absolute KILLER feature to have.
> 
> - https://github.com/qgis/QGIS/pull/5663: "Add a name for transactions
> created from executeSql". It's marked as a feature and tagged as 3.2,
> but looking over it it seems to be almost entirely api tweaks and a
> unit test. I'd say this is low risk, especially given Paul's history
> of stable commits and how well unit tested this are of code is
> already.
> 
> Nyall

—







Tim Sutton

Co-founder: Kartoza
Project chair: QGIS.org

Visit http://kartoza.com  to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux 
IRC: timlinux on #qgis at freenode.net

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

[QGIS-Developer] 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://issues.qgis.org/projects/qgis/search?utf8=%E2%9C%93&issues=1&q=bookmark

Can people confirm?

Though not that important in my view, I do not think we should ship
current implementation in a 3.0

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

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 packages available for upgrade.


With apt upgrade, the packages were installed then 2.18.14 works fine.

I would comment out the ubuntugis repository PPA lines in sources.list 
or its descendants (list files in sources.list.d) unless it actually 
tells you that a package isn't available, which will presumably happen 
with the next point release in about 10 days, if it has been built to 
use the new version of GDAL.



On 28/11/17 20:59, Walter Lorenzetti wrote:


Hi Patrick,

thanks for reply and suggestions.

I compile from source the development edition, but for server and 
desktop I use repository.


I'll try your example if the issue continue for long time.

W


Il 27/11/2017 16:33, Patrick Dunford ha scritto:
There is no mandated requirement to use the Ubuntugis repository for 
2.18. The latest edition of 2.18 is available from the non-ubuntugis 
Qgis repository for xenial.


Do you have that option available to you?

If you need the development edition (2.99) unfortunately the 
developers are not supporting this on Xenial because of a package 
dependency that is not supported by the Ubuntu repositories for 
Xenial, even though it should in theory be possible to get the 
required package(s) from another repository.


If you have used apt upgrade to update all the packages in your 
system at once, including new ubuntugis packages, don't update all 
the packages this way. Just update qgis by itself, and it won't pull 
the new ubuntugis packages if it doesn't need them.


The more technically astute might try commenting out the ubuntugis 
repository from apt's sources.list files or fragments before issuing 
the apt update command, or playing with Apt pinning settings to 
prioritise repositories.


Example: I installed Debian buster/testing and then attempted to 
install Qgis 2.99 sid/unstable. This told me it needed a package from 
Debian sid/unstable repositories. I changed the master repository for 
debian to unstable and then apt update tells me there are hundreds of 
new packages from unstable I could install. I only want it to install 
the packages needed for qgis so instead of running apt upgrade, I 
just run apt install qgis etc to only pull the unstable packages it 
actually needs for this installation, and then change the Debian 
master repository back to buster.


The above options may not suit every situation where ubuntugis has to 
be used, obviously it does not suit your particular requirement if 
you have to have the latest ubuntugis packages for other reasons, 
however it may resolve the situation for someone else.


On 28/11/17 02:23, Walter Lorenzetti wrote:


Thanks Patrick for replay, I user ubuntugis for other project in my 
work ..


W




___
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


--

Walter Lorenzetti phD
email: lorenze...@gis3w.it
skype: aiki74
twitter:w_lorenzetti 
g+:aiki74 
Tel/Cell: (+39) 347-6597931
Viale Verdi 24 - 51016 Montecatini Terme (PT)
Nuovi corsi QGIS e GFOSS 





___
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 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 is broken, require gdal 2.2.1 but
ubuntugis updated to 2.2.2.
It is correct or I'm doing a  mistake?

No, that's expected.  See note on
http://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu.


Jürgen



___
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


--

Walter Lorenzetti phD
email: lorenze...@gis3w.it
skype: aiki74
twitter:w_lorenzetti 
g+:aiki74 
Tel/Cell: (+39) 347-6597931
Viale Verdi 24 - 51016 Montecatini Terme (PT)
Nuovi corsi QGIS e GFOSS 



___
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