Re: [QGIS-Developer] question

2024-04-25 Thread Abdelghani Tamort via QGIS-Developer
Hi Johannes,

You're right, thanks! Oh and by the way, using the _3d module documentation
of version 3.36 (https://qgis.org/pyqgis/3.36/_3d/index.html) is it
possible to code everything that the GUI offers or some features of the GUI
are not yet implemented in the python API ?

Cheers,
Abdelghani

On Thu, 25 Apr 2024 at 15:16, Johannes Kröger (WhereGroup) <
johannes.kroe...@wheregroup.com> wrote:

> Hi Abdelghani,
>
> that blog post highlights new features of version 3.36. Those methods are
> not available in 3.34.x. ;)
>
> Cheers, Hannes
> On 25.04.24 14:47, Abdelghani Tamort wrote:
>
> Hi Saber,
>
> From the link you sent, I tried some code lines. For instance, I tried "
> iface.mapCanvases3D()" but It doesn't seem to work, I'm getting the
> following error: AttributeError: 'QgisInterface' object has no attribute
> 'mapCanvases3D'. I'm working on QGIS 3.34.5.
>
>
> Kind regards,
>
> Abdelghani
>
> On Fri, 12 Apr 2024 at 15:49, Saber Razmjooei <
> saber.razmjo...@lutraconsulting.co.uk> wrote:
>
>> Hi,
>>
>> You can find more code snippet and examples here:
>> https://www.lutraconsulting.co.uk/blog/2024/02/05/new-features-in-qgis-36/
>>
>> Kind regards
>> Saber
>>
>> On Fri, 12 Apr 2024 at 11:58, Johannes Kröger (WhereGroup) via
>> QGIS-Developer  wrote:
>>
>>> Hi,
>>>
>>> afaik the 3D Python API is not fully finalized yet. But you can already
>>> control some aspects of it from Python, mostly the views themselves.
>>> This was added recently, see https://github.com/qgis/QGIS/pull/55862
>>>
>>> Have fun!
>>> Hannes
>>>
>>> On 12.04.24 11:30, Abdelghani Tamort via QGIS-Developer wrote:
>>> > Hello,
>>> >
>>> > I want to post a message (which contains an inquiry) to the qgis
>>> > developer list.
>>> > The message is the following:
>>> >
>>> > Is there a solid documentation/tutorials on handling 3D on QGIS's
>>> > python API ? Currently working on a QGIS plugin that exports data in
>>> > 3D format and trying to make use of the 3D views in QGIS to visualize
>>> > the outputs. I am aware of the Qgis2threejs plugin
>>> > (https://github.com/minorua/Qgis2threejs) but I am more interested in
>>> > working with the native 3D handling of QGIS.
>>> >
>>> >
>>> > Thanks in advance
>>> >
>>> >
>>> > Abdelghani TAMORT
>>> >
>>> > ___
>>> > 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
>>>
>>> --
>>> Johannes Kröger / GIS-Entwickler/-Berater
>>>
>>> -
>>> Aufwind durch Wissen!
>>> Web-Seminare und Online-Schulungen
>>> bei der www.foss-academy.com
>>> -
>>>
>>> WhereGroup GmbH
>>> c/o KK03 GmbH
>>> Lange Reihe 29
>>> 20099 Hamburg
>>> Germany
>>>
>>> Tel: +49 (0)228 / 90 90 38 - 36
>>> Fax: +49 (0)228 / 90 90 38 - 11
>>>
>>> johannes.kroe...@wheregroup.com
>>> www.wheregroup.com
>>> Geschäftsführer:
>>> Olaf Knopp, Peter Stamm
>>> Amtsgericht Bonn, HRB 9885
>>> ---
>>>
>>> ___
>>> 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
>>>
>>
>>
>> --
>> Saber Razmjooei
>> www.lutraconsulting.co.uk
>>
>> --
> Johannes Kröger / GIS-Entwickler/-Berater
>
> -
> Aufwind durch Wissen!
> Web-Seminare und Online-Schulungen
> bei der www.foss-academy.com
> -
>
> WhereGroup GmbH
> c/o KK03 GmbH
> Lange Reihe 29
> 20099 Hamburg
> Germany
>
> Tel: +49 (0)228 / 90 90 38 - 36
> Fax: +49 (0)228 / 90 90 38 - 11
> johannes.kroe...@wheregroup.comwww.wheregroup.com
> Geschäftsführer:
> Olaf Knopp, Peter Stamm
> Amtsgericht Bonn, HRB 9885
> ---
>
>
___
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] question

2024-04-25 Thread WhereGroup

Hi Abdelghani,

that blog post highlights new features of version 3.36. Those methods 
are not available in 3.34.x. ;)


Cheers, Hannes

On 25.04.24 14:47, Abdelghani Tamort wrote:

Hi Saber,

From the link you sent, I tried some code lines. For instance, I tried 
"iface.mapCanvases3D()" but It doesn't seem to work, I'm getting the 
following error: AttributeError: 'QgisInterface' object has no 
attribute 'mapCanvases3D'. I'm working on QGIS 3.34.5.



Kind regards,

Abdelghani

On Fri, 12 Apr 2024 at 15:49, Saber Razmjooei 
 wrote:


Hi,

You can find more code snippet and examples here:
https://www.lutraconsulting.co.uk/blog/2024/02/05/new-features-in-qgis-36/

Kind regards
Saber

On Fri, 12 Apr 2024 at 11:58, Johannes Kröger (WhereGroup) via
QGIS-Developer  wrote:

Hi,

afaik the 3D Python API is not fully finalized yet. But you
can already
control some aspects of it from Python, mostly the views
themselves.
This was added recently, see
https://github.com/qgis/QGIS/pull/55862

Have fun!
Hannes

On 12.04.24 11:30, Abdelghani Tamort via QGIS-Developer wrote:
> Hello,
>
> I want to post a message (which contains an inquiry) to the
qgis
> developer list.
> The message is the following:
>
> Is there a solid documentation/tutorials on handling 3D on
QGIS's
> python API ? Currently working on a QGIS plugin that exports
data in
> 3D format and trying to make use of the 3D views in QGIS to
visualize
> the outputs. I am aware of the Qgis2threejs plugin
> (https://github.com/minorua/Qgis2threejs) but I am more
interested in
> working with the native 3D handling of QGIS.
>
>
> Thanks in advance
>
>
> Abdelghani TAMORT
>
> ___
> 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

-- 
Johannes Kröger / GIS-Entwickler/-Berater


-
Aufwind durch Wissen!
Web-Seminare und Online-Schulungen
bei der www.foss-academy.com 
-

WhereGroup GmbH
c/o KK03 GmbH
Lange Reihe 29
20099 Hamburg
Germany

Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11

johannes.kroe...@wheregroup.com
www.wheregroup.com 
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
---

___
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



-- 
Saber Razmjooei

www.lutraconsulting.co.uk 


--
Johannes Kröger / GIS-Entwickler/-Berater

-
Aufwind durch Wissen!
Web-Seminare und Online-Schulungen
bei derwww.foss-academy.com
-

WhereGroup GmbH
c/o KK03 GmbH
Lange Reihe 29
20099 Hamburg
Germany

Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11

johannes.kroe...@wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
---
___
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] question

2024-04-25 Thread Abdelghani Tamort via QGIS-Developer
Hi Saber,

>From the link you sent, I tried some code lines. For instance, I tried "
iface.mapCanvases3D()" but It doesn't seem to work, I'm getting the
following error: AttributeError: 'QgisInterface' object has no attribute
'mapCanvases3D'. I'm working on QGIS 3.34.5.


Kind regards,

Abdelghani

On Fri, 12 Apr 2024 at 15:49, Saber Razmjooei <
saber.razmjo...@lutraconsulting.co.uk> wrote:

> Hi,
>
> You can find more code snippet and examples here:
> https://www.lutraconsulting.co.uk/blog/2024/02/05/new-features-in-qgis-36/
>
> Kind regards
> Saber
>
> On Fri, 12 Apr 2024 at 11:58, Johannes Kröger (WhereGroup) via
> QGIS-Developer  wrote:
>
>> Hi,
>>
>> afaik the 3D Python API is not fully finalized yet. But you can already
>> control some aspects of it from Python, mostly the views themselves.
>> This was added recently, see https://github.com/qgis/QGIS/pull/55862
>>
>> Have fun!
>> Hannes
>>
>> On 12.04.24 11:30, Abdelghani Tamort via QGIS-Developer wrote:
>> > Hello,
>> >
>> > I want to post a message (which contains an inquiry) to the qgis
>> > developer list.
>> > The message is the following:
>> >
>> > Is there a solid documentation/tutorials on handling 3D on QGIS's
>> > python API ? Currently working on a QGIS plugin that exports data in
>> > 3D format and trying to make use of the 3D views in QGIS to visualize
>> > the outputs. I am aware of the Qgis2threejs plugin
>> > (https://github.com/minorua/Qgis2threejs) but I am more interested in
>> > working with the native 3D handling of QGIS.
>> >
>> >
>> > Thanks in advance
>> >
>> >
>> > Abdelghani TAMORT
>> >
>> > ___
>> > 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
>>
>> --
>> Johannes Kröger / GIS-Entwickler/-Berater
>>
>> -
>> Aufwind durch Wissen!
>> Web-Seminare und Online-Schulungen
>> bei der www.foss-academy.com
>> -
>>
>> WhereGroup GmbH
>> c/o KK03 GmbH
>> Lange Reihe 29
>> 20099 Hamburg
>> Germany
>>
>> Tel: +49 (0)228 / 90 90 38 - 36
>> Fax: +49 (0)228 / 90 90 38 - 11
>>
>> johannes.kroe...@wheregroup.com
>> www.wheregroup.com
>> Geschäftsführer:
>> Olaf Knopp, Peter Stamm
>> Amtsgericht Bonn, HRB 9885
>> ---
>>
>> ___
>> 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
>>
>
>
> --
> Saber Razmjooei
> www.lutraconsulting.co.uk
>
>
___
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] question

2024-04-12 Thread Saber Razmjooei via QGIS-Developer
Hi,

You can find more code snippet and examples here:
https://www.lutraconsulting.co.uk/blog/2024/02/05/new-features-in-qgis-36/

Kind regards
Saber

On Fri, 12 Apr 2024 at 11:58, Johannes Kröger (WhereGroup) via
QGIS-Developer  wrote:

> Hi,
>
> afaik the 3D Python API is not fully finalized yet. But you can already
> control some aspects of it from Python, mostly the views themselves.
> This was added recently, see https://github.com/qgis/QGIS/pull/55862
>
> Have fun!
> Hannes
>
> On 12.04.24 11:30, Abdelghani Tamort via QGIS-Developer wrote:
> > Hello,
> >
> > I want to post a message (which contains an inquiry) to the qgis
> > developer list.
> > The message is the following:
> >
> > Is there a solid documentation/tutorials on handling 3D on QGIS's
> > python API ? Currently working on a QGIS plugin that exports data in
> > 3D format and trying to make use of the 3D views in QGIS to visualize
> > the outputs. I am aware of the Qgis2threejs plugin
> > (https://github.com/minorua/Qgis2threejs) but I am more interested in
> > working with the native 3D handling of QGIS.
> >
> >
> > Thanks in advance
> >
> >
> > Abdelghani TAMORT
> >
> > ___
> > 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
>
> --
> Johannes Kröger / GIS-Entwickler/-Berater
>
> -
> Aufwind durch Wissen!
> Web-Seminare und Online-Schulungen
> bei der www.foss-academy.com
> -
>
> WhereGroup GmbH
> c/o KK03 GmbH
> Lange Reihe 29
> 20099 Hamburg
> Germany
>
> Tel: +49 (0)228 / 90 90 38 - 36
> Fax: +49 (0)228 / 90 90 38 - 11
>
> johannes.kroe...@wheregroup.com
> www.wheregroup.com
> Geschäftsführer:
> Olaf Knopp, Peter Stamm
> Amtsgericht Bonn, HRB 9885
> ---
>
> ___
> 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
>


-- 
Saber Razmjooei
www.lutraconsulting.co.uk
___
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] question

2024-04-12 Thread WhereGroup

Hi,

afaik the 3D Python API is not fully finalized yet. But you can already 
control some aspects of it from Python, mostly the views themselves. 
This was added recently, see https://github.com/qgis/QGIS/pull/55862


Have fun!
Hannes

On 12.04.24 11:30, Abdelghani Tamort via QGIS-Developer wrote:

Hello,

I want to post a message (which contains an inquiry) to the qgis 
developer list.

The message is the following:

Is there a solid documentation/tutorials on handling 3D on QGIS's 
python API ? Currently working on a QGIS plugin that exports data in 
3D format and trying to make use of the 3D views in QGIS to visualize 
the outputs. I am aware of the Qgis2threejs plugin 
(https://github.com/minorua/Qgis2threejs) but I am more interested in 
working with the native 3D handling of QGIS.



Thanks in advance


Abdelghani TAMORT

___
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


--
Johannes Kröger / GIS-Entwickler/-Berater

-
Aufwind durch Wissen!
Web-Seminare und Online-Schulungen
bei der www.foss-academy.com
-

WhereGroup GmbH
c/o KK03 GmbH
Lange Reihe 29
20099 Hamburg
Germany

Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11

johannes.kroe...@wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
---

___
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] Question about missing WMS TIME parameter in the documentation

2024-03-27 Thread Jorge Gustavo Rocha via QGIS-Developer

Hi Selma,

Thank for the feedback. Seems like this TIME parameter never landed in 
the documentation.


I'll continue the discussion on top of the existent issue 
https://github.com/qgis/QGIS-Documentation/issues/7622


Regards,

Jorge

On 27/03/24 15:41, Selma Vidimlic wrote:


Hello Jorge,

Thank you for bringing this to our attention. I must admit, I wasn't 
aware of the omission of the WMS TIME parameter from the QGIS Server 
documentation. My contributions to the server manual have been 
minimal, so I might not be the best person to provide a historical 
perspective on this matter. Harrissou, however, might have more 
insights regarding this.

I see that there is an open issue concerning the WMS TIME parameter:

  * https://github.com/qgis/QGIS-Documentation/issues/7622

If you could, please open an issue on the documentation repository 
detailing the need for the inclusion of the TIME parameter. An 
explanation or example of how this parameter is used would be 
particularly helpful, at least for me :D


And of course, if you're comfortable making the change yourself, 
please feel free to do so. Either way, thank you for pointing this out.


Regards,
Selma.


On Wed, 27 Mar 2024 at 15:17, Jorge Gustavo Rocha  
wrote:


Hi Selma,

Thank you for the excellent work with the documentation.

I was checking QGIS Server documentation and the WMS parameter
TIME is not mentioned.

The parameter is still valid and WMS queries can use TIME
parameter, but there is no reference to it in the documentation.

I think it was there some time ago, but I'm not sure. I can update
the documentation, if necessary, but first I would like to know
why it disappeared (if it was there before).

You you aware of such modification?

Best regards,

Jorge Gustavo

On 05/01/24 16:19, Selma Vidimlic via QGIS-Developer wrote:

Hello all and happy new year,

Documentation writer report:

Merged pull requests:

  * https://github.com/qgis/QGIS-Documentation/pull/8713
  * https://github.com/qgis/QGIS-Documentation/pull/8721
  * https://github.com/qgis/QGIS-Documentation/pull/8723

Open pull requests:

  * https://github.com/qgis/QGIS-Documentation/pull/8764
  * https://github.com/qgis/QGIS-Documentation/pull/8765

Working on:

  * https://github.com/qgis/QGIS-Documentation/issues/7545
  * Georeferencer chapter

Have a nice weekend,
Selma.

On Fri, 15 Dec 2023 at 16:51, Selma Vidimlic 
wrote:

Hello all,

Here is the report for this week:

Merged pull requests:

  * https://github.com/qgis/QGIS-Documentation/pull/8701
  * https://github.com/qgis/QGIS-Documentation/pull/8702
  * https://github.com/qgis/QGIS-Documentation/pull/8708

Open pull requests:

  * https://github.com/qgis/QGIS-Documentation/pull/8713

Still working on:

  * https://github.com/qgis/QGIS-Documentation/issues/7568
  * https://github.com/qgis/QGIS-Documentation/issues/7545


Have a great weekend,
Selma.


On Fri, 8 Dec 2023 at 17:19, Selma Vidimlic
 wrote:

Hello all,

Merged pull requests from this week:

  * 3D Tiles Chapter
 with
