Re: [Qgis-developer] QGIS Server in Python?
On Thu, Jan 19, 2017 at 11:03 AM, Sören Gebbert < soerengebb...@googlemail.com> wrote: > Dear developers, > i have a naive question. > > Would it be possible and meaningful to implement the QGIS Server in Python? > > There are several nice Python Web-frameworks (Django, Flask) which would > make it easy to expose the rendering, data management and processing > functionality of QGIS as WMS, WFS or REST service. > > Do you think this may be a good idea to implement? > You can do that right now: https://github.com/qgis/QGIS/blob/master/tests/src/python/qgis_wrapped_server.py But after the refactoring that we are doing it will be even simpler. There is also a WPS plugin for QGIS server. -- Alessandro Pasotti w3: 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] QGIS Server in Python?
Hi Sören, On Thu, 19. Jan 2017 at 11:03:29 +0100, Sören Gebbert wrote: > Do you think this may be a good idea to implement? Something in the direction of https://github.com/wonder-sk/qgis-tile-server 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 pgp9G5zfOUwFu.pgp 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] QGIS Server in Python?
Hi, The server is actually under heavy refactoring: the new version - planned with Qgis 3 - enables you to embed the server in any framework (python or C++) by using abstract request/response objects that links all I/O between server and your embedding frameworks. Examples will follow soon. David. > Le 19 janv. 2017 à 11:03, Sören Gebberta > écrit : > > Dear developers, > i have a naive question. > > Would it be possible and meaningful to implement the QGIS Server in Python? > > There are several nice Python Web-frameworks (Django, Flask) which would make > it easy to expose the rendering, data management and processing functionality > of QGIS as WMS, WFS or REST service. > > Do you think this may be a good idea to implement? > > Thanks and best regards > Soeren > ___ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Qgis Server and Python. Which solutions to have a python API?
Hi all I took some time to check if we can use the new feature Embed layers and groups in QGIS Server. It appears not at the moment, because the GetCapabilities XML returned by QGIS Server with a child project (one with embeded layers from the parent project) does not contain any Layer item. I think the server should be able to copy the layer information from the parent project, and deals internaly with the different relative paths of each imported layer if needed. I can open a ticket if needed. Michael ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Qgis Server and Python. Which solutions to have a python API?
Le 10/09/2012 09:29, Giovanni Manghi a écrit : Hi Giovanni, On Sat, Sep 8, 2012 at 11:18 AM, G. Allegri gioha...@gmail.com wrote: I'm working on a project to port qgis-web-client under Django, witht the aim to build a Qgis Server web based manager and extended service provider. We've already implemented a basic structure, with a proxy (a Django view) to intercept the calls to qgis_mapserv.fcgi, and a view/template to expose the qgis-web-min. very nice! will the code be released? Stay tuned, a new LizMap version will be released soon (today or tomorrow) Cheers, René-Luc D'Hont 3Liz cheers! -- Giovanni -- ___ 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] Qgis Server and Python. Which solutions to have a python API?
Hi, the project is in very early development state. We've just implemented some basic things for the current client we are working for, but we want to go on with the development. We're aware of LizMap (we're looking forward for its new release; question, is there a public repository?), but we prefer to use Django, because it will let us leaverage the Qgis Python APIs in case we will need them (probably yes). In this moment we're using qgis-web-client as it is beacuse it fits our current needs (e.g. we don't need external base layers, it already supports the Qgis Server print service, etc.) but I would like to implement a Javascript API to be used independently by any JS framework. Lots of ideas... we hope to find the needed sponsors to implement them all! We'll release something as soon as we have a minimally stable project. giovanni 2012/9/10 rldhont rldh...@gmail.com Le 10/09/2012 09:29, Giovanni Manghi a écrit : Hi Giovanni, On Sat, Sep 8, 2012 at 11:18 AM, G. Allegri gioha...@gmail.com wrote: I'm working on a project to port qgis-web-client under Django, witht the aim to build a Qgis Server web based manager and extended service provider. We've already implemented a basic structure, with a proxy (a Django view) to intercept the calls to qgis_mapserv.fcgi, and a view/template to expose the qgis-web-min. very nice! will the code be released? Stay tuned, a new LizMap version will be released soon (today or tomorrow) Cheers, René-Luc D'Hont 3Liz cheers! -- Giovanni -- __**_ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/**mailman/listinfo/qgis-**developerhttp://lists.osgeo.org/mailman/listinfo/qgis-developer __**_ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/**mailman/listinfo/qgis-**developerhttp://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] Qgis Server and Python. Which solutions to have a python API?
Hi On Mon, Sep 10, 2012 at 12:01 PM, G. Allegri gioha...@gmail.com wrote: Hi, the project is in very early development state. We've just implemented some basic things for the current client we are working for, but we want to go on with the development. We're aware of LizMap (we're looking forward for its new release; question, is there a public repository?), but we prefer to use Django, because it will let us leaverage the Qgis Python APIs in case we will need them (probably yes). In this moment we're using qgis-web-client as it is beacuse it fits our current needs (e.g. we don't need external base layers, it already supports the Qgis Server print service, etc.) but I would like to implement a Javascript API to be used independently by any JS framework. Lots of ideas... we hope to find the needed sponsors to implement them all! We'll release something as soon as we have a minimally stable project. giovanni Cool - it might be nice to put your work in http://github.com/qgis/ if you want to do it pubicly. Regards Tim 2012/9/10 rldhont rldh...@gmail.com Le 10/09/2012 09:29, Giovanni Manghi a écrit : Hi Giovanni, On Sat, Sep 8, 2012 at 11:18 AM, G. Allegri gioha...@gmail.com wrote: I'm working on a project to port qgis-web-client under Django, witht the aim to build a Qgis Server web based manager and extended service provider. We've already implemented a basic structure, with a proxy (a Django view) to intercept the calls to qgis_mapserv.fcgi, and a view/template to expose the qgis-web-min. very nice! will the code be released? Stay tuned, a new LizMap version will be released soon (today or tomorrow) Cheers, René-Luc D'Hont 3Liz cheers! -- Giovanni -- ___ 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 -- Tim Sutton - QGIS Project Steering Committee Member (Release Manager) == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Visit http://linfiniti.com to find out about: * QGIS programming and support services * Mapserver and PostGIS based hosting plans * FOSS Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Qgis Server and Python. Which solutions to have a python API?
Hi all, Lizmap will be release soon, as a Zip file. I do not know yet if I will create a bitbucket account to put the code here or not. Why not ! Some of next lizmap features : * access rights management to repositories (1 repository = one folder in the server containing one or more projects). You can defined, groups, users, and then set the visibility of each repository to one or more groups. * simple approach of tile caching, with no configuration needed (just click on a checkbox in Lizmap plugin for each layer to be cached) * new ui, etc. I am writing some documentation right now, and will explain these features as soon as I find time :) Cheers Michael 2012/9/10 Tim Sutton li...@linfiniti.com Hi On Mon, Sep 10, 2012 at 12:01 PM, G. Allegri gioha...@gmail.com wrote: Hi, the project is in very early development state. We've just implemented some basic things for the current client we are working for, but we want to go on with the development. We're aware of LizMap (we're looking forward for its new release; question, is there a public repository?), but we prefer to use Django, because it will let us leaverage the Qgis Python APIs in case we will need them (probably yes). In this moment we're using qgis-web-client as it is beacuse it fits our current needs (e.g. we don't need external base layers, it already supports the Qgis Server print service, etc.) but I would like to implement a Javascript API to be used independently by any JS framework. Lots of ideas... we hope to find the needed sponsors to implement them all! We'll release something as soon as we have a minimally stable project. giovanni Cool - it might be nice to put your work in http://github.com/qgis/ if you want to do it pubicly. Regards Tim 2012/9/10 rldhont rldh...@gmail.com Le 10/09/2012 09:29, Giovanni Manghi a écrit : Hi Giovanni, On Sat, Sep 8, 2012 at 11:18 AM, G. Allegri gioha...@gmail.com wrote: I'm working on a project to port qgis-web-client under Django, witht the aim to build a Qgis Server web based manager and extended service provider. We've already implemented a basic structure, with a proxy (a Django view) to intercept the calls to qgis_mapserv.fcgi, and a view/template to expose the qgis-web-min. very nice! will the code be released? Stay tuned, a new LizMap version will be released soon (today or tomorrow) Cheers, René-Luc D'Hont 3Liz cheers! -- Giovanni -- ___ 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 -- Tim Sutton - QGIS Project Steering Committee Member (Release Manager) == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Visit http://linfiniti.com to find out about: * QGIS programming and support services * Mapserver and PostGIS based hosting plans * FOSS Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net == ___ 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] Qgis Server and Python. Which solutions to have a python API?
Hi Michael, the two projects will probably overlay similar features. We've never worked with Jelix, and we didn't want to learn another framework :) Anyway, sharing ideas is always the best way for OS projects. A couple of questions: - will you support the print service? - I haven't tried Lizmap yet. Does it handle rights permissions on single layers within a .qgs project? Can you manage permissions on the request types (e.g. getfeatureinfo, getcapabilities, etc.)? It would be great if you could setup an SCM (bitbucket, github, or whatelse). giovanni 2012/9/10 kimaidou kimai...@gmail.com Hi all, Lizmap will be release soon, as a Zip file. I do not know yet if I will create a bitbucket account to put the code here or not. Why not ! Some of next lizmap features : * access rights management to repositories (1 repository = one folder in the server containing one or more projects). You can defined, groups, users, and then set the visibility of each repository to one or more groups. * simple approach of tile caching, with no configuration needed (just click on a checkbox in Lizmap plugin for each layer to be cached) * new ui, etc. I am writing some documentation right now, and will explain these features as soon as I find time :) Cheers Michael 2012/9/10 Tim Sutton li...@linfiniti.com Hi On Mon, Sep 10, 2012 at 12:01 PM, G. Allegri gioha...@gmail.com wrote: Hi, the project is in very early development state. We've just implemented some basic things for the current client we are working for, but we want to go on with the development. We're aware of LizMap (we're looking forward for its new release; question, is there a public repository?), but we prefer to use Django, because it will let us leaverage the Qgis Python APIs in case we will need them (probably yes). In this moment we're using qgis-web-client as it is beacuse it fits our current needs (e.g. we don't need external base layers, it already supports the Qgis Server print service, etc.) but I would like to implement a Javascript API to be used independently by any JS framework. Lots of ideas... we hope to find the needed sponsors to implement them all! We'll release something as soon as we have a minimally stable project. giovanni Cool - it might be nice to put your work in http://github.com/qgis/ if you want to do it pubicly. Regards Tim 2012/9/10 rldhont rldh...@gmail.com Le 10/09/2012 09:29, Giovanni Manghi a écrit : Hi Giovanni, On Sat, Sep 8, 2012 at 11:18 AM, G. Allegri gioha...@gmail.com wrote: I'm working on a project to port qgis-web-client under Django, witht the aim to build a Qgis Server web based manager and extended service provider. We've already implemented a basic structure, with a proxy (a Django view) to intercept the calls to qgis_mapserv.fcgi, and a view/template to expose the qgis-web-min. very nice! will the code be released? Stay tuned, a new LizMap version will be released soon (today or tomorrow) Cheers, René-Luc D'Hont 3Liz cheers! -- Giovanni -- ___ 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 -- Tim Sutton - QGIS Project Steering Committee Member (Release Manager) == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Visit http://linfiniti.com to find out about: * QGIS programming and support services * Mapserver and PostGIS based hosting plans * FOSS Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net == ___ 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] Qgis Server and Python. Which solutions to have a python API?
Il 10/09/2012 12:13, kimaidou ha scritto: Hi all, Lizmap will be release soon, as a Zip file. I do not know yet if I will create a bitbucket account to put the code here or not. Why not ! why not in main qgis source? all the best. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Qgis Server and Python. Which solutions to have a python API?
Hi Paolo, In the redmine hub.qgis, it is not possible for me to create a mercurial repository in the file systme, then pull from my repository and then modify the hub project to specify the repository path. To be able to do this, I would need full access (ssh) to qgis.org server. This is why I am thinking or using bitbucket to mirror my repository. Cheers 2012/9/10 Paolo Cavallini cavall...@faunalia.it Il 10/09/2012 12:13, kimaidou ha scritto: Hi all, Lizmap will be release soon, as a Zip file. I do not know yet if I will create a bitbucket account to put the code here or not. Why not ! why not in main qgis source? all the best. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario ___ 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] Qgis Server and Python. Which solutions to have a python API?
Il 10/09/2012 12:52, kimaidou ha scritto: In the redmine hub.qgis, it is not possible for me to create a mercurial repository in the file systme, then pull from my repository and then modify the hub project to specify the repository path. To be able to do this, I would need full access (ssh) to qgis.org http://qgis.org server. You can apply for it, if there are good reasons for it. Would you need it just once, or often? All the best. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Qgis Server and Python. Which solutions to have a python API?
Hi Giovanni, * The print service will be supported in the next version. Not yet to follow the release often mantra * We think rights management must be kept simple for users. This is why we choose deliberately to manage rights per repositories and not per project nor layers. We think it is very easy to set up several dedicated projects with Qgis to fit the need to protect some layers. One simple project a.qgs for readers with layer A and B and this configuration, another mrpresident.qgs for the big boss with all the secret layers and all the zoom available, etc. * Why not though add in the future the possibility to manage permissions on request type (getCapabilities, getMap, getFeatureInfo, etc.). Michael 2012/9/10 G. Allegri gioha...@gmail.com Hi Michael, the two projects will probably overlay similar features. We've never worked with Jelix, and we didn't want to learn another framework :) Anyway, sharing ideas is always the best way for OS projects. A couple of questions: - will you support the print service? - I haven't tried Lizmap yet. Does it handle rights permissions on single layers within a .qgs project? Can you manage permissions on the request types (e.g. getfeatureinfo, getcapabilities, etc.)? It would be great if you could setup an SCM (bitbucket, github, or whatelse). giovanni 2012/9/10 kimaidou kimai...@gmail.com Hi all, Lizmap will be release soon, as a Zip file. I do not know yet if I will create a bitbucket account to put the code here or not. Why not ! Some of next lizmap features : * access rights management to repositories (1 repository = one folder in the server containing one or more projects). You can defined, groups, users, and then set the visibility of each repository to one or more groups. * simple approach of tile caching, with no configuration needed (just click on a checkbox in Lizmap plugin for each layer to be cached) * new ui, etc. I am writing some documentation right now, and will explain these features as soon as I find time :) Cheers Michael 2012/9/10 Tim Sutton li...@linfiniti.com Hi On Mon, Sep 10, 2012 at 12:01 PM, G. Allegri gioha...@gmail.com wrote: Hi, the project is in very early development state. We've just implemented some basic things for the current client we are working for, but we want to go on with the development. We're aware of LizMap (we're looking forward for its new release; question, is there a public repository?), but we prefer to use Django, because it will let us leaverage the Qgis Python APIs in case we will need them (probably yes). In this moment we're using qgis-web-client as it is beacuse it fits our current needs (e.g. we don't need external base layers, it already supports the Qgis Server print service, etc.) but I would like to implement a Javascript API to be used independently by any JS framework. Lots of ideas... we hope to find the needed sponsors to implement them all! We'll release something as soon as we have a minimally stable project. giovanni Cool - it might be nice to put your work in http://github.com/qgis/ if you want to do it pubicly. Regards Tim 2012/9/10 rldhont rldh...@gmail.com Le 10/09/2012 09:29, Giovanni Manghi a écrit : Hi Giovanni, On Sat, Sep 8, 2012 at 11:18 AM, G. Allegri gioha...@gmail.com wrote: I'm working on a project to port qgis-web-client under Django, witht the aim to build a Qgis Server web based manager and extended service provider. We've already implemented a basic structure, with a proxy (a Django view) to intercept the calls to qgis_mapserv.fcgi, and a view/template to expose the qgis-web-min. very nice! will the code be released? Stay tuned, a new LizMap version will be released soon (today or tomorrow) Cheers, René-Luc D'Hont 3Liz cheers! -- Giovanni -- ___ 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 -- Tim Sutton - QGIS Project Steering Committee Member (Release Manager) == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Visit http://linfiniti.com to find out about: * QGIS programming and support services * Mapserver and PostGIS based hosting plans * FOSS Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net
Re: [Qgis-developer] Qgis Server and Python. Which solutions to have a python API?
2012/9/10 kimaidou kimai...@gmail.com Hi Giovanni, * The print service will be supported in the next version. Not yet to follow the release often mantra Do you have a schedule for the next version? * We think rights management must be kept simple for users. This is why we choose deliberately to manage rights per repositories and not per project nor layers. We think it is very easy to set up several dedicated projects with Qgis to fit the need to protect some layers. One simple project a.qgs for readers with layer A and B and this configuration, another mrpresident.qgs for the big boss with all the secret layers and all the zoom available, etc. We also thought it but it requires to propagate project and layers settings to the various projects, A change in one project requires to manually do the same on the others... Ok, not so bad for two or three projects, but very time consuming if you have multiple roles = multiple projects. Anyway, I agree with you, it's times simpler to implement ;) * Why not though add in the future the possibility to manage permissions on request type (getCapabilities, getMap, getFeatureInfo, etc.). Ok. Our goals are very similar. We will think on it... giovanni Michael 2012/9/10 G. Allegri gioha...@gmail.com Hi Michael, the two projects will probably overlay similar features. We've never worked with Jelix, and we didn't want to learn another framework :) Anyway, sharing ideas is always the best way for OS projects. A couple of questions: - will you support the print service? - I haven't tried Lizmap yet. Does it handle rights permissions on single layers within a .qgs project? Can you manage permissions on the request types (e.g. getfeatureinfo, getcapabilities, etc.)? It would be great if you could setup an SCM (bitbucket, github, or whatelse). giovanni 2012/9/10 kimaidou kimai...@gmail.com Hi all, Lizmap will be release soon, as a Zip file. I do not know yet if I will create a bitbucket account to put the code here or not. Why not ! Some of next lizmap features : * access rights management to repositories (1 repository = one folder in the server containing one or more projects). You can defined, groups, users, and then set the visibility of each repository to one or more groups. * simple approach of tile caching, with no configuration needed (just click on a checkbox in Lizmap plugin for each layer to be cached) * new ui, etc. I am writing some documentation right now, and will explain these features as soon as I find time :) Cheers Michael 2012/9/10 Tim Sutton li...@linfiniti.com Hi On Mon, Sep 10, 2012 at 12:01 PM, G. Allegri gioha...@gmail.com wrote: Hi, the project is in very early development state. We've just implemented some basic things for the current client we are working for, but we want to go on with the development. We're aware of LizMap (we're looking forward for its new release; question, is there a public repository?), but we prefer to use Django, because it will let us leaverage the Qgis Python APIs in case we will need them (probably yes). In this moment we're using qgis-web-client as it is beacuse it fits our current needs (e.g. we don't need external base layers, it already supports the Qgis Server print service, etc.) but I would like to implement a Javascript API to be used independently by any JS framework. Lots of ideas... we hope to find the needed sponsors to implement them all! We'll release something as soon as we have a minimally stable project. giovanni Cool - it might be nice to put your work in http://github.com/qgis/ if you want to do it pubicly. Regards Tim 2012/9/10 rldhont rldh...@gmail.com Le 10/09/2012 09:29, Giovanni Manghi a écrit : Hi Giovanni, On Sat, Sep 8, 2012 at 11:18 AM, G. Allegri gioha...@gmail.com wrote: I'm working on a project to port qgis-web-client under Django, witht the aim to build a Qgis Server web based manager and extended service provider. We've already implemented a basic structure, with a proxy (a Django view) to intercept the calls to qgis_mapserv.fcgi, and a view/template to expose the qgis-web-min. very nice! will the code be released? Stay tuned, a new LizMap version will be released soon (today or tomorrow) Cheers, René-Luc D'Hont 3Liz cheers! -- Giovanni -- ___ 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 -- Tim Sutton - QGIS Project
Re: [Qgis-developer] Qgis Server and Python. Which solutions to have a python API?
2012/9/10 G. Allegri gioha...@gmail.com 2012/9/10 kimaidou kimai...@gmail.com Hi Giovanni, * The print service will be supported in the next version. Not yet to follow the release often mantra Do you have a schedule for the next version? Not yet, no. We will release V2 today or tomorrow. We have no schedule yet for the next one.. * We think rights management must be kept simple for users. This is why we choose deliberately to manage rights per repositories and not per project nor layers. We think it is very easy to set up several dedicated projects with Qgis to fit the need to protect some layers. One simple project a.qgs for readers with layer A and B and this configuration, another mrpresident.qgs for the big boss with all the secret layers and all the zoom available, etc. We also thought it but it requires to propagate project and layers settings to the various projects, A change in one project requires to manually do the same on the others... Ok, not so bad for two or three projects, but very time consuming if you have multiple roles = multiple projects. Anyway, I agree with you, it's times simpler to implement ;) We totally agree. It depends of the number of projects and roles to deal with. What could be great in Qgis : be able to set a master project file (with all layers and configurations), and have a tool (or natively in Qgis) to create child projects based one this master one. I am not speaking about copy/paste as some of the already existed python plugins do. I am thinking about kind of a dynamic link between master and children. Would it be possible in Qgis XML project file to dynamically load external resources on demand ? I am thinking about the way we can import a CSS file into another, etc. * Why not though add in the future the possibility to manage permissions on request type (getCapabilities, getMap, getFeatureInfo, etc.). Ok. Our goals are very similar. We will think on it... Great to chat about these subjects with you ! giovanni Michael 2012/9/10 G. Allegri gioha...@gmail.com Hi Michael, the two projects will probably overlay similar features. We've never worked with Jelix, and we didn't want to learn another framework :) Anyway, sharing ideas is always the best way for OS projects. A couple of questions: - will you support the print service? - I haven't tried Lizmap yet. Does it handle rights permissions on single layers within a .qgs project? Can you manage permissions on the request types (e.g. getfeatureinfo, getcapabilities, etc.)? It would be great if you could setup an SCM (bitbucket, github, or whatelse). giovanni 2012/9/10 kimaidou kimai...@gmail.com Hi all, Lizmap will be release soon, as a Zip file. I do not know yet if I will create a bitbucket account to put the code here or not. Why not ! Some of next lizmap features : * access rights management to repositories (1 repository = one folder in the server containing one or more projects). You can defined, groups, users, and then set the visibility of each repository to one or more groups. * simple approach of tile caching, with no configuration needed (just click on a checkbox in Lizmap plugin for each layer to be cached) * new ui, etc. I am writing some documentation right now, and will explain these features as soon as I find time :) Cheers Michael 2012/9/10 Tim Sutton li...@linfiniti.com Hi On Mon, Sep 10, 2012 at 12:01 PM, G. Allegri gioha...@gmail.com wrote: Hi, the project is in very early development state. We've just implemented some basic things for the current client we are working for, but we want to go on with the development. We're aware of LizMap (we're looking forward for its new release; question, is there a public repository?), but we prefer to use Django, because it will let us leaverage the Qgis Python APIs in case we will need them (probably yes). In this moment we're using qgis-web-client as it is beacuse it fits our current needs (e.g. we don't need external base layers, it already supports the Qgis Server print service, etc.) but I would like to implement a Javascript API to be used independently by any JS framework. Lots of ideas... we hope to find the needed sponsors to implement them all! We'll release something as soon as we have a minimally stable project. giovanni Cool - it might be nice to put your work in http://github.com/qgis/ if you want to do it pubicly. Regards Tim 2012/9/10 rldhont rldh...@gmail.com Le 10/09/2012 09:29, Giovanni Manghi a écrit : Hi Giovanni, On Sat, Sep 8, 2012 at 11:18 AM, G. Allegri gioha...@gmail.com wrote: I'm working on a project to port qgis-web-client under Django, witht the aim to build a Qgis Server web based manager and extended service provider. We've already implemented a basic structure, with a proxy (a Django view) to intercept the calls to qgis_mapserv.fcgi,
Re: [Qgis-developer] Qgis Server and Python. Which solutions to have a python API?
Hi On Mon, Sep 10, 2012 at 1:13 PM, G. Allegri gioha...@gmail.com wrote: 2012/9/10 kimaidou kimai...@gmail.com Hi Giovanni, * The print service will be supported in the next version. Not yet to follow the release often mantra Do you have a schedule for the next version? * We think rights management must be kept simple for users. This is why we choose deliberately to manage rights per repositories and not per project nor layers. We think it is very easy to set up several dedicated projects with Qgis to fit the need to protect some layers. One simple project a.qgs for readers with layer A and B and this configuration, another mrpresident.qgs for the big boss with all the secret layers and all the zoom available, etc. We also thought it but it requires to propagate project and layers settings to the various projects, Are you aware of the project nesting capability Marco added? It should provide you with the 'define once, use many times' implementation you desire. Regards Tim A change in one project requires to manually do the same on the others... Ok, not so bad for two or three projects, but very time consuming if you have multiple roles = multiple projects. Anyway, I agree with you, it's times simpler to implement ;) * Why not though add in the future the possibility to manage permissions on request type (getCapabilities, getMap, getFeatureInfo, etc.). Ok. Our goals are very similar. We will think on it... giovanni Michael 2012/9/10 G. Allegri gioha...@gmail.com Hi Michael, the two projects will probably overlay similar features. We've never worked with Jelix, and we didn't want to learn another framework :) Anyway, sharing ideas is always the best way for OS projects. A couple of questions: - will you support the print service? - I haven't tried Lizmap yet. Does it handle rights permissions on single layers within a .qgs project? Can you manage permissions on the request types (e.g. getfeatureinfo, getcapabilities, etc.)? It would be great if you could setup an SCM (bitbucket, github, or whatelse). giovanni 2012/9/10 kimaidou kimai...@gmail.com Hi all, Lizmap will be release soon, as a Zip file. I do not know yet if I will create a bitbucket account to put the code here or not. Why not ! Some of next lizmap features : * access rights management to repositories (1 repository = one folder in the server containing one or more projects). You can defined, groups, users, and then set the visibility of each repository to one or more groups. * simple approach of tile caching, with no configuration needed (just click on a checkbox in Lizmap plugin for each layer to be cached) * new ui, etc. I am writing some documentation right now, and will explain these features as soon as I find time :) Cheers Michael 2012/9/10 Tim Sutton li...@linfiniti.com Hi On Mon, Sep 10, 2012 at 12:01 PM, G. Allegri gioha...@gmail.com wrote: Hi, the project is in very early development state. We've just implemented some basic things for the current client we are working for, but we want to go on with the development. We're aware of LizMap (we're looking forward for its new release; question, is there a public repository?), but we prefer to use Django, because it will let us leaverage the Qgis Python APIs in case we will need them (probably yes). In this moment we're using qgis-web-client as it is beacuse it fits our current needs (e.g. we don't need external base layers, it already supports the Qgis Server print service, etc.) but I would like to implement a Javascript API to be used independently by any JS framework. Lots of ideas... we hope to find the needed sponsors to implement them all! We'll release something as soon as we have a minimally stable project. giovanni Cool - it might be nice to put your work in http://github.com/qgis/ if you want to do it pubicly. Regards Tim 2012/9/10 rldhont rldh...@gmail.com Le 10/09/2012 09:29, Giovanni Manghi a écrit : Hi Giovanni, On Sat, Sep 8, 2012 at 11:18 AM, G. Allegri gioha...@gmail.com wrote: I'm working on a project to port qgis-web-client under Django, witht the aim to build a Qgis Server web based manager and extended service provider. We've already implemented a basic structure, with a proxy (a Django view) to intercept the calls to qgis_mapserv.fcgi, and a view/template to expose the qgis-web-min. very nice! will the code be released? Stay tuned, a new LizMap version will be released soon (today or tomorrow) Cheers, René-Luc D'Hont 3Liz cheers! -- Giovanni -- ___ 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
Re: [Qgis-developer] Qgis Server and Python. Which solutions to have a python API?
Tim, I do not know this feature... I will search in the documentation to see how I can use it ! This is great :) Thanks, Michael 2012/9/10 Tim Sutton li...@linfiniti.com Hi Are you aware of the project nesting capability Marco added? It should provide you with the 'define once, use many times' implementation you desire. Regards Tim A change in one project requires to manually do the same on the others... Ok, not so bad for two or three projects, but very time consuming if you have multiple roles = multiple projects. Anyway, I agree with you, it's times simpler to implement ;) * Why not though add in the future the possibility to manage permissions on request type (getCapabilities, getMap, getFeatureInfo, etc.). ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Qgis Server and Python. Which solutions to have a python API?
Hi On Mon, Sep 10, 2012 at 2:47 PM, kimaidou kimai...@gmail.com wrote: Tim, I do not know this feature... I will search in the documentation to see how I can use it ! This is great :) Its under Layer - Embed layers and groups Regards Tim Thanks, Michael 2012/9/10 Tim Sutton li...@linfiniti.com Hi Are you aware of the project nesting capability Marco added? It should provide you with the 'define once, use many times' implementation you desire. Regards Tim A change in one project requires to manually do the same on the others... Ok, not so bad for two or three projects, but very time consuming if you have multiple roles = multiple projects. Anyway, I agree with you, it's times simpler to implement ;) * Why not though add in the future the possibility to manage permissions on request type (getCapabilities, getMap, getFeatureInfo, etc.). -- Tim Sutton - QGIS Project Steering Committee Member (Release Manager) == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Visit http://linfiniti.com to find out about: * QGIS programming and support services * Mapserver and PostGIS based hosting plans * FOSS Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Qgis Server and Python. Which solutions to have a python API?
Sent from Nexus Il giorno 10/set/2012 14:58, Tim Sutton li...@linfiniti.com ha scritto: Hi On Mon, Sep 10, 2012 at 2:47 PM, kimaidou kimai...@gmail.com wrote: Tim, I do not know this feature... I will search in the documentation to see how I can use it ! This is great :) Its under Layer - Embed layers and groups I didn't know it. Glad to know! giovanni Regards Tim Thanks, Michael 2012/9/10 Tim Sutton li...@linfiniti.com Hi Are you aware of the project nesting capability Marco added? It should provide you with the 'define once, use many times' implementation you desire. Regards Tim A change in one project requires to manually do the same on the others... Ok, not so bad for two or three projects, but very time consuming if you have multiple roles = multiple projects. Anyway, I agree with you, it's times simpler to implement ;) * Why not though add in the future the possibility to manage permissions on request type (getCapabilities, getMap, getFeatureInfo, etc.). -- Tim Sutton - QGIS Project Steering Committee Member (Release Manager) == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Visit http://linfiniti.com to find out about: * QGIS programming and support services * Mapserver and PostGIS based hosting plans * FOSS Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Qgis Server and Python. Which solutions to have a python API?
Hi On Sat, Sep 8, 2012 at 11:18 AM, G. Allegri gioha...@gmail.com wrote: I'm working on a project to port qgis-web-client under Django, witht the aim to build a Qgis Server web based manager and extended service provider. We've already implemented a basic structure, with a proxy (a Django view) to intercept the calls to qgis_mapserv.fcgi, and a view/template to expose the qgis-web-min. We would like to work as we used to do with Mapserver mapscript, to be able to have full control of the requests/responses flow, e.g. to implement authentication on specific services, requests and layers. We also would like to manage project options inside Django models. All these kind of things would be easy to implement if there were some kind of python bindings for Qgis Server. (PS: in this moment we do it controlling the query variables passed to the fcgi and filtering the fcgi requests) I see that qgis_mapserv.fcgi's code is statically linked in a monolithic fcgi executable, so it isn't possible to offer specific functionalities (e.g. project parsing) to external libs. To expose classes and methods we would need a version of qgis server's code made by dynamic libraries. Would it be possible? Otherwise, which solutions would you suggest to build a Qgis Server Python API? I premit that we're considering to sponsor its development. Wonderful what client side libs are you using? ext3 still? I'm a django + jquery fan and would love to see something along the lines of what you describe built on that stack. Note also that LizMap have AFAIK implemented a similar system (proxied access to QGIS Server with a custom web client) but in php, maybe there are ideas that can be lifted from their code. Regards Tim Have a nice weekend, Giovanni ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Tim Sutton - QGIS Project Steering Committee Member (Release Manager) == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Visit http://linfiniti.com to find out about: * QGIS programming and support services * Mapserver and PostGIS based hosting plans * FOSS Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer