[Qgis-developer] (no subject)

2017-01-11 Thread Rob Marjot
-- Forwarded message --
From: "Rob Marjot" <robmar...@gmail.com>
Date: Jan 10, 2017 07:51
Subject: Re: [Qgis-developer] QGIS Server FCGI: retained data / deferred
freeing of resources between requests
To: <qgis-developer@lists.osgeo.org>
Cc:

Hi all,

How about the switching between .qgs files for subsequent requests handled
by a single fcgi instance?

Hope someone can just shed a bit more light on this.

Rob

On Jan 9, 2017 10:18, "Rob Marjot" <robmar...@gmail.com> wrote:

> Hi list,
>
> Thanks Alessandro. Indeed, I started looking in to the source. It made me
> wonder: how does a QGIS Server fcgi instance go about varying MAP=...
> parameters in subsequent requests?
>
> From source it seems to me that the QgsProject object is retained across
> the handling of requests (by its fcgi loop). Yet: how about requests coming
> in that pass different "MAP=" parameters, selecting different .qgs files?
>
> Thanks
> Rob
>
>
> On Jan 9, 2017 08:48, "Alessandro Pasotti" <apaso...@gmail.com> wrote:
>
> Hi,
>
> QGIS Server is being deeply refactored, and the new implementation is
> described in https://github.com/qgis/QGIS-Enhancement-Proposals/issues/74
>
> and: https://github.com/qgis/QGIS/pull/3866
>
> The current implementation has some limited caching of the capabilities
> (taken from the project .qgs file).
>
> Note that with some performance degradation you can still run the server
> as plain old CGI.
>
> AFAIK there are no documents about the implemementation: follow the source
> Luke :)
>
>
> Cheers.
>
>
>
> On Mon, Jan 9, 2017 at 1:11 AM, Rob Marjot <robmar...@gmail.com> wrote:
>
>> Dear list,
>>
>> I am currently evaluating QGIS Server as rendering backend for my new
>> project; can you give me some insight in the architecture / implementation?
>> To pose my question more specific: with QGIS Server being a fcgi
>> application, what data (e.g. parsed .qgs file?) is retained and/or freeing
>> of resources is deferred between requests?
>>
>> Much appreciated if any of you can shed a bit of light to the
>> implementation details of QGIS Server. Possibly there is technical
>> documentation available online?
>>
>> Thanks
>> Rob
>>
>> ___
>> 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
>>
>
>
>
> --
> Alessandro Pasotti
> w3:   www.itopen.it
>
>
>
___
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] QGIS Server FCGI: retained data / deferred freeing of resources between requests

2017-01-09 Thread Rob Marjot
Hi all,

How about the switching between .qgs files for subsequent requests handled
by a single fcgi instance?

Hope someone can just shed a bit more light on this.

Rob

On Jan 9, 2017 10:18, "Rob Marjot" <robmar...@gmail.com> wrote:

> Hi list,
>
> Thanks Alessandro. Indeed, I started looking in to the source. It made me
> wonder: how does a QGIS Server fcgi instance go about varying MAP=...
> parameters in subsequent requests?
>
> From source it seems to me that the QgsProject object is retained across
> the handling of requests (by its fcgi loop). Yet: how about requests coming
> in that pass different "MAP=" parameters, selecting different .qgs files?
>
> Thanks
> Rob
>
>
> On Jan 9, 2017 08:48, "Alessandro Pasotti" <apaso...@gmail.com> wrote:
>
> Hi,
>
> QGIS Server is being deeply refactored, and the new implementation is
> described in https://github.com/qgis/QGIS-Enhancement-Proposals/issues/74
>
> and: https://github.com/qgis/QGIS/pull/3866
>
> The current implementation has some limited caching of the capabilities
> (taken from the project .qgs file).
>
> Note that with some performance degradation you can still run the server
> as plain old CGI.
>
> AFAIK there are no documents about the implemementation: follow the source
> Luke :)
>
>
> Cheers.
>
>
>
> On Mon, Jan 9, 2017 at 1:11 AM, Rob Marjot <robmar...@gmail.com> wrote:
>
>> Dear list,
>>
>> I am currently evaluating QGIS Server as rendering backend for my new
>> project; can you give me some insight in the architecture / implementation?
>> To pose my question more specific: with QGIS Server being a fcgi
>> application, what data (e.g. parsed .qgs file?) is retained and/or freeing
>> of resources is deferred between requests?
>>
>> Much appreciated if any of you can shed a bit of light to the
>> implementation details of QGIS Server. Possibly there is technical
>> documentation available online?
>>
>> Thanks
>> Rob
>>
>> ___
>> 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
>>
>
>
>
> --
> Alessandro Pasotti
> w3:   www.itopen.it
>
>
>
___
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] QGIS Server FCGI: retained data / deferred freeing of resources between requests