two commits from this week:

 1. fixes after review and update opening_data file


 2. cross references



  * Identify tool update


Open pull requests from this week:

  * Topology checker update

  * Auto-open options for exported layout


Regards,
Selma.

On Fri, 24 Nov 2023 at 19:48, Selma Vidimlic
 wrote:

Hi all,

Merged PR from this week:

  * Vector tiles update


Open PR:

  * 3d tiles
 -
so, here I need to additionally describe
properties (symbology, 3d view, elevation menu),
also the second section now is called *Scene,
*but I believe this will be changed. I'm looking
forward to your feedback (review).

Still working on:

  * geometry expressions

Re: [QGIS-Developer] Question about missing WMS TIME parameter in the documentation

2024-03-27 Thread Selma Vidimlic via QGIS-Developer
Hello Jorge,

Thank you for bringing this to our attention. I must admit, I wasn't aware
of the omission of the WMS TIME parameter from the QGIS Server
documentation. My contributions to the server manual have been minimal, so
I might not be the best person to provide a historical perspective on this
matter. Harrissou, however, might have more insights regarding this.
I see that there is an open issue concerning the WMS TIME parameter:

   - https://github.com/qgis/QGIS-Documentation/issues/7622

If you could, please open an issue on the documentation repository
detailing the need for the inclusion of the TIME parameter. An explanation
or example of how this parameter is used would be particularly helpful, at
least for me :D

And of course, if you're comfortable making the change yourself, please
feel free to do so. Either way, thank you for pointing this out.

Regards,
Selma.


On Wed, 27 Mar 2024 at 15:17, Jorge Gustavo Rocha  wrote:

> Hi Selma,
>
> Thank you for the excellent work with the documentation.
>
> I was checking QGIS Server documentation and the WMS parameter TIME is not
> mentioned.
>
> The parameter is still valid and WMS queries can use TIME parameter, but
> there is no reference to it in the documentation.
>
> I think it was there some time ago, but I'm not sure. I can update the
> documentation, if necessary, but first I would like to know why it
> disappeared (if it was there before).
>
> You you aware of such modification?
>
> Best regards,
>
> Jorge Gustavo
> On 05/01/24 16:19, Selma Vidimlic via QGIS-Developer wrote:
>
> Hello all and happy new year,
>
> Documentation writer report:
>
> Merged pull requests:
>
>- https://github.com/qgis/QGIS-Documentation/pull/8713
>- https://github.com/qgis/QGIS-Documentation/pull/8721
>- https://github.com/qgis/QGIS-Documentation/pull/8723
>
> Open pull requests:
>
>- https://github.com/qgis/QGIS-Documentation/pull/8764
>- https://github.com/qgis/QGIS-Documentation/pull/8765
>
> Working on:
>
>- https://github.com/qgis/QGIS-Documentation/issues/7545
>- Georeferencer chapter
>
> Have a nice weekend,
> Selma.
>
> On Fri, 15 Dec 2023 at 16:51, Selma Vidimlic  wrote:
>
>> Hello all,
>>
>> Here is the report for this week:
>>
>> Merged pull requests:
>>
>>- https://github.com/qgis/QGIS-Documentation/pull/8701
>>- https://github.com/qgis/QGIS-Documentation/pull/8702
>>- https://github.com/qgis/QGIS-Documentation/pull/8708
>>
>> Open pull requests:
>>
>>- https://github.com/qgis/QGIS-Documentation/pull/8713
>>
>> Still working on:
>>
>>- https://github.com/qgis/QGIS-Documentation/issues/7568
>>- https://github.com/qgis/QGIS-Documentation/issues/7545
>>
>>
>> Have a great weekend,
>> Selma.
>>
>>
>> On Fri, 8 Dec 2023 at 17:19, Selma Vidimlic  wrote:
>>
>>> Hello all,
>>>
>>> Merged pull requests from this week:
>>>
>>>- 3D Tiles Chapter
>>> with two
>>>commits from this week:
>>>
>>>
>>>1. fixes after review and update opening_data file
>>>
>>> 
>>>2. cross references
>>>
>>> 
>>>
>>>
>>>- Identify tool update
>>>
>>>
>>> Open pull requests from this week:
>>>
>>>- Topology checker update
>>>
>>>- Auto-open options for exported layout
>>>
>>>
>>> Regards,
>>> Selma.
>>>
>>> On Fri, 24 Nov 2023 at 19:48, Selma Vidimlic  wrote:
>>>
 Hi all,

 Merged PR from this week:

- Vector tiles update


 Open PR:

- 3d tiles  -
so, here I need to additionally describe properties (symbology, 3d view,
elevation menu), also the second section now is called *Scene, *but
I believe this will be changed. I'm looking forward to your feedback
(review).

 Still working on:

- geometry expressions


 Have a nice weekend,
 Selma.

 On Fri, 17 Nov 2023 at 17:15, Selma Vidimlic  wrote:

> Hello everyone,
>
> This week (and last week at the OSGeo meeting Vienna) I was working on
> documentation for 3D Tiles in QGIS. I used blog posts from Lutra 
> Consulting
> and North Road websites as the main source for the documentation, also I
> followed video tutorials and Martin Dobias explained 3D tiles to me while
> we were in Vienna. I'm planning to create a draft version in my GitHub
> repository (I will send you a link) so you can check it 

Re: [QGIS-Developer] Question for creating msi.

2023-04-11 Thread Paul N via QGIS-Developer
Thanks for your response. Now it works. I was using qgis-ltr instead of
qgis-ltr-full in createmsi.pl

Many many thanks .

Paul N

On Mon, 10 Apr, 2023, 4:51 pm Jürgen E. Fischer via QGIS-Developer, <
qgis-developer@lists.osgeo.org> wrote:

> Hi Paul,
>
> On Sat, 08. Apr 2023 at 06:27:46 +0530, Paul N via QGIS-Developer wrote:
> > While creating msi for qgis-ltr or qgis-ltr-dev, some of the packages are
> > not downloading such as grass, saga and many others.
> >
> > They are downloading only when changes are made to qgis-full in
> createmsi.pl
>
> What changes?  saga and grass are optional dependencies not included in
> qgis-ltr and qgis-ltr-dev.  You should use qgis-ltr-full or
> qgis-ltr-dev-full.
>
>
> Jürgen
>
> --
> Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
> Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
> Software Engineer   D-26506 Norden
> https://www.norbit.de
> QGIS release manager (PSC)  Germany IRC: jef on Libera|OFTC
> ___
> 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] Question for creating msi.

2023-04-10 Thread Jürgen E . Fischer via QGIS-Developer
Hi Paul,

On Sat, 08. Apr 2023 at 06:27:46 +0530, Paul N via QGIS-Developer wrote:
> While creating msi for qgis-ltr or qgis-ltr-dev, some of the packages are
> not downloading such as grass, saga and many others.
> 
> They are downloading only when changes are made to qgis-full in createmsi.pl

What changes?  saga and grass are optional dependencies not included in
qgis-ltr and qgis-ltr-dev.  You should use qgis-ltr-full or qgis-ltr-dev-full.


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Nordenhttps://www.norbit.de
QGIS release manager (PSC)  Germany IRC: jef on Libera|OFTC


signature.asc
Description: PGP signature
___
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] Question on current_value() expression in the context of filtering relation reference combo boxes

2022-12-06 Thread Andreas Neumann via QGIS-Developer

Hi Ale,

That would explain it ;-)

I also tried various other combinations, like

with @current_parent_feature, @feature, etc. - but haven't found a 
working version ...


I might try with a variable ;-) I got the variable filter version 
working in another project. But that involved Python ...


Andreas

On 2022-12-06 16:52, Alessandro Pasotti wrote:


Sorry, I just realized that you are using relation-reference widgets
and not value-relation widgets.

I don't think that the current_(parent)_value will work in that case,
it wasn't implemented.

Cheers

On Tue, Dec 6, 2022 at 3:59 PM Andreas Neumann via QGIS-Developer
 wrote:


Hi,

In one of my form setups,  I would like to filter one relation 
reference widget combo box with a filter expression based on the 
selected entry of another relation reference value.


A static filter like:

szenario_art = 'Brand'

works as expected and it returns the filtered values - but as soon as 
I try to base it on the value of another relation reference widget, it 
fails ...


I tried

szenario_art = current_value('szenario_art')

but no records get selected.

Questions:

Does the current_value() return the "internal value" or the "human 
readable" value?

Do I have to eval() something in the filter expression?
Is there a way to test "current_value" somehow? I tried to write the 
changed value into another text widget (with default values on 
update), but it will always return "NULL". In the expression editor, I 
also always get "NULL" in the preview.


Thank you for your help,

Andreas

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer___
QGIS-Developer 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] Question on current_value() expression in the context of filtering relation reference combo boxes

2022-12-06 Thread Alessandro Pasotti via QGIS-Developer
Sorry, I just realized that you are using relation-reference widgets
and not value-relation widgets.

I don't think that the current_(parent)_value will work in that case,
it wasn't implemented.

Cheers

On Tue, Dec 6, 2022 at 3:59 PM Andreas Neumann via QGIS-Developer
 wrote:
>
> Hi,
>
> In one of my form setups,  I would like to filter one relation reference 
> widget combo box with a filter expression based on the selected entry of 
> another relation reference value.
>
> A static filter like:
>
> szenario_art = 'Brand'
>
> works as expected and it returns the filtered values - but as soon as I try 
> to base it on the value of another relation reference widget, it fails ...
>
> I tried
>
> szenario_art = current_value('szenario_art')
>
> but no records get selected.
>
>
> Questions:
>
> Does the current_value() return the "internal value" or the "human readable" 
> value?
> Do I have to eval() something in the filter expression?
> Is there a way to test "current_value" somehow? I tried to write the changed 
> value into another text widget (with default values on update), but it will 
> always return "NULL". In the expression editor, I also always get "NULL" in 
> the preview.
>
> Thank you for your help,
>
> Andreas
>
>
>
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:   www.itopen.it
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Question on current_value() expression in the context of filtering relation reference combo boxes

2022-12-06 Thread Alessandro Pasotti via QGIS-Developer
You probably need to use current_parent_value() to get the value of
the "parent" form in case of embedded sub-forms.

On Tue, Dec 6, 2022 at 4:34 PM Andreas Neumann  wrote:
>
> Hi Ale,
>
> Thanks for your information.
>
> What if both tables have the same column names? Would that also work?
>
> In my case the related table contains a field called "szenario_art" and the 
> parent table also has the same field name.
>
> Can one assume that a field left of the operator will be in the related table 
> while fields right of the operator are in the parent table? Or how would the 
> expression distinguish the fields if they appear in both tables?
>
> Thanks,
> Andreas
>
> On 2022-12-06 16:29, Alessandro Pasotti wrote:
>
> On Tue, Dec 6, 2022 at 3:59 PM Andreas Neumann via QGIS-Developer
>  wrote:
>
>
> Hi,
>
> In one of my form setups,  I would like to filter one relation reference 
> widget combo box with a filter expression based on the selected entry of 
> another relation reference value.
>
> A static filter like:
>
> szenario_art = 'Brand'
>
> works as expected and it returns the filtered values - but as soon as I try 
> to base it on the value of another relation reference widget, it fails ...
>
> I tried
>
> szenario_art = current_value('szenario_art')
>
> but no records get selected.
>
>
> Questions:
>
> Does the current_value() return the "internal value" or the "human readable" 
> value?
>
>
> The internal value.
>
> Do I have to eval() something in the filter expression?
>
>
> No.
>
> Is there a way to test "current_value" somehow? I tried to write the changed 
> value into another text widget (with default values on update), but it will 
> always return "NULL". In the expression editor, I also always get "NULL" in 
> the preview.
>
>
> That should work, the current_value returns the current value of the
> feature being edited in the context of the form, this includes any
> change that took place in the form.
>
> You might get null values in the editor and the preview because there
> is no form context in that case.
>
>
>
>


-- 
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:   www.itopen.it
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Question on current_value() expression in the context of filtering relation reference combo boxes

2022-12-06 Thread Andreas Neumann via QGIS-Developer

Hi Ale,

Thanks for your information.

What if both tables have the same column names? Would that also work?

In my case the related table contains a field called "szenario_art" and 
the parent table also has the same field name.


Can one assume that a field left of the operator will be in the related 
table while fields right of the operator are in the parent table? Or how 
would the expression distinguish the fields if they appear in both 
tables?


Thanks,
Andreas

On 2022-12-06 16:29, Alessandro Pasotti wrote:


On Tue, Dec 6, 2022 at 3:59 PM Andreas Neumann via QGIS-Developer
 wrote:


Hi,

In one of my form setups,  I would like to filter one relation 
reference widget combo box with a filter expression based on the 
selected entry of another relation reference value.


A static filter like:

szenario_art = 'Brand'

works as expected and it returns the filtered values - but as soon as 
I try to base it on the value of another relation reference widget, it 
fails ...


I tried

szenario_art = current_value('szenario_art')

but no records get selected.

Questions:

Does the current_value() return the "internal value" or the "human 
readable" value?


The internal value.


Do I have to eval() something in the filter expression?


No.

Is there a way to test "current_value" somehow? I tried to write the 
changed value into another text widget (with default values on 
update), but it will always return "NULL". In the expression editor, I 
also always get "NULL" in the preview.


That should work, the current_value returns the current value of the
feature being edited in the context of the form, this includes any
change that took place in the form.

You might get null values in the editor and the preview because there
is no form context in that case.___
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] Question on current_value() expression in the context of filtering relation reference combo boxes

2022-12-06 Thread Alessandro Pasotti via QGIS-Developer
On Tue, Dec 6, 2022 at 3:59 PM Andreas Neumann via QGIS-Developer
 wrote:
>
> Hi,
>
> In one of my form setups,  I would like to filter one relation reference 
> widget combo box with a filter expression based on the selected entry of 
> another relation reference value.
>
> A static filter like:
>
> szenario_art = 'Brand'
>
> works as expected and it returns the filtered values - but as soon as I try 
> to base it on the value of another relation reference widget, it fails ...
>
> I tried
>
> szenario_art = current_value('szenario_art')
>
> but no records get selected.
>
>
> Questions:
>
> Does the current_value() return the "internal value" or the "human readable" 
> value?

The internal value.

> Do I have to eval() something in the filter expression?

No.

> Is there a way to test "current_value" somehow? I tried to write the changed 
> value into another text widget (with default values on update), but it will 
> always return "NULL". In the expression editor, I also always get "NULL" in 
> the preview.

That should work, the current_value returns the current value of the
feature being edited in the context of the form, this includes any
change that took place in the form.

You might get null values in the editor and the preview because there
is no form context in that case.




-- 
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:   www.itopen.it
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Question about proj data files in the QGIS application folder

2022-11-08 Thread Andreas Neumann via QGIS-Developer

Hi Luca,

There are certain files in this share/proj folder that you should not 
delete, because otherwise QGIS would behave strange:


- copyright_and_licenses.csv (not sure if it s necessary)

- deformation_model.schema.json

- other.extra

- proj.db

- proj.ini

- projjson.schema.json

- README.DATA

- triangulation.schema.json

- world

I also always delete all the other grid shift files that I don't need. 
It is getting a bit overwhelming with all these files (that you never 
need).


Greetings,

Andreas

On 2022-11-08 10:05, Johannes Kröger via QGIS-Developer wrote:

Only if your users use transformations where certain CRSs in those 
areas might be involved. If you are definitely not going to use local 
CRSs in e. g. Germany or the US, you can remove those TIFs. If your 
users attempt to use those CRS, they will receive a fairly descriptive 
error message about certain files missing their installation so it 
should be easy to fix.


Cheers, Hannes

Am 08.11.22 um 09:33 schrieb Luca Manganelli via QGIS-Developer:


Hello,

I am preparing the QGIS Windows package file (it's a zip file) for 
distribution in our organization (we don't use MSI).


I noticed that the folder /share/proj contains TIF files and it weighs 
584 MB, are they necessary for the working of the QGIS?


Thank you and have a nice day
Luca

-

Comune di Trento

via Belenzani, 19 - 38122 Trento | C.F e P. IVA: 00355870221

tel. +39 0461.884111 | www.comune.trento.it [1]

___
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


--
Johannes Kröger / GIS-Entwickler/-Berater

-
Where2B Konferenz 2022
15. Dezember 2022 in Bonn und Online
https://where2b-conference.com/
-

WhereGroup GmbH
Grevenweg 89
20537 Hamburg
Germany

Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11

johannes.kroe...@wheregroup.com
www.wheregroup.com [2]
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
---

___
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




Links:
--
[1] http://www.comune.trento.it
[2] http://www.wheregroup.com___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Question about proj data files in the QGIS application folder

2022-11-08 Thread Alexandre Neto via QGIS-Developer
Hello Luca,

Yes, QGIS uses it for do precise coordinate system translations. Your users
may not use all of them, but I would avoid removing it.

You say you don't use MSI, but why don't you use the OsGeo4w installer?
It's much more convenient for larger organizations. You can do a download
only installation to get all packages into a network drive folder, then
reuse that folder for all installations in the users machines.

Also, to update QGIS, all you need is to run the installer again and it
will only download the updated packages instead of all packages. Again,
first installation will fetch any needed packages, the following machines
will just reuse it.

Alexandre Neto
User Support
www.qcooperative.net

A terça, 8/11/2022, 08:34, Luca Manganelli via QGIS-Developer <
qgis-developer@lists.osgeo.org> escreveu:

> Hello,
>
> I am preparing the QGIS Windows package file (it's a zip file) for
> distribution in our organization (we don't use MSI).
>
> I noticed that the folder /share/proj contains TIF files and it weighs 584
> MB, are they necessary for the working of the QGIS?
>
> Thank you and have a nice day
> Luca
>
>
> --
>
> Comune di Trento
>
> via Belenzani, 19 - 38122 Trento | C.F e P. IVA: 00355870221
>
> tel. +39 0461.884111 | www.comune.trento.it
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
___
QGIS-Developer 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] Question about proj data files in the QGIS application folder

2022-11-08 Thread WhereGroup
Only if your users use transformations where certain CRSs in those areas 
might be involved. If you are definitely not going to use local CRSs in 
e. g. Germany or the US, you can remove those TIFs. If your users 
attempt to use those CRS, they will receive a fairly descriptive error 
message about certain files missing their installation so it should be 
easy to fix.


Cheers, Hannes

Am 08.11.22 um 09:33 schrieb Luca Manganelli via QGIS-Developer:

Hello,

I am preparing the QGIS Windows package file (it's a zip file) for 
distribution in our organization (we don't use MSI).


I noticed that the folder /share/proj contains TIF files and it weighs 
584 MB, are they necessary for the working of the QGIS?


Thank you and have a nice day
Luca






Comune di Trento

via Belenzani, 19 - 38122 Trento | C.F e P. IVA: 00355870221

tel. +39 0461.884111 | www.comune.trento.it 


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


--
Johannes Kröger / GIS-Entwickler/-Berater

-
Where2B Konferenz 2022
15. Dezember 2022 in Bonn und Online
https://where2b-conference.com/
-

WhereGroup GmbH
Grevenweg 89
20537 Hamburg
Germany

Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11

johannes.kroe...@wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
---
___
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] Question on @atlas_featureid

2021-07-12 Thread Andreas Neumann

Hi Matthias,

Ok - this is the case here. ili2pg creates bigint pkeys. That explains 
why I see the "unrelated" internal pkeys from QGIS instead.


It would be really nice if we had an option to create normal "integer" 
pkeys with ili2pg instead of bigint. Other GIS (like Geomedia) had 
issues with bigint pkeys as well (at least in older versions).


In 99% of our cases bigint isn't necessary and the ranger of normal 
integer good enough.


I'll open an issue at ili2pg.

Thanks for you explanation, Matthias!

Andreas

On 2021-07-12 07:59, Matthias Kuhn wrote:


Hi

It depends on the implementation in the data provider (and normally on 
the data type for the primary key).


In the postgres case, (up to) 32 bit integer primary keys are normally 
used as fid.
With others like 64 bit integer, string or compound foreign keys it's 
not possible to stick to this approach, so an internal fid to pk map is 
generated by the provider at runtime.


64 bit integers cannot be directly reused as fid because QGIS stores 
fids internally with 64 bit, but reserves the (negative, -1, -2, ...) 
half of the available values for new, uncommitted features.


Matthias

On Thu, Jul 8, 2021 at 11:50 AM Andreas Neumann  
wrote:


Ok - that explains it.

It is quite confusing that QGIS uses a different internal ID than the 
primary key column of the database. Is there a technical reason for 
this behaviour?


Andreas

On Thu, 8 Jul 2021 at 11:43, Alexandre Neto  
wrote:


As far as I remember @atlas_featureid has always returned the same as 
the $id in the attributes table, which is kind of the internal row 
number.


Alex

A quinta, 8/07/2021, 10:35, Andreas Neumann  
escreveu:


HI Jürgen,

Yes - I provided the primary key column

Here is my data source string:

service='edit' authcfg=sogis00 key='t_id' srid=2056 type=Polygon 
checkPrimaryKeyUnicity='1' 
table="alw_strukturverbesserungen"."projekt_aggregiert_v" 
(geometrie_convex_hull) sql=geometrie_bbox IS NOT NULL


@atlas_featureid returns something like an internal "row number" or 
similar, but not the column "t_id" as defined in the data source 
string.


Andreas

On Thu, 8 Jul 2021 at 10:42, Jürgen E. Fischer  wrote: 
Hi Andreas,


On Thu, 08. Jul 2021 at 10:30:08 +0200, Andreas Neumann wrote:
attribute(@atlas_feature,'pkey_name'), but it is a little more 
complicated
than @atlas_featureid - and I'm pretty sure that @atlas_featureid was 
using

the pkey column in th past?

My data source for the atlas coverage layer is a Postgis View.


It's probably not using the column you expect for the feature id.  Did 
you

specify the key column when adding the view?

Jürgen

--
Jürgen E. Fischer   norBIT GmbH Tel. 
+49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. 
+49-4931-918175-50
Software Engineer   D-26506 Norden
https://www.norbit.de
QGIS release manager (PSC)  Germany IRC: jef on 
Libera|OFTC

___
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

--

--
Andreas Neumann QGIS.ORG [1] board member (treasurer) 
___

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


--

--
Andreas Neumann QGIS.ORG [1] board member (treasurer) 
___

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



Links:
--
[1] http://QGIS.ORG___
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] Question on @atlas_featureid

2021-07-12 Thread Matthias Kuhn
Hi

It depends on the implementation in the data provider (and normally on the
data type for the primary key).

In the postgres case, (up to) 32 bit integer primary keys are normally used
as fid.
With others like 64 bit integer, string or compound foreign keys it's not
possible to stick to this approach, so an internal fid to pk map is
generated by the provider at runtime.

64 bit integers cannot be directly reused as fid because QGIS stores fids
internally with 64 bit, but reserves the (negative, -1, -2, ...) half of
the available values for new, uncommitted features.

Matthias


On Thu, Jul 8, 2021 at 11:50 AM Andreas Neumann  wrote:

> Ok - that explains it.
>
> It is quite confusing that QGIS uses a different internal ID than the
> primary key column of the database. Is there a technical reason for this
> behaviour?
>
> Andreas
>
>
>
> On Thu, 8 Jul 2021 at 11:43, Alexandre Neto  wrote:
>
>> As far as I remember @atlas_featureid has always returned the same as the
>> $id in the attributes table, which is kind of the internal row number.
>>
>> Alex
>>
>> A quinta, 8/07/2021, 10:35, Andreas Neumann  escreveu:
>>
>>> HI Jürgen,
>>>
>>> Yes - I provided the primary key column
>>>
>>> Here is my data source string:
>>>
>>> service='edit' authcfg=sogis00 key='t_id' srid=2056 type=Polygon
>>> checkPrimaryKeyUnicity='1'
>>> table="alw_strukturverbesserungen"."projekt_aggregiert_v"
>>> (geometrie_convex_hull) sql=geometrie_bbox IS NOT NULL
>>>
>>> @atlas_featureid returns something like an internal "row number" or
>>> similar, but not the column "t_id" as defined in the data source string.
>>>
>>> Andreas
>>>
>>> On Thu, 8 Jul 2021 at 10:42, Jürgen E. Fischer  wrote:
>>>
 Hi Andreas,

 On Thu, 08. Jul 2021 at 10:30:08 +0200, Andreas Neumann wrote:
 > attribute(@atlas_feature,'pkey_name'), but it is a little more
 complicated
 > than @atlas_featureid - and I'm pretty sure that @atlas_featureid was
 using
 > the pkey column in th past?
 >
 > My data source for the atlas coverage layer is a Postgis View.

 It's probably not using the column you expect for the feature id.  Did
 you
 specify the key column when adding the view?


 Jürgen

 --
 Jürgen E. Fischer   norBIT GmbH Tel.
 +49-4931-918175-31
 Dipl.-Inf. (FH) Rheinstraße 13  Fax.
 +49-4931-918175-50
 Software Engineer   D-26506 Norden
 https://www.norbit.de
 QGIS release manager (PSC)  Germany IRC: jef on
 Libera|OFTC
 ___
 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

>>>
>>>
>>> --
>>>
>>> --
>>> Andreas Neumann
>>> QGIS.ORG board member (treasurer)
>>> ___
>>> 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
>>>
>>
>
> --
>
> --
> Andreas Neumann
> QGIS.ORG board member (treasurer)
> ___
> 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] Question on @atlas_featureid

2021-07-08 Thread Andreas Neumann
Ok - that explains it.

It is quite confusing that QGIS uses a different internal ID than the
primary key column of the database. Is there a technical reason for this
behaviour?

Andreas



On Thu, 8 Jul 2021 at 11:43, Alexandre Neto  wrote:

> As far as I remember @atlas_featureid has always returned the same as the
> $id in the attributes table, which is kind of the internal row number.
>
> Alex
>
> A quinta, 8/07/2021, 10:35, Andreas Neumann  escreveu:
>
>> HI Jürgen,
>>
>> Yes - I provided the primary key column
>>
>> Here is my data source string:
>>
>> service='edit' authcfg=sogis00 key='t_id' srid=2056 type=Polygon
>> checkPrimaryKeyUnicity='1'
>> table="alw_strukturverbesserungen"."projekt_aggregiert_v"
>> (geometrie_convex_hull) sql=geometrie_bbox IS NOT NULL
>>
>> @atlas_featureid returns something like an internal "row number" or
>> similar, but not the column "t_id" as defined in the data source string.
>>
>> Andreas
>>
>> On Thu, 8 Jul 2021 at 10:42, Jürgen E. Fischer  wrote:
>>
>>> Hi Andreas,
>>>
>>> On Thu, 08. Jul 2021 at 10:30:08 +0200, Andreas Neumann wrote:
>>> > attribute(@atlas_feature,'pkey_name'), but it is a little more
>>> complicated
>>> > than @atlas_featureid - and I'm pretty sure that @atlas_featureid was
>>> using
>>> > the pkey column in th past?
>>> >
>>> > My data source for the atlas coverage layer is a Postgis View.
>>>
>>> It's probably not using the column you expect for the feature id.  Did
>>> you
>>> specify the key column when adding the view?
>>>
>>>
>>> Jürgen
>>>
>>> --
>>> Jürgen E. Fischer   norBIT GmbH Tel.
>>> +49-4931-918175-31
>>> Dipl.-Inf. (FH) Rheinstraße 13  Fax.
>>> +49-4931-918175-50
>>> Software Engineer   D-26506 Norden
>>> https://www.norbit.de
>>> QGIS release manager (PSC)  Germany IRC: jef on
>>> Libera|OFTC
>>> ___
>>> 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
>>>
>>
>>
>> --
>>
>> --
>> Andreas Neumann
>> QGIS.ORG board member (treasurer)
>> ___
>> 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
>>
>

-- 

--
Andreas Neumann
QGIS.ORG board member (treasurer)
___
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] Question on @atlas_featureid

2021-07-08 Thread Alexandre Neto
As far as I remember @atlas_featureid has always returned the same as the
$id in the attributes table, which is kind of the internal row number.

Alex

A quinta, 8/07/2021, 10:35, Andreas Neumann  escreveu:

> HI Jürgen,
>
> Yes - I provided the primary key column
>
> Here is my data source string:
>
> service='edit' authcfg=sogis00 key='t_id' srid=2056 type=Polygon
> checkPrimaryKeyUnicity='1'
> table="alw_strukturverbesserungen"."projekt_aggregiert_v"
> (geometrie_convex_hull) sql=geometrie_bbox IS NOT NULL
>
> @atlas_featureid returns something like an internal "row number" or
> similar, but not the column "t_id" as defined in the data source string.
>
> Andreas
>
> On Thu, 8 Jul 2021 at 10:42, Jürgen E. Fischer  wrote:
>
>> Hi Andreas,
>>
>> On Thu, 08. Jul 2021 at 10:30:08 +0200, Andreas Neumann wrote:
>> > attribute(@atlas_feature,'pkey_name'), but it is a little more
>> complicated
>> > than @atlas_featureid - and I'm pretty sure that @atlas_featureid was
>> using
>> > the pkey column in th past?
>> >
>> > My data source for the atlas coverage layer is a Postgis View.
>>
>> It's probably not using the column you expect for the feature id.  Did you
>> specify the key column when adding the view?
>>
>>
>> Jürgen
>>
>> --
>> Jürgen E. Fischer   norBIT GmbH Tel.
>> +49-4931-918175-31
>> Dipl.-Inf. (FH) Rheinstraße 13  Fax.
>> +49-4931-918175-50
>> Software Engineer   D-26506 Norden
>> https://www.norbit.de
>> QGIS release manager (PSC)  Germany IRC: jef on
>> Libera|OFTC
>> ___
>> 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
>>
>
>
> --
>
> --
> Andreas Neumann
> QGIS.ORG board member (treasurer)
> ___
> 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] Question on @atlas_featureid

2021-07-08 Thread Andreas Neumann
HI Jürgen,

Yes - I provided the primary key column

Here is my data source string:

service='edit' authcfg=sogis00 key='t_id' srid=2056 type=Polygon
checkPrimaryKeyUnicity='1'
table="alw_strukturverbesserungen"."projekt_aggregiert_v"
(geometrie_convex_hull) sql=geometrie_bbox IS NOT NULL

@atlas_featureid returns something like an internal "row number" or
similar, but not the column "t_id" as defined in the data source string.

Andreas

On Thu, 8 Jul 2021 at 10:42, Jürgen E. Fischer  wrote:

> Hi Andreas,
>
> On Thu, 08. Jul 2021 at 10:30:08 +0200, Andreas Neumann wrote:
> > attribute(@atlas_feature,'pkey_name'), but it is a little more
> complicated
> > than @atlas_featureid - and I'm pretty sure that @atlas_featureid was
> using
> > the pkey column in th past?
> >
> > My data source for the atlas coverage layer is a Postgis View.
>
> It's probably not using the column you expect for the feature id.  Did you
> specify the key column when adding the view?
>
>
> Jürgen
>
> --
> Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
> Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
> Software Engineer   D-26506 Norden
> https://www.norbit.de
> QGIS release manager (PSC)  Germany IRC: jef on Libera|OFTC
> ___
> 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
>


-- 

--
Andreas Neumann
QGIS.ORG board member (treasurer)
___
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] Question on @atlas_featureid

2021-07-08 Thread Jürgen E . Fischer
Hi Andreas,

On Thu, 08. Jul 2021 at 10:30:08 +0200, Andreas Neumann wrote:
> attribute(@atlas_feature,'pkey_name'), but it is a little more complicated
> than @atlas_featureid - and I'm pretty sure that @atlas_featureid was using
> the pkey column in th past?
> 
> My data source for the atlas coverage layer is a Postgis View.

It's probably not using the column you expect for the feature id.  Did you
specify the key column when adding the view?


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Nordenhttps://www.norbit.de
QGIS release manager (PSC)  Germany IRC: jef on Libera|OFTC


signature.asc
Description: PGP signature
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Juergen Fischer, Nils Kutscher HR: Amtsgericht Aurich HRB 100827
Datenschutzerklaerung: https://www.norbit.de/83/
___
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] Question

2020-10-22 Thread Marco Hugentobler


Am 22.10.20 um 08:48 schrieb Raymond Nijssen:

Hi Guillaume,

A 5% progress after 5 days still sounds extremely slow! That would 
take approximately 100 days to finish on 1 core, or 2 days (72 hours!) 
on 32 cores.


I don't know how large or complicated these shapefiles are, but you 
might try to find the solution in another way.


- Make sure you are using indexes?
- Select non-overlapping shapes and delete them?
- Split the files in parts?
- Move to Postgis? (Am I allowed to suggest that here? ;) )

@Marco Shouldn't that code end up in QGIS or is it still in your repo 
for a reason?