2017-01-09 Thread Rob Marjot
Hi list,

Thanks Alessandro. Indeed, I started looking in to the source. It made me
wonder: how does a QGIS Server fcgi instance go about varying MAP=...
parameters in subsequent requests?

>From source it seems to me that the QgsProject object is retained across
the handling of requests (by its fcgi loop). Yet: how about requests coming
in that pass different "MAP=" parameters, selecting different .qgs files?

Thanks
Rob


On Jan 9, 2017 08:48, "Alessandro Pasotti" <apaso...@gmail.com> wrote:

Hi,

QGIS Server is being deeply refactored, and the new implementation is
described in https://github.com/qgis/QGIS-Enhancement-Proposals/issues/74

and: https://github.com/qgis/QGIS/pull/3866

The current implementation has some limited caching of the capabilities
(taken from the project .qgs file).

Note that with some performance degradation you can still run the server as
plain old CGI.

AFAIK there are no documents about the implemementation: follow the source
Luke :)


Cheers.



On Mon, Jan 9, 2017 at 1:11 AM, Rob Marjot <robmar...@gmail.com> wrote:

> Dear list,
>
> I am currently evaluating QGIS Server as rendering backend for my new
> project; can you give me some insight in the architecture / implementation?
> To pose my question more specific: with QGIS Server being a fcgi
> application, what data (e.g. parsed .qgs file?) is retained and/or freeing
> of resources is deferred between requests?
>
> Much appreciated if any of you can shed a bit of light to the
> implementation details of QGIS Server. Possibly there is technical
> documentation available online?
>
> Thanks
> Rob
>
> ___
> 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
>



-- 
Alessandro Pasotti
w3:   www.itopen.it
___
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] QGIS Server FCGI: retained data / deferred freeing of resources between requests

2017-01-08 Thread Rob Marjot
Dear list,

I am currently evaluating QGIS Server as rendering backend for my new
project; can you give me some insight in the architecture / implementation?
To pose my question more specific: with QGIS Server being a fcgi
application, what data (e.g. parsed .qgs file?) is retained and/or freeing
of resources is deferred between requests?

Much appreciated if any of you can shed a bit of light to the
implementation details of QGIS Server. Possibly there is technical
documentation available online?

Thanks
Rob
___
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] QEP about Multimap support for QGIS

2016-11-05 Thread Rob Marjot
Hi Devs,

Is multi map canvas for QGIS it actually going to make into qgis 3.0? I've
share some additional thoughts in the QEP.

Rob

2016-09-07 8:50 GMT+02:00 Nathan Woodrow :

> Yes please open a QEP. Martin, Nyall and myself all have feedback for it.
>
> On Wed, 7 Sep 2016 4:49 pm Vincent Mora  wrote:
>
>> Hi Alvaro,
>>
>> I'd also like to see that in QGis 3.
>>
>> I'm developing a plugin that needs this functionality to visualize/edit
>> features in the vertical "plane" an it looks/behave pretty much the same
>> (except for a separate dock widget for the layer tree of the second and
>> third map).
>>
>> The plugin is going to be used in three different projects, so lots of
>> use cases for this feature IMO.
>>
>> +1 for a QEP
>>
>> Vincent.
>> ___
>> 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
>
___
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] Implementation of Python bindings in QGIS

2015-07-31 Thread Rob Marjot
Dear list,

Could someone point me at documentation on how the Python-bindings are
being implemented? Is it done in a generic way, so that we could have
bindings to other scripting runtimes?

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

Re: [Qgis-developer] Implementation of Python bindings in QGIS

2015-07-31 Thread Rob Marjot
Thank you Alessandro. Plainly pointing out the use of SIP means that the
bindings are 100% generated, painlessly following any new developments in
the c++ code base?

Wandering around through the core code base, it seemed to me that part of
the implementation relies on Python and/or specifically enables Python?

Hoping for a more elaborate response. Much appreciated.

Cheers,
Rob
On Jul 31, 2015 6:41 PM, Alessandro Pasotti apaso...@gmail.com wrote:

 Python bindings in QGIS (and other QT-based software) are implemented with
 SIP:

 http://www.riverbankcomputing.co.uk/software/sip/intro

 Regards.


 2015-07-31 16:31 GMT+02:00 Rob Marjot robmar...@gmail.com:

 Dear list,

 Could someone point me at documentation on how the Python-bindings are
 being implemented? Is it done in a generic way, so that we could have
 bindings to other scripting runtimes?

 Regards,
 Rob Marjot



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




 --
 Alessandro Pasotti
 w3:   www.itopen.it

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