I don't know the reason it was never merged. All the feedback has been 
addressed and the unit tests passed.


Regards,

Marco




Kind regards,
Raymond




On 22-10-2020 07:20, Marco Hugentobler wrote:

Hi Guillaume


 >My question: Is there a way to take advantage of the fact that I 
have 32 cores on my computer with QGIS to make this calculation? I 
don't understand why it is so slow.



Yes, there is. Compile the code from the 
'processing_multithreaded_vector' branch in my repo 
(https://github.com/mhugent/QGIS/tree/processing_multithreaded_vector). 
It calculates the difference operation on multiple cores (see also 
https://github.com/qgis/QGIS/pull/33365).



Regards,

Marco


Am 22.10.20 um 03:05 schrieb guillaume martel:

Hi,

I don't know if I'm writing at the wrong place...

I have 2 shapefiles and I want to do a "difference operation" 
(https://docs.qgis.org/3.10/en/docs/user_manual/processing_algs/qgis/vectoroverlay.html). 



My issue is as follow: Even though I have a powerful computer, after 
5 days the calculation is only at 5%.


My question: Is there a way to take advantage of the fact that I 
have 32 cores on my computer with QGIS to make this calculation? I 
don't understand why it is so slow.


Thank you for your help.

Guillaume

___
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


--
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentob...@sourcepole.ch  http://www.sourcepole.ch


___
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


--
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentob...@sourcepole.ch http://www.sourcepole.ch

___
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] Question

2020-10-22 Thread Raymond Nijssen

Hi Guillaume,

A 5% progress after 5 days still sounds extremely slow! That would take 
approximately 100 days to finish on 1 core, or 2 days (72 hours!) on 32 
cores.


I don't know how large or complicated these shapefiles are, but you 
might try to find the solution in another way.


- Make sure you are using indexes?
- Select non-overlapping shapes and delete them?
- Split the files in parts?
- Move to Postgis? (Am I allowed to suggest that here? ;) )

@Marco Shouldn't that code end up in QGIS or is it still in your repo 
for a reason?


Kind regards,
Raymond




On 22-10-2020 07:20, Marco Hugentobler wrote:

Hi Guillaume


 >My question: Is there a way to take advantage of the fact that I have 
32 cores on my computer with QGIS to make this calculation? I don't 
understand why it is so slow.



Yes, there is. Compile the code from the 
'processing_multithreaded_vector' branch in my repo 
(https://github.com/mhugent/QGIS/tree/processing_multithreaded_vector). 
It calculates the difference operation on multiple cores (see also 
https://github.com/qgis/QGIS/pull/33365).



Regards,

Marco


Am 22.10.20 um 03:05 schrieb guillaume martel:

Hi,

I don't know if I'm writing at the wrong place...

I have 2 shapefiles and I want to do a "difference operation" 
(https://docs.qgis.org/3.10/en/docs/user_manual/processing_algs/qgis/vectoroverlay.html).


My issue is as follow: Even though I have a powerful computer, after 5 
days the calculation is only at 5%.


My question: Is there a way to take advantage of the fact that I have 
32 cores on my computer with QGIS to make this calculation? I don't 
understand why it is so slow.


Thank you for your help.

Guillaume

___
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


--
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentob...@sourcepole.ch  http://www.sourcepole.ch


___
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] Question

2020-10-21 Thread Marco Hugentobler

Hi Guillaume


>My question: Is there a way to take advantage of the fact that I have 
32 cores on my computer with QGIS to make this calculation? I don't 
understand why it is so slow.



Yes, there is. Compile the code from the 
'processing_multithreaded_vector' branch in my repo 
(https://github.com/mhugent/QGIS/tree/processing_multithreaded_vector). 
It calculates the difference operation on multiple cores (see also 
https://github.com/qgis/QGIS/pull/33365).



Regards,

Marco


Am 22.10.20 um 03:05 schrieb guillaume martel:

Hi,

I don't know if I'm writing at the wrong place...

I have 2 shapefiles and I want to do a "difference operation" 
(https://docs.qgis.org/3.10/en/docs/user_manual/processing_algs/qgis/vectoroverlay.html).


My issue is as follow: Even though I have a powerful computer, after 5 
days the calculation is only at 5%.


My question: Is there a way to take advantage of the fact that I have 
32 cores on my computer with QGIS to make this calculation? I don't 
understand why it is so slow.


Thank you for your help.

Guillaume

___
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


--
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentob...@sourcepole.ch http://www.sourcepole.ch

___
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] Question on QGIS Authentication API

2020-02-03 Thread C Hamilton
John,

Thanks for that hint. Here is what I finally used.

auth_mgr = QgsApplication.authManager()
conf_map = auth_mgr.availableAuthMethodConfigs()
for key in conf_map.keys():
name = conf_map[key].name()
print( key )
print( name )

So that gives me both the authentication id and its name. Thanks so much.

Calvin

On Mon, Feb 3, 2020 at 6:24 AM John Gitau  wrote:

> Hi Calvin,
>
> You can retrieve the name from the base config object as follows:
>
> auth_mgr = QgsApplication.authManager()
> conf_map = auth_mgr.availableAuthMethodConfigs()
> for id, conf in conf_map.iteritems():
> conf_name = conf.name()
> print conf_name
>
> I hope this helps.
>
> Cheers,
>
> John
>
> On Fri, Jan 31, 2020 at 11:11 PM C Hamilton 
> wrote:
>
>> I can get a list of all of the authentication IDs in QGIS by these two
>> lines of code.
>>
>> authMgr = QgsApplication.authManager()
>> authIdList = authMgr.configIds()
>>
>> Starting from one of the authentication ids in the list I cannot seem to
>> find out how to retrieve its associated name. It is probably simple, but I
>> cannot find the right method to call. Does anyone know how to do it?
>>
>> Thanks,
>>
>> Calvin
>> ___
>> 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] Question on QGIS Authentication API

2020-02-03 Thread John Gitau
Hi Calvin,

You can retrieve the name from the base config object as follows:

auth_mgr = QgsApplication.authManager()
conf_map = auth_mgr.availableAuthMethodConfigs()
for id, conf in conf_map.iteritems():
conf_name = conf.name()
print conf_name

I hope this helps.

Cheers,

John

On Fri, Jan 31, 2020 at 11:11 PM C Hamilton  wrote:

> I can get a list of all of the authentication IDs in QGIS by these two
> lines of code.
>
> authMgr = QgsApplication.authManager()
> authIdList = authMgr.configIds()
>
> Starting from one of the authentication ids in the list I cannot seem to
> find out how to retrieve its associated name. It is probably simple, but I
> cannot find the right method to call. Does anyone know how to do it?
>
> Thanks,
>
> Calvin
> ___
> 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] Question QGIS and PROJ

2019-11-05 Thread Eduardo Rojas Rodríguez
Oh! I see thank you Andreas

Thanks for all the work, as you say I will be patient!



-
Eduardo Rojas Rodríguez
Analista en SIG
SOLTIG
Tel: (506) 2435-8868 / (506) 4001-5214 
eduardo.ro...@soltig.net
http://soltig.net


--
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] Question QGIS and PROJ

2019-11-05 Thread Andreas Neumann
Hi Eduardo, 


Jürgen is waiting for GRASS being able to properly build against GDAL 3x
and proj6. 


See
https://lists.osgeo.org/pipermail/qgis-developer/2019-November/059143.html


You just have to be patient a bit. 

Greetings, 

Andreas 


On 2019-11-05 16:39, Eduardo Rojas Rodríguez wrote:


Hi devs!

Sorry Im a little out of the loop, (I was in vacations) I was under the
impression that for QGIS 3.10 the Windows packages will be ship with PROJ 6.

I understand that you can build QGIS with PROJ 6 now, but I was expecting to
see PROJ 6 in QGIS 3.10 as default.

Maybe Im completely lost but. When should we see PROJ 6 as default in QGIS?

Thanks for the help!

-
Eduardo Rojas Rodríguez
Analista en SIG
SOLTIG
Tel: (506) 2435-8868 / (506) 4001-5214 
eduardo.ro...@soltig.net

http://soltig.net

--
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___
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] Question on POI Exporter ColorHash

2019-06-29 Thread tnguessan
Hi 
Sorry for the delay, bad internet connection, and for this misunderstanding; 
I've retired the package from the qgis plugin repo, as I realize it's a bad 
form too. 
I had collaborated on poi exporter plugin adding "comment field" to the dialog 
form. 

-Message d'origine-
De : Nyall Dawson  
Envoyé : jeudi 27 juin 2019 23:24
À : C Hamilton 
Cc : qgis-developer ; 
tngues...@portails-irafrique.com
Objet : Re: [QGIS-Developer] Question on POI Exporter ColorHash

On Fri, 28 Jun 2019 at 00:42, C Hamilton  wrote:
>
> I should also say that this person only contacted me about adding a feature, 
> but never suggested making code modifications and then doing a pull request.
>
> I don't think it is a good policy to take an existing plugin, add a feature, 
> and release it as a new plugin unless the original plugin has been abandoned.

Me either -- this is bad form in my opinion too.

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] Question on POI Exporter ColorHash

2019-06-27 Thread C Hamilton
I should also say that this person only contacted me about adding a
feature, but never suggested making code modifications and then doing a
pull request.

I don't think it is a good policy to take an existing plugin, add a
feature, and release it as a new plugin unless the original plugin has been
abandoned.

I await your guidance on this matter.

Thanks,

Calvin

On Thu, Jun 27, 2019 at 10:17 AM C Hamilton  wrote:

> I'd had the request to do this color hash for POI Exporter, but didn't get
> around to it so tnguessan released his own version. I think ideally it
> would have been better for tnguessan to have made the modifications to POI
> Exporter then do a pull request. I don't mind if he wants to take over this
> project, but we now have two POI Exporters. Should mine be deprecated?
> Would it be better for tnguessan to take over the 'POI Exporter' name?
> Would it be better to just keep the POI Exporter and have a pull request
> done? I could make him a part of the POI Exporter team.
>
> I really don't want to see two plugins that are diverging but basically
> doing the same thing. The plugin repo really only needs one. What is the
> best approach?
>
> Thanks,
>
> Calvin
>
___
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] Question about debian packages version policy on https://qgis.org/

2019-03-01 Thread Jürgen E . Fischer
Hi David,

On Fri, 01. Mar 2019 at 13:54:55 +0100, David Marteau wrote:
> On https://www.qgis.org  it is said that the version
> available on https://qgis.org/debian  is the 3.6.x
> but actually only the 3.4.4 is the latest  available on debian stretch. 

> The 3.6.x is available only on 'buster' which is the next debian release.   
 
> Is that on purpose ?

Yes.  See footnote [4] on

https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu

QGIS 3.6 requires Qt 5.9.  As stretch has 5.7 the latest qgis release is no
longer supported on stretch.


> Furthemore, the ltr has been updated to 3.4.5 but the 3.4.5  has not been
> made available as 'release' (i.e  available on https://qgis.org/debian
> ), is there a reason for that ?

debian/ has 3.6 now.  3.4.5 is in debian-ltr/.



Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Nordenhttps://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Juergen Fischer, Nils Kutscher HR: Amtsgericht Aurich HRB 100827
Datenschutzerklaerung: https://www.norbit.de/83/

___
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] Question on FGDB support for "Save As" / "Export"

2018-08-05 Thread James Wood
As a QGIS and ArcGIS user, I am glad the file geodatabase support is there, so 
please don’t take the following negatively. I am the Spatial Infrastructure 
Manager for a statewide Next Generation 9-1-1 implementation here in the U.S., 
and we have successfully shared data with local public safety agencies using 
GeoPackage generated from the Esri suite. Alex had mentioned this earlier, but 
I wanted to elaborate so you could pass it on to your constituents if need be.  

Users can create SpatiaLite or GeoPackage (v1.0, 1.1, 1.2) using either the 
Python Console or a Python script stored in the Workspace toolset under the 
Data Management Tools toolbox. This works at all license levels (Basic, 
Standard, or Advanced) and in Desktop (ArcMap\ArcCatalog) and ArcGIS Pro. 

Here is a link to the Desktop help which, in this case, is the same for Pro:
http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/create-sqlite-database.htm

Once created, it’s easy to drag-and-drop simple feature classes (points, lines, 
and polygons) from ESRI geodatabases into the OGC DB, and from OGC to Esri. We 
have no reported errors from QGIS users in the field with this type of data 
exchange, and vice versa. From my perspective, there is little use for file 
geodatabase exchange unless the other user is at a lesser ArcGIS Desktop 
version (as referenced by Alex). This also promotes the OGC portable database 
model over the use of shapefiles, in which we have seen degradation of 
attributes because of the DBF restrictions. 

v/r
James

Sent from my iPhone

> On Aug 2, 2018, at 08:17, Even Rouault  wrote:
> 
>> On jeudi 2 août 2018 19:34:54 CEST Nyall Dawson wrote:
>>> On Thu, 2 Aug 2018 at 18:21, Andreas Neumann  wrote:
>>> However - I wonder if there would be a way to support both drivers? The
>>> Open Source driver as default for reading. And the FGDB driver for
>>> writing?
>> That's a great idea!
>> 
>> In the QGIS world we'd have to compromise a bit here and not allow
>> editing of existing layers (as you'd normally get with the closed
>> driver). I.e. we'd only use it when writing an existing layer out to a
>> copy on disk (e.g. via right click menu on a vector layer). But still,
>> allowing layers to be saved as a geodatabase would be a step forward.
>> 
>> I'm not sure how this change would need to be made though. At the
>> moment if you install the closed driver in osgeo4w it's always used,
>> for both reading and writing layers. Even/Jürgen is this an osgeo4w
>> thing or a GDAL thing? Is it possible to have two drivers installed
>> for the one format and always read using the closed driver?
> 
> As the FileGDB driver is loaded as a plugin by GDAL, it is registered first, 
> and then probed first when opening a dataset.
> Banning one of the driver can be done by defining GDAL_SKIP=FileGDB or 
> GDAL_SKIP=OpenFileGDB and calling GDALAllRegister() again.
> It is also possible to control which drivers are allowed at dataset opening 
> with GDALOpenEx() and the papszDriversAllowed argument (but that means you 
> need to know this is a FileGeodatabase)
> 
> Even
> 
> -- 
> Spatialys - Geospatial professional services
> http://www.spatialys.com
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
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] Question on FGDB support for "Save As" / "Export"

2018-08-02 Thread Even Rouault
On jeudi 2 août 2018 19:34:54 CEST Nyall Dawson wrote:
> On Thu, 2 Aug 2018 at 18:21, Andreas Neumann  wrote:
> > However - I wonder if there would be a way to support both drivers? The
> > Open Source driver as default for reading. And the FGDB driver for
> > writing?
> That's a great idea!
> 
> In the QGIS world we'd have to compromise a bit here and not allow
> editing of existing layers (as you'd normally get with the closed
> driver). I.e. we'd only use it when writing an existing layer out to a
> copy on disk (e.g. via right click menu on a vector layer). But still,
> allowing layers to be saved as a geodatabase would be a step forward.
> 
> I'm not sure how this change would need to be made though. At the
> moment if you install the closed driver in osgeo4w it's always used,
> for both reading and writing layers. Even/Jürgen is this an osgeo4w
> thing or a GDAL thing? Is it possible to have two drivers installed
> for the one format and always read using the closed driver?

As the FileGDB driver is loaded as a plugin by GDAL, it is registered first, 
and then probed first when opening a dataset.
Banning one of the driver can be done by defining GDAL_SKIP=FileGDB or 
GDAL_SKIP=OpenFileGDB and calling GDALAllRegister() again.
It is also possible to control which drivers are allowed at dataset opening 
with GDALOpenEx() and the papszDriversAllowed argument (but that means you 
need to know this is a FileGeodatabase)

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Question on FGDB support for "Save As" / "Export"

2018-08-02 Thread Alexander Bruy
чт, 2 серп. 2018 о 12:35 Nyall Dawson  пише:
> I'm not sure how this change would need to be made though. At the
> moment if you install the closed driver in osgeo4w it's always used,
> for both reading and writing layers. Even/Jürgen is this an osgeo4w
> thing or a GDAL thing? Is it possible to have two drivers installed
> for the one format and always read using the closed driver?

AFAIK, you can select which driver to use with envronment variable.

> Another complication is that we'd still need a way for users to opt in
> to using the closed driver for reading - as that may sometimes be
> required too... So not a straightforward change, but still one that
> I'd support!

As I understand, we need something like existing rasters drivers list
in the QGIS setttings where one can choose which drivers should be
used. There is already ticket about this https://issues.qgis.org/issues/10313

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

Re: [QGIS-Developer] Question on FGDB support for "Save As" / "Export"

2018-08-02 Thread Nyall Dawson
On Thu, 2 Aug 2018 at 18:21, Andreas Neumann  wrote:
> However - I wonder if there would be a way to support both drivers? The Open 
> Source driver as default for reading. And the FGDB driver for writing?

That's a great idea!

In the QGIS world we'd have to compromise a bit here and not allow
editing of existing layers (as you'd normally get with the closed
driver). I.e. we'd only use it when writing an existing layer out to a
copy on disk (e.g. via right click menu on a vector layer). But still,
allowing layers to be saved as a geodatabase would be a step forward.

I'm not sure how this change would need to be made though. At the
moment if you install the closed driver in osgeo4w it's always used,
for both reading and writing layers. Even/Jürgen is this an osgeo4w
thing or a GDAL thing? Is it possible to have two drivers installed
for the one format and always read using the closed driver?

Another complication is that we'd still need a way for users to opt in
to using the closed driver for reading - as that may sometimes be
required too... So not a straightforward change, but still one that
I'd support!

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] Question on FGDB support for "Save As" / "Export"

2018-08-02 Thread Jürgen E . Fischer
Hi Andreas,

On Tue, 31. Jul 2018 at 12:05:52 +0200, Andreas Neumann wrote:
> 2. Currently, it can only be enabled in the OSGeo4W version by selecting
> the "gdal-filegdb" package. The standalone installer does not include
> this package. 

> About issue 2: 
 
> @Jürgen: can you include the necessary gdal-filegdb package also in the
> standalone installer - or are there license problems? 

The standalone is just a partly snapshot of OSGeo4W (ie. the (virtual)
qgis-full package and all it's dependencies).  Any issues would already apply
to OSGeo4W.

The standalone includes the OSGeo4W Installer so you can add not included
packages afterwards.  Not very convienient of course for people that always
need filegdb.

Inclusion wouldn't be a problem - and just require adding gdal-filegdb as
dependency to the qgis-full.

Lack of (obvious) control which driver to use might be a problem for use (i.e.
setting the environment variable OGR_SKIP) - if you want to switch between the
two drivers.  I don't have much experience with FileGDB.  I only very rarely
got data in FileGDB.


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode


signature.asc
Description: PGP signature
___
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] Question on FGDB support for "Save As" / "Export"

2018-08-02 Thread Andreas Neumann
Hi Nyall, 

I agree - these are valid reasons not to replace the open source FGDB
driver with the closed source one. 

However - I wonder if there would be a way to support both drivers? The
Open Source driver as default for reading. And the FGDB driver for
writing? 

Note that I don't want to encourage usage of FGDB  - I am no fan either.
But it would be nice if we could write them in case a client demands
delivery in FGDB format - which can be the case in some contracts. 

Thanks for keeping the discussion going. 

Andreas 

On 2018-07-31 23:28, Nyall Dawson wrote:

> On Tue, 31 Jul 2018 at 20:06, Andreas Neumann  wrote:
> 
>> About issue 2:
>> 
>> @Jürgen: can you include the necessary gdal-filegdb package also in the 
>> standalone installer - or are there license problems?
> 
> -1 to packaging the gdal-filegdb package by default. My rationale:
> 
> - I've experienced lots of issues with this driver. For one, it's much
> slower to open gdbs, especially over networks. I've also hit bugs in
> the past where the driver doesn't handle certain subset queries in the
> same way as other ogr drivers (I can't recall the exact details, but I
> think the particular issue I hit was fixed.)
> 
> - The driver has known issues. From
> https://www.gdal.org/drv_filegdb.html, there's e.g. this important
> one: "The SDK is known to be unable to open layers with particular
> spatial reference systems.". And then on
> https://www.gdal.org/drv_openfilegdb.html there's a list of features
> that we'd lose by changing to the filegdb driver:
> 
> "Advantages of the OpenFileGDB driver:
> 
> Can read ArcGIS 9.X Geodatabases, and not only 10 or above.
> Can open layers with any spatial reference system.
> Thread-safe (i.e. datasources can be processed in parallel).
> Uses the VSI Virtual File API, enabling the user to read a Geodatabase
> in a ZIP file or stored on a HTTP server.
> Faster on databases with a big number of fields.
> Does not depend on a third-party library.
> Robust against corrupted Geodatabase files.
> 
> Drawbacks of the OpenFileGDB driver:
> 
> Read-only.
> Cannot use spatial indexes.
> Cannot read data from compressed data in CDF format (Compressed Data Format)."
> 
> That's a pretty significant loss in my opinion - especially the point
> about the closed source driver being non thread-safe.
> 
> - The OpenFileGDB driver is very heavily tested for robustness and
> security issues with the ongoing fuzz testing of GDAL drivers.
> 
> - Last, but not least, we'd lose the ability to actually fix issues.
> We'd be dependent on bug fixes in the ESRI SDK, and be powerless to
> get fixes we need implemented.
> 
> These are all significant issues, and the moment we make the switch to
> the closed source driver and give users write support, there's no way
> we can revert this decision and remove the ability to edit GDB files.
> It's not a decision we can make lightly.
> 
> I'd rather leave this decision up to individual users (and those who
> make in-house software packages for deployment in their organisation)
> to make. I.e. leave it as is, where it's effectively an "opt-in"
> change. And push people to helping make the open driver better, as
> it's a more sustainable solution in the long term.
> 
> (Lastly, a rant: I hate file geodatabases. They are the WORST format
> for spatial data that I've seen. It's like ESRI took everything which
> people disliked about shapefiles and magnified those. Instead of a
> handful of files, we get hundreds. Instead of minor user confusion
> about how they need to package all the dependent files, we get this
> super-confusing folder/file mix, which causes all sorts of issues for
> non-ArcGIS software because it just breaks fundamental file management
> assumptions. And they are SLOW. So SLOOW. Even in ArcGIS they are
> slow to open and manage. GIve me shapefiles over this monstrosity any
> day.)
> 
> 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] Question on FGDB support for "Save As" / "Export"

2018-08-01 Thread Alex M
On 07/31/2018 02:28 PM, Nyall Dawson wrote:
> On Tue, 31 Jul 2018 at 20:06, Andreas Neumann  wrote:
> 
>>
>> About issue 2:
>>
>> @Jürgen: can you include the necessary gdal-filegdb package also in the 
>> standalone installer - or are there license problems?
>>
> 
> -1 to packaging the gdal-filegdb package by default. My rationale:
> 
> - I've experienced lots of issues with this driver. For one, it's much
> slower to open gdbs, especially over networks. I've also hit bugs in
> the past where the driver doesn't handle certain subset queries in the
> same way as other ogr drivers (I can't recall the exact details, but I
> think the particular issue I hit was fixed.)
> 
> - The driver has known issues. From
> https://www.gdal.org/drv_filegdb.html, there's e.g. this important
> one: "The SDK is known to be unable to open layers with particular
> spatial reference systems.". And then on
> https://www.gdal.org/drv_openfilegdb.html there's a list of features
> that we'd lose by changing to the filegdb driver:
> 
> "Advantages of the OpenFileGDB driver:
> 
> Can read ArcGIS 9.X Geodatabases, and not only 10 or above.
> Can open layers with any spatial reference system.
> Thread-safe (i.e. datasources can be processed in parallel).
> Uses the VSI Virtual File API, enabling the user to read a Geodatabase
> in a ZIP file or stored on a HTTP server.
> Faster on databases with a big number of fields.
> Does not depend on a third-party library.
> Robust against corrupted Geodatabase files.
> 
> Drawbacks of the OpenFileGDB driver:
> 
> Read-only.
> Cannot use spatial indexes.
> Cannot read data from compressed data in CDF format (Compressed Data Format)."
> 
> That's a pretty significant loss in my opinion - especially the point
> about the closed source driver being non thread-safe.
> 
> - The OpenFileGDB driver is very heavily tested for robustness and
> security issues with the ongoing fuzz testing of GDAL drivers.
> 
> - Last, but not least, we'd lose the ability to actually fix issues.
> We'd be dependent on bug fixes in the ESRI SDK, and be powerless to
> get fixes we need implemented.
> 
> 
> These are all significant issues, and the moment we make the switch to
> the closed source driver and give users write support, there's no way
> we can revert this decision and remove the ability to edit GDB files.
> It's not a decision we can make lightly.
> 
> I'd rather leave this decision up to individual users (and those who
> make in-house software packages for deployment in their organisation)
> to make. I.e. leave it as is, where it's effectively an "opt-in"
> change. And push people to helping make the open driver better, as
> it's a more sustainable solution in the long term.
> 
> (Lastly, a rant: I hate file geodatabases. They are the WORST format
> for spatial data that I've seen. It's like ESRI took everything which
> people disliked about shapefiles and magnified those. Instead of a
> handful of files, we get hundreds. Instead of minor user confusion
> about how they need to package all the dependent files, we get this
> super-confusing folder/file mix, which causes all sorts of issues for
> non-ArcGIS software because it just breaks fundamental file management
> assumptions. And they are SLOW. So SLOOW. Even in ArcGIS they are
> slow to open and manage. GIve me shapefiles over this monstrosity any
> day.)
> 
> Nyall

I agree if there's no way to easily include both drivers and allow the
user to select which to use, the OpenFileGDB should be the default
installed. Perhaps we can make it selectable?

Also, a note on the original question/reason. Are users aware that Arc
products can read gpkg and spatialite formats (since at least ArcMap
10.3). Geopackage is an OGC specification, this to me should provide
leverage for people to argue that it's an acceptable deliverable fully
compatible with ESRI.

Thanks,
Alex

___
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] Question on FGDB support for "Save As" / "Export"

2018-07-31 Thread Nyall Dawson
On Tue, 31 Jul 2018 at 20:06, Andreas Neumann  wrote:

>
> About issue 2:
>
> @Jürgen: can you include the necessary gdal-filegdb package also in the 
> standalone installer - or are there license problems?
>

-1 to packaging the gdal-filegdb package by default. My rationale:

- I've experienced lots of issues with this driver. For one, it's much
slower to open gdbs, especially over networks. I've also hit bugs in
the past where the driver doesn't handle certain subset queries in the
same way as other ogr drivers (I can't recall the exact details, but I
think the particular issue I hit was fixed.)

- The driver has known issues. From
https://www.gdal.org/drv_filegdb.html, there's e.g. this important
one: "The SDK is known to be unable to open layers with particular
spatial reference systems.". And then on
https://www.gdal.org/drv_openfilegdb.html there's a list of features
that we'd lose by changing to the filegdb driver:

"Advantages of the OpenFileGDB driver:

Can read ArcGIS 9.X Geodatabases, and not only 10 or above.
Can open layers with any spatial reference system.
Thread-safe (i.e. datasources can be processed in parallel).
Uses the VSI Virtual File API, enabling the user to read a Geodatabase
in a ZIP file or stored on a HTTP server.
Faster on databases with a big number of fields.
Does not depend on a third-party library.
Robust against corrupted Geodatabase files.

Drawbacks of the OpenFileGDB driver:

Read-only.
Cannot use spatial indexes.
Cannot read data from compressed data in CDF format (Compressed Data Format)."

That's a pretty significant loss in my opinion - especially the point
about the closed source driver being non thread-safe.

- The OpenFileGDB driver is very heavily tested for robustness and
security issues with the ongoing fuzz testing of GDAL drivers.

- Last, but not least, we'd lose the ability to actually fix issues.
We'd be dependent on bug fixes in the ESRI SDK, and be powerless to
get fixes we need implemented.


These are all significant issues, and the moment we make the switch to
the closed source driver and give users write support, there's no way
we can revert this decision and remove the ability to edit GDB files.
It's not a decision we can make lightly.

I'd rather leave this decision up to individual users (and those who
make in-house software packages for deployment in their organisation)
to make. I.e. leave it as is, where it's effectively an "opt-in"
change. And push people to helping make the open driver better, as
it's a more sustainable solution in the long term.

(Lastly, a rant: I hate file geodatabases. They are the WORST format
for spatial data that I've seen. It's like ESRI took everything which
people disliked about shapefiles and magnified those. Instead of a
handful of files, we get hundreds. Instead of minor user confusion
about how they need to package all the dependent files, we get this
super-confusing folder/file mix, which causes all sorts of issues for
non-ArcGIS software because it just breaks fundamental file management
assumptions. And they are SLOW. So SLOOW. Even in ArcGIS they are
slow to open and manage. GIve me shapefiles over this monstrosity any
day.)

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] Question on FGDB support for "Save As" / "Export"

2018-07-31 Thread Andreas Neumann
Hi Matthias, 

We need to be able to select an existing fgdb-folder (as seen by the OS
it is just a regular folder). 

Currently, QGIS just opens the folder and then expects the user to pick
a file, but currently we can't select a folder without traversing deeper
into it. 

Andreas 

On 2018-07-31 13:58, Matthias Kuhn wrote:

> Hi,
> 
> Just a quick question about the file vs. directory problem. Do we need
> to be able to select an existing directory or a new one?
> If it's the latter (new .gdb-folder), we can just use the existing file
> dialog, which will return a path to a file name (but not yet create a
> new file) and we can then have the fgdb driver create a new folder
> instead of a file at this position.
> I might be missing something though.
> 
> Matthias
> 
> On 07/31/2018 12:05 PM, Andreas Neumann wrote: 
> 
>> Hi,
>> 
>> A Swiss QGIS user asked me if/how FGDB for export/Save as can be
>> supported in QGIS - question specifically about the Windows distribution
>> of QGIS 3.x. Sometimes, QGIS users have to deliver results in fgdb
>> format, because their clients require it.
>> 
>> A quick e-mail exchange with Even Roualt revealed the following:
>> 
>> 1. it is already supported if the proper "gdal-filegdb" packages are
>> installed.
>> 
>> 2. Currently, it can only be enabled in the OSGeo4W version by selecting
>> the "gdal-filegdb" package. The standalone installer does not include
>> this package.
>> 
>> 3. There are issues when wanting to "Save As" an additional layer into
>> an already existing FGDB. The problem is that fgdb files are actually
>> directories. And the current "Save As" dialog does not support selecting
>> "directories" to save into, only files. As a workaround, it works if one
>> copy/pastes the full path from the Windows file explorer into the "Save
>> As" dialog, but not when selecting a directory interactively.
>> 
>> Here is some info on the third issue from Even:
>> 
>> "I don't have the solution on top of my mind. According to
>> http://doc.qt.io/qt-5/qfiledialog.html#FileMode-enum it seems that you can
>> setup the selector to select file or directories, but not both.
>> We actually use the QFileDialog::getSaveFileName() API that probably
>> internally resolves to QFileDialog::AnyFile
>> Perhaps a more experience QT dev than me would have an idea.
>> Or an hack (but not sure we can really do better) would be to allow the user
>> to select any file in the .gdb directory, and then automatically strips out
>> the filename to just keep the directory name when we see this a file in in a
>> .gdb directory"
>> 
>> ---
>> 
>> So here are my two questions:
>> 
>> About issue 2:
>> 
>> @Jürgen: can you include the necessary gdal-filegdb package also in the
>> standalone installer - or are there license problems?
>> 
>> About issue 3:
>> 
>> Does some dev have an idea or solution on how to more easily select a
>> folder instead of a file, for the case of writing an additional layer
>> into an already existing .fgdb folder?
>> 
>> Thank you all for your ideas and the discussion,
>> 
>> Andreas
>> 
>> ___
>> QGIS-Developer mailing list
>> QGIS-Developer@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> ___
> QGIS-Developer 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] Question on FGDB support for "Save As" / "Export"

2018-07-31 Thread Matthias Kuhn
Hi,

Just a quick question about the file vs. directory problem. Do we need
to be able to select an existing directory or a new one?
If it's the latter (new .gdb-folder), we can just use the existing file
dialog, which will return a path to a file name (but not yet create a
new file) and we can then have the fgdb driver create a new folder
instead of a file at this position.
I might be missing something though.

Matthias

On 07/31/2018 12:05 PM, Andreas Neumann wrote:
> Hi,
> 
> A Swiss QGIS user asked me if/how FGDB for export/Save as can be
> supported in QGIS - question specifically about the Windows distribution
> of QGIS 3.x. Sometimes, QGIS users have to deliver results in fgdb
> format, because their clients require it.
> 
> A quick e-mail exchange with Even Roualt revealed the following:
> 
> 1. it is already supported if the proper "gdal-filegdb" packages are
> installed.
> 
> 2. Currently, it can only be enabled in the OSGeo4W version by selecting
> the "gdal-filegdb" package. The standalone installer does not include
> this package.
> 
> 3. There are issues when wanting to "Save As" an additional layer into
> an already existing FGDB. The problem is that fgdb files are actually
> directories. And the current "Save As" dialog does not support selecting
> "directories" to save into, only files. As a workaround, it works if one
> copy/pastes the full path from the Windows file explorer into the "Save
> As" dialog, but not when selecting a directory interactively.
> 
> Here is some info on the third issue from Even:
> 
> "I don't have the solution on top of my mind. According to
> http://doc.qt.io/qt-5/qfiledialog.html#FileMode-enum it seems that you can
> setup the selector to select file or directories, but not both.
> We actually use the QFileDialog::getSaveFileName() API that probably
> internally resolves to QFileDialog::AnyFile
> Perhaps a more experience QT dev than me would have an idea.
> Or an hack (but not sure we can really do better) would be to allow the user
> to select any file in the .gdb directory, and then automatically strips out
> the filename to just keep the directory name when we see this a file in in a
> .gdb directory"
> 
> ---
> 
> So here are my two questions:
> 
> About issue 2:
> 
> @Jürgen: can you include the necessary gdal-filegdb package also in the
> standalone installer - or are there license problems?
> 
> About issue 3:
> 
> Does some dev have an idea or solution on how to more easily select a
> folder instead of a file, for the case of writing an additional layer
> into an already existing .fgdb folder?
> 
> Thank you all for your ideas and the discussion,
> 
> Andreas
> 
> 
> 
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
___
QGIS-Developer 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] Question about Mac Installer

2018-02-03 Thread Tim Sutton
Hi

(Adding Larry to CC)

> On 02 Feb 2018, at 16:50, Anita Graser  wrote:
> 
> 
> 
> On Fri, Feb 2, 2018 at 3:41 PM, William Kyngesburye  > wrote:
> I still need to figure out the signing.  I'll probably do it for v3 release.
> 
> One small hitch I'm thinking about is the separate GDAL Complete - I think it 
> would be a bit odd to sign GDAL with a QGIS dev cert, so I am considering 
> making a truly all-in-one QGIS, but I really want GDAL as a separate package 
> because I use it a lot outside QGIS.  There is also the external Python 3 
> that is not signed, which I may also bundle in the QGIS app, and additional 
> python modules which are not signed.  Though loaded as a library to QGIS, I 
> don't know if that matters.
> 
> In the end, even if I make an all-in-one QGIS, I'd still have a separate GDAL 
> installer for those that need it, which wouldn't be signed, along with my 
> Postgres/PostGIS stack (which uses GDAL Complete), also not signed.  So many 
> users would still need to fuss with the macOS security to get that stuff 
> installed and running.
> 
> 
> ​Shouldn't there be an OSGEO certificate? I remember the discussions but not 
> the exact resolution.

Yes I believe one was purchased - perhaps William and Larry can collaborate on 
this since I think Larry has the OSGEO cert.

Regards

Tim

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

—







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

Re: [QGIS-Developer] Question about Mac Installer

2018-02-02 Thread Anita Graser
On Fri, Feb 2, 2018 at 3:41 PM, William Kyngesburye 
wrote:

> I still need to figure out the signing.  I'll probably do it for v3
> release.
>
> One small hitch I'm thinking about is the separate GDAL Complete - I think
> it would be a bit odd to sign GDAL with a QGIS dev cert, so I am
> considering making a truly all-in-one QGIS, but I really want GDAL as a
> separate package because I use it a lot outside QGIS.  There is also the
> external Python 3 that is not signed, which I may also bundle in the QGIS
> app, and additional python modules which are not signed.  Though loaded as
> a library to QGIS, I don't know if that matters.
>
> In the end, even if I make an all-in-one QGIS, I'd still have a separate
> GDAL installer for those that need it, which wouldn't be signed, along with
> my Postgres/PostGIS stack (which uses GDAL Complete), also not signed.  So
> many users would still need to fuss with the macOS security to get that
> stuff installed and running.
>
>
​Shouldn't there be an OSGEO certificate? I remember the discussions but
not the exact resolution.

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] Question about Mac Installer

2018-02-02 Thread William Kyngesburye
I still need to figure out the signing.  I'll probably do it for v3 release.

One small hitch I'm thinking about is the separate GDAL Complete - I think it 
would be a bit odd to sign GDAL with a QGIS dev cert, so I am considering 
making a truly all-in-one QGIS, but I really want GDAL as a separate package 
because I use it a lot outside QGIS.  There is also the external Python 3 that 
is not signed, which I may also bundle in the QGIS app, and additional python 
modules which are not signed.  Though loaded as a library to QGIS, I don't know 
if that matters.

In the end, even if I make an all-in-one QGIS, I'd still have a separate GDAL 
installer for those that need it, which wouldn't be signed, along with my 
Postgres/PostGIS stack (which uses GDAL Complete), also not signed.  So many 
users would still need to fuss with the macOS security to get that stuff 
installed and running.

> On Jan 31, 2018, at 2:45 PM, Tim Sutton  wrote:
> 
> Hi
> 
>> On 31 Jan 2018, at 18:55, Alex M > > wrote:
>> 
>> Question 1.
>> The QGIS.org  download page
>> https://qgis.org/en/site/forusers/download.html 
>>  says:
>> "This version requires separate installation of dependency framework
>> (GDAL Complete) , also found at the download link below."
>> 
>> Kyngchaos says http://www.kyngchaos.com/software/qgis 
>> 
>> "All required items are included on the disk image."
>> 
>> Which is it? I don't actually have a Mac to test, trying to download
>> files to take to others who need it.
> 
> Its kind of both. For convenience, Willian (Kyngchaos) has included all 
> needed installer packages in the QGIS download archive. So simply download 
> it, open the DMG and install each package as indicated by the README inside 
> the DMG.
> 
>> 
>> Question 2.
>> Kyngchaos page states
>> "Install Note: OS X security may block installation, as I'm not an
>> "identified developer" (ie not paying Apple to develop software)."
>> 
>> Didn't OSGeo buy an Apple Signing cert just for issues like this?
> 
> Defer to Jürgen’s answer on this.
> 
> Regards
> 
> Tim
> 
>> 
>> Thanks,
>> Alex
>> ___
>> 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 
>> 
> —
> 
> 
> 
> 
> 
> 
> 
> 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 
> 
-
William Kyngesburye 
http://www.kyngchaos.com/

"We can die but once, and that once we must die.  To be always fearing, then, 
would not avert it, and would make life miserable."

- Tarzan, on death

___
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] Question about Mac Installer

2018-01-31 Thread Tim Sutton
Hi

> On 31 Jan 2018, at 18:55, Alex M  wrote:
> 
> Question 1.
> The QGIS.org download page
> https://qgis.org/en/site/forusers/download.html says:
> "This version requires separate installation of dependency framework
> (GDAL Complete) , also found at the download link below."
> 
> Kyngchaos says http://www.kyngchaos.com/software/qgis
> "All required items are included on the disk image."
> 
> Which is it? I don't actually have a Mac to test, trying to download
> files to take to others who need it.

Its kind of both. For convenience, Willian (Kyngchaos) has included all needed 
installer packages in the QGIS download archive. So simply download it, open 
the DMG and install each package as indicated by the README inside the DMG.

> 
> Question 2.
> Kyngchaos page states
> "Install Note: OS X security may block installation, as I'm not an
> "identified developer" (ie not paying Apple to develop software)."
> 
> Didn't OSGeo buy an Apple Signing cert just for issues like this?

Defer to Jürgen’s answer on this.

Regards

Tim

> 
> Thanks,
> Alex
> ___
> 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

—







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

Re: [QGIS-Developer] Question about Mac Installer

2018-01-31 Thread Jürgen E . Fischer
Hi Alex,

On Wed, 31. Jan 2018 at 08:55:32 -0800, Alex M wrote:
> Question 1.
> The QGIS.org download page
> https://qgis.org/en/site/forusers/download.html says:
> "This version requires separate installation of dependency framework
> (GDAL Complete) , also found at the download link below."

Looks like outdated information.

 
> Kyngchaos says http://www.kyngchaos.com/software/qgis
> "All required items are included on the disk image."

> Which is it? I don't actually have a Mac to test, trying to download
> files to take to others who need it.

I'd follow the advice next to the download.

 
> Question 2.
> Kyngchaos page states
> "Install Note: OS X security may block installation, as I'm not an
> "identified developer" (ie not paying Apple to develop software)."
> 
> Didn't OSGeo buy an Apple Signing cert just for issues like this?

We don't have own packages for OSX yet.  IIRC the cert was initiated by Larry
Shaffer and there was a grant to update the installer scripts and produce a
signed installer[0] - but AFAIK that didn't happen yet.

We only signed the OSGeo4W installer and the Windows standalones so far.


Jürgen


[0] http://blog.qgis.org/2017/04/30/qgis-grant-programme-2-results/

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode


signature.asc
Description: PGP signature
___
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] Question on signed windows installers

2017-08-28 Thread Jürgen E . Fischer
Hi,

On Tue, 22. Aug 2017 at 10:41:33 +0200, Jürgen E. Fischer wrote:
> I added signing for the weekly yesterday.  Requires wine and in turn xvfb -
> because we need to produce an extra installer that installs an uninstaller, so
> we can sign it and include it in the actual installer - runs fine locally (but
> w/o xvfb), but currently the final step crashes with a bus error on qgis2...

Ouch, it's apprently wasn't the signing stuff after all - including the PDBs
just exceeded the 2GB limit for NSIS installer.  w/o the PDBs it works fine.


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode


signature.asc
Description: PGP signature
___
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] Question on signed windows installers

2017-08-24 Thread Paolo Cavallini
Il 23/08/2017 20:48, Tim Sutton ha scritto:
> Hi
> 
> On Tue, Aug 22, 2017 at 10:57 AM, Neumann, Andreas  > wrote:
> 
> Hi Jürgen,
> 
> Thanks a lot for the explanations, your work and efforts around
> signing and fixing the weeklies!
> 
> 
> ​+1 - its really great that you did this, thanks Jürgen!

thanks a lot!

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Question on signed windows installers

2017-08-23 Thread Tim Sutton
Hi

On Tue, Aug 22, 2017 at 10:57 AM, Neumann, Andreas 
wrote:

> Hi Jürgen,
>
> Thanks a lot for the explanations, your work and efforts around signing
> and fixing the weeklies!
>

​+1 - its really great that you did this, thanks Jürgen!

Regards

Tim​



> Another step in order to make QGIS more professional.
>
> Andreas
>
> On 2017-08-22 10:41, Jürgen E. Fischer wrote:
>
> Hi Andreas,
>
> On Tue, 22. Aug 2017 at 09:39:48 +0200, Neumann, Andreas wrote:
>
> I noticed that the Windows all-in-one installers are now signed (Open
> Source Geospatial Foundation). Is 2.18.12 the first signed version or
> were the previous versions also signed?
>
>
> Yes, it's the first one.
>
>
> In any case - wanted to report back that our AV scanner did not complain
> about 2.18.12, whereas it "swallowed" the QGIS 3 weekly without even
> visibly notifying (only in the log file one could see that QGIS 3 was
> sent to quarantine and the original installer file removed). Perhaps
> signing installers builds trust with AV software? Installing over
> OSGEO4W installer is always fine.
>
>
> The weeklies apparently weren't built for a while.  Did anyone else notice?
>
> I added signing for the weekly yesterday.  Requires wine and in turn xvfb -
> because we need to produce an extra installer that installs an
> uninstaller, so
> we can sign it and include it in the actual installer - runs fine locally
> (but
> w/o xvfb), but currently the final step crashes with a bus error on
> qgis2...
>
>
> 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
>
>
>
> ___
> 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
>



-- 
--
​

Tim Sutton
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
Tim is a member of the QGIS Project Steering Committee
---
Kartoza is a merger between Linfiniti and Afrispatial
___
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] Question on signed windows installers

2017-08-22 Thread Neumann, Andreas
Hi Jürgen, 

Thanks a lot for the explanations, your work and efforts around signing
and fixing the weeklies! 

Another step in order to make QGIS more professional. 

Andreas 

On 2017-08-22 10:41, Jürgen E. Fischer wrote:

> Hi Andreas,
> 
> On Tue, 22. Aug 2017 at 09:39:48 +0200, Neumann, Andreas wrote: 
> 
>> I noticed that the Windows all-in-one installers are now signed (Open
>> Source Geospatial Foundation). Is 2.18.12 the first signed version or
>> were the previous versions also signed?
> 
> Yes, it's the first one.
> 
>> In any case - wanted to report back that our AV scanner did not complain
>> about 2.18.12, whereas it "swallowed" the QGIS 3 weekly without even
>> visibly notifying (only in the log file one could see that QGIS 3 was
>> sent to quarantine and the original installer file removed). Perhaps
>> signing installers builds trust with AV software? Installing over
>> OSGEO4W installer is always fine.
> 
> The weeklies apparently weren't built for a while.  Did anyone else notice?
> 
> I added signing for the weekly yesterday.  Requires wine and in turn xvfb -
> because we need to produce an extra installer that installs an uninstaller, so
> we can sign it and include it in the actual installer - runs fine locally (but
> w/o xvfb), but currently the final step crashes with a bus error on qgis2...
> 
> 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___
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] Question on signed windows installers

2017-08-22 Thread Jürgen E . Fischer
Hi Andreas,

On Tue, 22. Aug 2017 at 09:39:48 +0200, Neumann, Andreas wrote:
> I noticed that the Windows all-in-one installers are now signed (Open
> Source Geospatial Foundation). Is 2.18.12 the first signed version or
> were the previous versions also signed? 

Yes, it's the first one.


> In any case - wanted to report back that our AV scanner did not complain
> about 2.18.12, whereas it "swallowed" the QGIS 3 weekly without even
> visibly notifying (only in the log file one could see that QGIS 3 was
> sent to quarantine and the original installer file removed). Perhaps
> signing installers builds trust with AV software? Installing over
> OSGEO4W installer is always fine. 

The weeklies apparently weren't built for a while.  Did anyone else notice?

I added signing for the weekly yesterday.  Requires wine and in turn xvfb -
because we need to produce an extra installer that installs an uninstaller, so
we can sign it and include it in the actual installer - runs fine locally (but
w/o xvfb), but currently the final step crashes with a bus error on qgis2...


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode


signature.asc
Description: PGP signature
___
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] Question about QEP process

2016-12-27 Thread Mark Johnson
>
> Hey Mark,
>
> A QEP should be opened in order for review to take place on any design
> changes that might need descussion.
>
The 'design changes' will be more on how the Georeferencer will work, not
QGIS 3.0 itsself.

> Also please note that 2.x is not receiving any new features as we are now
> working on 3.0. 2.x will only be bug fixes.
>
Although this is being developed with 2.x (where the major changes are
Georeferencer
internal)
- the intention is to offer it mainly as a QGIS 3.0 version (that will also
run with 2.*)
- correcting this that could work better
- extending it ways that as someone who has used it for 100s of projects in
the last 4-5 years useful

The idea of the QEP would therefore be to
- introduce the concept with the reasons why
- and come to consensus

Mark

Regards,
> Nathan
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question about QEP process

2016-12-27 Thread Nathan Woodrow
Hey Mark,

A QEP should be opened in order for review to take place on any design
changes that might need descussion.

Also please note that 2.x is not receiving any new features as we are now
working on 3.0. 2.x will only be bug fixes.

Regards,
Nathan

On Tue, 27 Dec 2016 7:29 pm Mark Johnson  wrote:

> I am preparing a worked over version of the Georeferencer and have come to
> the stage where most of the adapted/new functionality is nearing completion
> and the extensive testing starts.
>
> I have started working on a QEP, based on the template 'QEP-0-Template.md'.
>
> Since a full explanation of the changes and additions are extensive, it
> may take a while to complete the draft.
>
> Since there is no Label 'Draft in preparation', my question is whether to
> continue working on it here until the Draft is complete:
>
> https://github.com/mj10777/QGIS/wiki/QGIS-Enhancement:-Georeferencer
>
> or submit it now, completing it within the next 7-10 days.
>
> There is also the question: keep it short or (what I would prefer)
> extensive?
>
> Mark Johnson, Berlin Germany
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question about expression compiling

2016-02-02 Thread Matthias Kuhn
Hi David,

Have you had a look at the class QgsSqlExpressionCompiler? Other SQL
dialects inherit from this class and fine tune it. Most work should
already be done in there so you just have to take care of the failing tests.

https://github.com/qgis/QGIS/blob/master/src/core/qgssqlexpressioncompiler.cpp

Matthias

On 02/03/2016 12:01 AM, David Adler wrote:
> We are working on the DB2 expression compiler and testing it with a
> Python driver.
>
> For an expression like NAME IS NULL
> What should be the node type of NULL?  It appears to be
> QgsExpression::ntLiteral but it doesn't seem to have a valid value and
> fails the call to quotedValue().
>
> For now we are using a hack to check if n->dump() == NULL and treating
> it as a special case.
>
> Also, I assume that ILIKE is a case insensitive LIKE.
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
Matthias Kuhn
OPENGIS.ch - https://www.opengis.ch
Spatial • (Q)GIS • PostGIS • Open Source




signature.asc
Description: OpenPGP digital signature
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question about statistics panel

2015-10-20 Thread Barry Rowlingson
Ah yes, all the statistical summaries are computed here:

https://github.com/qgis/QGIS/blob/2aa2040e77b1682f00b4e00a4f19c8ff268e9499/src/core/qgsstatisticalsummary.cpp

and there its defined as the number of items in the thing that is
storing the item values:

case Variety:
  return mValueCount.count();




On Tue, Oct 20, 2015 at 6:25 PM, Rowlingson, Barry
 wrote:
> I suspect its the number of different values that the attribute takes.
> So if all the chosen attribute values are "42", the variety is 1. If
> all the attributes are "42" except for one which is "leopard" and one
> which is "slartibartfast" then the variety is 3.
>
> I've got this from playing with selections from a small data set, but
> I expect the source will agree with me!
>
> Barry
>
>
>
> On Tue, Oct 20, 2015 at 2:27 PM, matteo  wrote:
>> Hi all,
>> I'm a little bit confused about one parameter calculated in the
>> statistic panel, **Variety**.
>>
>> What should compute this operator?
>>
>> Thanks!
>>
>> Matteo
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question about statistics panel

2015-10-20 Thread Barry Rowlingson
I suspect its the number of different values that the attribute takes.
So if all the chosen attribute values are "42", the variety is 1. If
all the attributes are "42" except for one which is "leopard" and one
which is "slartibartfast" then the variety is 3.

I've got this from playing with selections from a small data set, but
I expect the source will agree with me!

Barry



On Tue, Oct 20, 2015 at 2:27 PM, matteo  wrote:
> Hi all,
> I'm a little bit confused about one parameter calculated in the
> statistic panel, **Variety**.
>
> What should compute this operator?
>
> Thanks!
>
> Matteo
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question on user conference

2015-03-23 Thread Lene Fischer
Hi
The conference and the Hackfest/developers meeting are at the same location. 
University of Copenhagen- Forestry College, Nødebovej 77a, DK-3480 Fredensborg. 
https://goo.gl/maps/oOiPZ


The conference is from Monday 18. May – Tuesday 19. May.
The Meeting is from Monday 18. May – Friday 22. May. Developers can attend both 
– it is possible to arrive from Saturday 16. May and departure Sunday 24. May. 
(So tourist activity is possible too ☺)

The conference is planned to be parallel so Users and Developers have a chance 
to meet.

And questions about accommodation transport for developers – please write 
direct to me. And please fill in the informations on 
https://hub.qgis.org/wiki/quantum-gis/13_QGIS_Developer_Meeting_in_Copenhagen_2015
 so we have a chance to plan ☺

Regards



Lene Fischer
Associate Professor

Department of Geosciences and Natural Resource Management
University of Copenhagen

MOB +45 40115084
l...@ign.ku.dkmailto:l...@ign.ku.dk


[cid:image001.gif@01D03029.2F3EC6A0]








Fra: Andreas Neumann [mailto:a.neum...@carto.net]
Sendt: 23. marts 2015 16:00
Til: Lene Fischer; qgis-developer; qgis-user
Emne: Question on user conference

Hi Lene,

I have a question on the upcoming QGIS user conf and developer meeting in 
Denmark 
(http://ign.ku.dk/english/outreach-publications/conferences-seminars/international-qgis-user-and-developer-conference/
 and 
https://hub.qgis.org/wiki/quantum-gis/13_QGIS_Developer_Meeting_in_Copenhagen_2015).
 Are both events at the same location ( Nødebo) or is the user conference prior 
to the dev meeting at a different location? The conference web page is not very 
clear about the location (at least I can't find it).

Thanks,
Andreas

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question on inverted polygon renderer

2014-06-21 Thread Régis Haubourg

Hi, 
I finished the video demonstration of mask plugin use case. See 
https://www.youtube.com/watch?v=u29yGSQhX2g
https://www.youtube.com/watch?v=u29yGSQhX2g  

Cheers
Régis



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Question-on-inverted-polygon-renderer-tp5146099p5147139.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question on inverted polygon renderer

2014-06-17 Thread Régis Haubourg
Hi Bernard, 
plugin is coming this week I think.

Bernhard Ströbl wrote
 Thinking about QGIS server: Would there be a chance to use what you 
 describe to keep labels staying away from the edge of the requested map?
 
 Bernhard

current implementation adds a In_mask(srid) expression, that can be used
anywhere in style or labeling settings. If QGIs server fill current mask
geometry with a bbox, slightly smaller than true extent, you will avoid
drawing labels to close from the edges. I'm not sure this is the best design
option, it sounds more like a hack to me.
I will let Hugo explain detailed implementation. 
Cheers
Régis



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Question-on-inverted-polygon-renderer-tp5146099p5146226.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question on inverted polygon renderer

2014-06-17 Thread Mathieu Pellerin
Here's a quick example of what the combination of inverted polygon and
shapeburst fill can do: http://i.imgur.com/7n6rxJx.jpg

Since shapeburst fill can use map-based units, the outer glows-like
effect of polygons can be spatially relevant, i.e. in the above map, the
glow could represent a specific distance, 2km, within which a growing
impact on local population is to be expected.

Math


On Tue, Jun 17, 2014 at 4:15 AM, Nyall Dawson nyall.daw...@gmail.com
wrote:


 On 17/06/2014 6:44 am, Régis Haubourg 
 regis.haubo...@eau-adour-garonne.fr wrote:
 
  inverted style + shapeburst give crazy cool rendering!

 A quick tip if you're using shapeburst with inverted polygons - you must
 have the shade to a set distance option selected, and set a relatively
 small distance. Otherwise you'll see shading from the canvas edges (refs
 #10570, #9757).

 Mathieu Pellerin also has some nice examples of inverted shapeburst fills
 used to shade the exterior of polygons in a thematic map - i'm not sure if
 he's posted them on the flickr group yet.

 Nyall

 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question on inverted polygon renderer

2014-06-17 Thread Hugo Mercier
Hi,

Le 17/06/2014 09:32, Régis Haubourg a écrit :
 Hi Bernard, 
 plugin is coming this week I think.

Yes, it is already available at https://github.com/Oslandia/mask_plugin
A 1.0 version for the official qgis repository is on its way.

 
 Bernhard Ströbl wrote
 Thinking about QGIS server: Would there be a chance to use what you 
 describe to keep labels staying away from the edge of the requested map?

 Bernhard
 
 current implementation adds a In_mask(srid) expression, that can be used
 anywhere in style or labeling settings. If QGIs server fill current mask
 geometry with a bbox, slightly smaller than true extent, you will avoid
 drawing labels to close from the edges. I'm not sure this is the best design
 option, it sounds more like a hack to me.
 I will let Hugo explain detailed implementation. 

Well, I don't know exactly what is the problem with the labeling part of
the server. This label filtering feature has not been designed for such
a use-case. The current implementation of atlas with mask relies on
signals that are catched within a plugin to update the mask layer.
We could imagine something similar for the server, but I agree that
would be a hack.

The problem you have might be somehow related to how qgis clips vectors
before rendering them, as Nyall pointed out
(http://hub.qgis.org/issues/9757)

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question on inverted polygon renderer

2014-06-17 Thread Bernhard Ströbl

Hi Hugo,

let me explain: I use mapcache to preproduce tiles of my background 
layers rendered by QGIS server. Thus sometimes labels get cut because 
they are rendered too close to the edge of the requested map.
I was attracted by Régis Label features of layers only for objects 
intersecting the mask region and was thinking if one could use that to 
address my problem, especially if it goes into core (needs to be for 
server I reckon). There won't be a dedicated mask layer, of course, but 
I imagined server creating the mask feature otf from the bbox parameter 
of the GetMap request (minus a distance set in OWS server tab).
If you integrate this into core and there might be a chance to use it as 
I described I would be happy if you integrated it in a way that would 
allow to enhance QGIS server to use it.


Bernhard

Am 17.06.2014 10:22, schrieb Hugo Mercier:

Hi,

Le 17/06/2014 09:32, Régis Haubourg a écrit :

Hi Bernard,
plugin is coming this week I think.


Yes, it is already available at https://github.com/Oslandia/mask_plugin
A 1.0 version for the official qgis repository is on its way.



Bernhard Ströbl wrote

Thinking about QGIS server: Would there be a chance to use what you
describe to keep labels staying away from the edge of the requested map?

Bernhard


current implementation adds a In_mask(srid) expression, that can be used
anywhere in style or labeling settings. If QGIs server fill current mask
geometry with a bbox, slightly smaller than true extent, you will avoid
drawing labels to close from the edges. I'm not sure this is the best design
option, it sounds more like a hack to me.
I will let Hugo explain detailed implementation.


Well, I don't know exactly what is the problem with the labeling part of
the server. This label filtering feature has not been designed for such
a use-case. The current implementation of atlas with mask relies on
signals that are catched within a plugin to update the mask layer.
We could imagine something similar for the server, but I agree that
would be a hack.

The problem you have might be somehow related to how qgis clips vectors
before rendering them, as Nyall pointed out
(http://hub.qgis.org/issues/9757)

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer




__ Information from ESET Mail Security, version of virus signature 
database 9957 (20140617) __

The message was checked by ESET Mail Security.
http://www.eset.com


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question on inverted polygon renderer

2014-06-17 Thread Andreas Neumann
Hi Régis,

Thank you for the explanations and for funding it!

I think it is very cool, but as it is an unusual feature it probably
needs a bit of explaining in the manual. Esp. if you combine it with the
ShapeBurst fill.

People need to understand that they are styling anything but the current
/ selected feature.

Anyway - it is a powerful addition to QGIS.

Andreas

Am 16.06.2014 20:43, schrieb Régis Haubourg:
 Hi Andreas, 
 I'm the funder, Hugo Mercier from Oslandia is the developper. It's the right
 time to do some teasing I guess ;-).
 
  The inverted polygon renderer idea appeared when writing specifications for
 an improved mask tool . We will soon release new version of mask plugin that
 allows the following:
 
 - generate a ROI layer from current polygon selection, or from another
 plugin's call.
 
 - Label features of layers only for objects intersecting the mask region
 (several spatial operators inside). Users wish that a lot to do professional
 mapping. Unwanted side effect is that labeling is a lot more readable by
 giving more affordable space to labeling engine. 
 
 - Automagically reuse current mask style to generate a mask on the fly on
 Atlas coverage feature. 
 
 inverted style + shapeburst give crazy cool rendering!
 Another positive point, instead of making a big bbox with a hole, as current
 mask plugin does, an inverted style allowed a much cleaner solution, and
 sounded a lot more reusable.  And now, it's much more clear for the user to
 be able to zoom to the layer extent and not be zoomed out far away.
 
 We were unsure about real performances of such spatial filtering, so we
 decided to start with a plugin, and share with you..  And, we found that
 filtering labels gives less work to pal engine, so the spatial intersection
 seems to be less consuming than labeling, for average layers. 
 
 Many thanks to Oslandia Team and Hugo for the hard work. We're about to
 release the plugin, Hugo will launch a thread about this, and maybe a port
 to core, if you like it.  
 
 I already see what we could do next, like label features only on the parts
 really intersecting that ROI.. 
 
 Stay tuned! 
 Régis
 
 
 
 --
 View this message in context: 
 http://osgeo-org.1560.x6.nabble.com/Question-on-inverted-polygon-renderer-tp5146099p5146162.html
 Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer
 

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question on inverted polygon renderer

2014-06-17 Thread Régis Haubourg
I just released the mask plugin version 1.0 in qgis repository. I'll be glad
to have some feedback on it.

We still need to document it, what will be done in github dedicated wiki.

Documenting inverted polygon renderer should be done in qgis main doc. How
do we proceed to add sections in it? 

Cheers, 
Régis






--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Question-on-inverted-polygon-renderer-tp5146099p5146281.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question on inverted polygon renderer

2014-06-16 Thread Régis Haubourg
Hi Andreas, 
I'm the funder, Hugo Mercier from Oslandia is the developper. It's the right
time to do some teasing I guess ;-).

 The inverted polygon renderer idea appeared when writing specifications for
an improved mask tool . We will soon release new version of mask plugin that
allows the following:

- generate a ROI layer from current polygon selection, or from another
plugin's call.

- Label features of layers only for objects intersecting the mask region
(several spatial operators inside). Users wish that a lot to do professional
mapping. Unwanted side effect is that labeling is a lot more readable by
giving more affordable space to labeling engine. 

- Automagically reuse current mask style to generate a mask on the fly on
Atlas coverage feature. 

inverted style + shapeburst give crazy cool rendering!
Another positive point, instead of making a big bbox with a hole, as current
mask plugin does, an inverted style allowed a much cleaner solution, and
sounded a lot more reusable.  And now, it's much more clear for the user to
be able to zoom to the layer extent and not be zoomed out far away.

We were unsure about real performances of such spatial filtering, so we
decided to start with a plugin, and share with you..  And, we found that
filtering labels gives less work to pal engine, so the spatial intersection
seems to be less consuming than labeling, for average layers. 

Many thanks to Oslandia Team and Hugo for the hard work. We're about to
release the plugin, Hugo will launch a thread about this, and maybe a port
to core, if you like it.  

I already see what we could do next, like label features only on the parts
really intersecting that ROI.. 

Stay tuned! 
Régis



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Question-on-inverted-polygon-renderer-tp5146099p5146162.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question on inverted polygon renderer

2014-06-16 Thread Nyall Dawson
On 17/06/2014 6:44 am, Régis Haubourg regis.haubo...@eau-adour-garonne.fr
wrote:

 inverted style + shapeburst give crazy cool rendering!

A quick tip if you're using shapeburst with inverted polygons - you must
have the shade to a set distance option selected, and set a relatively
small distance. Otherwise you'll see shading from the canvas edges (refs
#10570, #9757).

Mathieu Pellerin also has some nice examples of inverted shapeburst fills
used to shade the exterior of polygons in a thematic map - i'm not sure if
he's posted them on the flickr group yet.

Nyall
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question on inverted polygon renderer

2014-06-16 Thread Bernhard Ströbl

Hi Régis,

this sounds great (I have not tried, though), especially the inverted 
style stuff.
Thinking about QGIS server: Would there be a chance to use what you 
describe to keep labels staying away from the edge of the requested map?


Bernhard

Am 16.06.2014 22:43, schrieb Régis Haubourg:

Hi Andreas,
I'm the funder, Hugo Mercier from Oslandia is the developper. It's the right
time to do some teasing I guess ;-).

  The inverted polygon renderer idea appeared when writing specifications for
an improved mask tool . We will soon release new version of mask plugin that
allows the following:

- generate a ROI layer from current polygon selection, or from another
plugin's call.

- Label features of layers only for objects intersecting the mask region
(several spatial operators inside). Users wish that a lot to do professional
mapping. Unwanted side effect is that labeling is a lot more readable by
giving more affordable space to labeling engine.

- Automagically reuse current mask style to generate a mask on the fly on
Atlas coverage feature.

inverted style + shapeburst give crazy cool rendering!
Another positive point, instead of making a big bbox with a hole, as current
mask plugin does, an inverted style allowed a much cleaner solution, and
sounded a lot more reusable.  And now, it's much more clear for the user to
be able to zoom to the layer extent and not be zoomed out far away.

We were unsure about real performances of such spatial filtering, so we
decided to start with a plugin, and share with you..  And, we found that
filtering labels gives less work to pal engine, so the spatial intersection
seems to be less consuming than labeling, for average layers.

Many thanks to Oslandia Team and Hugo for the hard work. We're about to
release the plugin, Hugo will launch a thread about this, and maybe a port
to core, if you like it.

I already see what we could do next, like label features only on the parts
really intersecting that ROI..

Stay tuned!
Régis



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Question-on-inverted-polygon-renderer-tp5146099p5146162.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer





__ Information from ESET Mail Security, version of virus signature 
database 9956 (20140617) __

The message was checked by ESET Mail Security.
http://www.eset.com


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question re api freeze

2014-05-19 Thread Martin Dobias
On Fri, May 16, 2014 at 3:07 PM, Hugo Mercier hugo.merc...@oslandia.com wrote:
 Le 15/05/2014 12:03, Nyall Dawson a écrit :
 Hi all,

 Quick question about the api freeze for the qgis 2 series - am I
 allowed to change a function which is currently a void to instead
 return a bool? Does this classify as an api break, or would this be
 allowed?


 Hi Nyall,

 Good question :)
 I would say : we have to ensure that the new API does not break
 compilation of a code designed with the previous API.
 And since calling a function returning bool and ignoring its returned
 parameter is not a compilation error in C++, and it does not neither
 break a Python code calling it, I'd see no problem.

 Can others confirm ?

I also consider a change of return value from void to non-void to be
source compatible change and therefore allowed.

Cheers
Martin
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question re api freeze

2014-05-16 Thread Hugo Mercier
Le 15/05/2014 12:03, Nyall Dawson a écrit :
 Hi all,
 
 Quick question about the api freeze for the qgis 2 series - am I
 allowed to change a function which is currently a void to instead
 return a bool? Does this classify as an api break, or would this be
 allowed?
 

Hi Nyall,

Good question :)
I would say : we have to ensure that the new API does not break
compilation of a code designed with the previous API.
And since calling a function returning bool and ignoring its returned
parameter is not a compilation error in C++, and it does not neither
break a Python code calling it, I'd see no problem.

Can others confirm ?

-- 
Hugo Mercier
Oslandia
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Question of GDAL versions

2014-05-05 Thread Jürgen E . Fischer
Hi Kari,

On Mon, 05. May 2014 at 11:13:20 +0300, Kari Salovaara wrote:
 When will new GDAL/OGR 1.11.0 be used in QGIS ?

Where?   You can build QGIS with GDAL 1.11.  OSGeo4W already has it (although
QGIS 2.2 is still at 1.10).


Jürgen

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-31
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de
QGIS PSC member (RM)  Germany  IRC: jef on FreeNode 


-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Question of GDAL versions

2014-05-05 Thread Kari Salovaara

Hi,

I'm very sorry, I didn't check everything. Yes it's in my newest testing 
machine.
Thanks all who have been involved into this, now I can spread rumour 
more widely.


Conventu soluto.

Thanks,
Kari

On 05/05/2014 11:26 AM, Jürgen E. Fischer wrote:

Hi Kari,

On Mon, 05. May 2014 at 11:13:20 +0300, Kari Salovaara wrote:

When will new GDAL/OGR 1.11.0 be used in QGIS ?

Where?   You can build QGIS with GDAL 1.11.  OSGeo4W already has it (although
QGIS 2.2 is still at 1.10).


Jürgen




--
Kari Salovaara
Hanko, Finland

Volunteers do not necessarily have the time; they just have the heart.
 ~ Elizabeth Andrew

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Question on Ubuntu QGIS 2.2

2014-02-23 Thread Randal Hale

HaH - I let them know.

Thanks for the help.

Randy

-
Randal Hale, GISP
North River Geographic Systems, Inc
http://www.northrivergeographic.com
423.653.3611 rjh...@northrivergeographic.com
mailto:rjh...@northrivergeographic.com
twitter:rjhale
http://about.me/rjhale

On 02/22/2014 05:49 PM, Larry Shaffer wrote:

Hi Randy,

On Sat, Feb 22, 2014 at 3:34 PM, Randal Hale 
rjh...@northrivergeographic.com 
mailto:rjh...@northrivergeographic.com wrote:


You are a genius - I will name my first baby Larry.


Whoa, there. Heck, I didn't even name my son Larry. :-)

I just checked INSTALL [0] and it looks like that package needs to be 
added as a listed dependency. Probably should let the folks at 
UbuntuGIS know that as well, if you have the time.


[0] https://github.com/qgis/QGIS/blob/master/INSTALL

Regards,

Larry


Fixed!

Randy

-
Randal Hale, GISP
North River Geographic Systems, Inc
http://www.northrivergeographic.com
423.653.3611  tel:423.653.3611  rjh...@northrivergeographic.com  
mailto:rjh...@northrivergeographic.com
mailto:rjh...@northrivergeographic.com  
mailto:rjh...@northrivergeographic.com
twitter:rjhale
http://about.me/rjhale

On 02/22/2014 05:27 PM, Larry Shaffer wrote:

Hi Randal,

Does this issue address yours (e.g. install the package
libqt4-sql-sqlite)?

http://hub.qgis.org/issues/8662

Regards,

Larry


On Sat, Feb 22, 2014 at 3:23 PM, Randal Hale
rjh...@northrivergeographic.com
mailto:rjh...@northrivergeographic.com wrote:

I asked on the Ubuntu GIS list and they wanted me to check
here. I am using the UbuntuGIS repos.

I just upgraded to QGIS 2.2 - upon the upgrade I'm getting an
error. The OS is 12.04 LTS. I also renamed the .qgis
directory to get a new one and the error remained.

/Unable to open bookmarks database.
//Database://home/rjhale//.qgis2//qgis.db/
//Driver: Driver not loaded/
//Database: Driver not loaded/


If I crank up qgis from a terminal I get one more bit of useful info
when trying to make a bookmark:

/Warning: QSqlDatabase: QSQLITE driver not loaded Warning:
QSqlDatabase: available drivers: QMYSQL3 QMYSQL QSPATIALITE/

Thoughts? Am I missing something?

Randy


-- 
-

Randal Hale, GISP
North River Geographic Systems, Inc
http://www.northrivergeographic.com
423.653.3611  tel:423.653.3611  rjh...@northrivergeographic.com  
mailto:rjh...@northrivergeographic.com
mailto:rjh...@northrivergeographic.com  
mailto:rjh...@northrivergeographic.com
twitter:rjhale
http://about.me/rjhale


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
mailto:Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer







___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question on Ubuntu QGIS 2.2

2014-02-23 Thread Jürgen E . Fischer
Hi Randal,

On Sun, 23. Feb 2014 at 18:27:42 -0500, Randal Hale wrote:
 HaH - I let them know.

'They' already know, 'they' already fixed it in master (see #8662[1]),
now 'they' only have to update the package. ;)


Jürgen

[1] http://hub.qgis.org/issues/8662

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-31
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de
QGIS PSC member (RM)  Germany  IRC: jef on FreeNode 


-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Question on Ubuntu QGIS 2.2

2014-02-23 Thread Randal Hale

Awesome.

I feel like the kid running from one neighborhood to the other 
neighborhood telling people things they already know. :)


Randy

-
Randal Hale, GISP
North River Geographic Systems, Inc
http://www.northrivergeographic.com
423.653.3611 rjh...@northrivergeographic.com
mailto:rjh...@northrivergeographic.com
twitter:rjhale
http://about.me/rjhale

On 02/23/2014 06:56 PM, Jürgen E. Fischer wrote:

Hi Randal,

On Sun, 23. Feb 2014 at 18:27:42 -0500, Randal Hale wrote:

HaH - I let them know.

'They' already know, 'they' already fixed it in master (see #8662[1]),
now 'they' only have to update the package. ;)


Jürgen

[1] http://hub.qgis.org/issues/8662



___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Question on Ubuntu QGIS 2.2

2014-02-23 Thread Jürgen E . Fischer
Hi Randal,

On Sun, 23. Feb 2014 at 19:04:45 -0500, Randal Hale wrote:
 Awesome.

 I feel like the kid running from one neighborhood to the other  
 neighborhood telling people things they already know. :)

Thanks for re-raising this.  Unfortunately the original report was closed
before the problem was actually fixed - just because there was a workaround.


Jürgen

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-31
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de
QGIS PSC member (RM)  Germany  IRC: jef on FreeNode 


-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Question on Ubuntu QGIS 2.2

2014-02-22 Thread Larry Shaffer
Hi Randal,

Does this issue address yours (e.g. install the package libqt4-sql-sqlite)?

http://hub.qgis.org/issues/8662

Regards,

Larry


On Sat, Feb 22, 2014 at 3:23 PM, Randal Hale 
rjh...@northrivergeographic.com wrote:

  I asked on the Ubuntu GIS list and they wanted me to check here. I am
 using the UbuntuGIS repos.

 I just upgraded to QGIS 2.2 - upon the upgrade I'm getting an error. The
 OS is 12.04 LTS. I also renamed the .qgis directory to get a new one and
 the error remained.

 /Unable to open bookmarks database.*/Database: 
 /home/rjhale/.qgis2//qgis.db**/Driver: Driver not loaded**/Database: Driver 
 not loaded*

 If I crank up qgis from a terminal I get one more bit of useful info
 when trying to make a bookmark:

 *Warning: QSqlDatabase: QSQLITE driver not loaded Warning: QSqlDatabase:
 available drivers: QMYSQL3 QMYSQL QSPATIALITE*

 Thoughts? Am I missing something?

 Randy


 --
 -
 Randal Hale, GISP
 North River Geographic Systems, 
 Inchttp://www.northrivergeographic.com423.653.3611 
 rjh...@northrivergeographic.commailto:rjh...@northrivergeographic.com 
 rjh...@northrivergeographic.com
 twitter:rjhalehttp://about.me/rjhale


 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question on Ubuntu QGIS 2.2

2014-02-22 Thread Randal Hale

You are a genius - I will name my first baby Larry.

Fixed!

Randy

-
Randal Hale, GISP
North River Geographic Systems, Inc
http://www.northrivergeographic.com
423.653.3611 rjh...@northrivergeographic.com
mailto:rjh...@northrivergeographic.com
twitter:rjhale
http://about.me/rjhale

On 02/22/2014 05:27 PM, Larry Shaffer wrote:

Hi Randal,

Does this issue address yours (e.g. install the package 
libqt4-sql-sqlite)?


http://hub.qgis.org/issues/8662

Regards,

Larry


On Sat, Feb 22, 2014 at 3:23 PM, Randal Hale 
rjh...@northrivergeographic.com 
mailto:rjh...@northrivergeographic.com wrote:


I asked on the Ubuntu GIS list and they wanted me to check here. I
am using the UbuntuGIS repos.

I just upgraded to QGIS 2.2 - upon the upgrade I'm getting an
error. The OS is 12.04 LTS. I also renamed the .qgis directory to
get a new one and the error remained.

/Unable to open bookmarks database.
//Database://home/rjhale//.qgis2//qgis.db/
//Driver: Driver not loaded/
//Database: Driver not loaded/


If I crank up qgis from a terminal I get one more bit of useful info
when trying to make a bookmark:

/Warning: QSqlDatabase: QSQLITE driver not loaded Warning:
QSqlDatabase: available drivers: QMYSQL3 QMYSQL QSPATIALITE/

Thoughts? Am I missing something?

Randy


-- 
-

Randal Hale, GISP
North River Geographic Systems, Inc
http://www.northrivergeographic.com
423.653.3611  tel:423.653.3611  rjh...@northrivergeographic.com  
mailto:rjh...@northrivergeographic.com
mailto:rjh...@northrivergeographic.com  
mailto:rjh...@northrivergeographic.com
twitter:rjhale
http://about.me/rjhale


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org mailto:Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer




___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question on Ubuntu QGIS 2.2

2014-02-22 Thread Larry Shaffer
Hi Randy,

On Sat, Feb 22, 2014 at 3:34 PM, Randal Hale 
rjh...@northrivergeographic.com wrote:

  You are a genius - I will name my first baby Larry.


Whoa, there. Heck, I didn't even name my son Larry.  :-)

I just checked INSTALL [0] and it looks like that package needs to be added
as a listed dependency. Probably should let the folks at UbuntuGIS know
that as well, if you have the time.

[0] https://github.com/qgis/QGIS/blob/master/INSTALL

Regards,

Larry




 Fixed!

 Randy

 -
 Randal Hale, GISP
 North River Geographic Systems, 
 Inchttp://www.northrivergeographic.com423.653.3611 
 rjh...@northrivergeographic.commailto:rjh...@northrivergeographic.com 
 rjh...@northrivergeographic.com
 twitter:rjhalehttp://about.me/rjhale

 On 02/22/2014 05:27 PM, Larry Shaffer wrote:

  Hi Randal,

  Does this issue address yours (e.g. install the package
 libqt4-sql-sqlite)?

 http://hub.qgis.org/issues/8662

  Regards,

 Larry


 On Sat, Feb 22, 2014 at 3:23 PM, Randal Hale 
 rjh...@northrivergeographic.com wrote:

  I asked on the Ubuntu GIS list and they wanted me to check here. I am
 using the UbuntuGIS repos.

 I just upgraded to QGIS 2.2 - upon the upgrade I'm getting an error. The
 OS is 12.04 LTS. I also renamed the .qgis directory to get a new one and
 the error remained.

 /Unable to open bookmarks database.*/Database: 
 /home/rjhale/.qgis2//qgis.db**/Driver: Driver not loaded**/Database: Driver 
 not loaded*

 If I crank up qgis from a terminal I get one more bit of useful info
 when trying to make a bookmark:

 *Warning: QSqlDatabase: QSQLITE driver not loaded Warning: QSqlDatabase:
 available drivers: QMYSQL3 QMYSQL QSPATIALITE*

 Thoughts? Am I missing something?

 Randy


 --
 -
 Randal Hale, GISP
 North River Geographic Systems, 
 Inchttp://www.northrivergeographic.com423.653.3611 
 rjh...@northrivergeographic.commailto:rjh...@northrivergeographic.com 
 rjh...@northrivergeographic.com
 twitter:rjhalehttp://about.me/rjhale


 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer




___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question about bug #7941

2013-08-27 Thread Benoît Laurent
Title: Signature_Benoit_Laurent

  
  
Hello Ren-Luc,


  
  Hi Benot,

Did you re-install Proj4 ? 

No. I don't know how to do it. I use a weekly release of Qgis.


  Which version of Proj4 did you use ?
  

480.

Regards,

Benot

-- 
  
  
  

  


 
Benot
  LAURENT Consultant Optimisation
9, rue Alexandre Fleming, 49066 Angers CEDEX

 +33
(0)6 28 03 81 32 
  blaur...@heurisis.eu
   +33 (0)9 54 30 41 14   www.heurisis.eu
  

  

  
  
Visitez le site www.optiscolaire.fr
 

  

   
  
  
 
Avant dimprimer ce mail, pensez 
  lenvironnement
   
  

  
  

  

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question about bug #7941

2013-08-27 Thread rldhont

Hi all,

The bug #7941 has been closed byGiovanni Manghi 
http://hub.qgis.org/users/11 becauseregis Haubourg 
http://hub.qgis.org/users/989 said that the problems comes from proj4.

The bug #7941 is not a proj4 bugs but QGIS packaging bug.

It seems that proj4 is not well packaging with QGIS and extracting by 
the installer.
The bug is confirmed for weekly qgis-master and not for qgis-master form 
OSGeo4W.


How Proj4 is packaging with QGIS ?

Regards,
René-Luc D'Hont
3Liz


Le 26/08/2013 14:40, Benoît Laurent a écrit :

Hello,

I may misunderstand this sentence about bug #7941 
http://hub.qgis.org/issues/7941 : on OSGeo4W the file ntf_r93.gsb 
is in the proj-datumgrid and the proj package depends on it. So it 
should be there.


In my case, the file ntf_r93.gsb is the proj folder but it does not 
work. I must miss something.


Regards,

Benoît




___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Question about bug #7941

2013-08-26 Thread rldhont

Hi Benoît,

Did you re-install Proj4 ? Which version of Proj4 did you use ?

Regards,
René-Luc

Le 26/08/2013 14:40, Benoît Laurent a écrit :

Hello,

I may misunderstand this sentence about bug #7941 
http://hub.qgis.org/issues/7941 : on OSGeo4W the file ntf_r93.gsb 
is in the proj-datumgrid and the proj package depends on it. So it 
should be there.


In my case, the file ntf_r93.gsb is the proj folder but it does not 
work. I must miss something.


Regards,

Benoît




___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer