-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/04/2014 04:09 PM, Marco Hugentobler wrote: > Hi Ivan > > The idea of the GetProjectSettings is that the output is easily > extendeable (because it is a non-standard method). So if there is some > project information you think is usefull for your webclient, just add it to > the code and I'm happy to apply pull requests in that respect. It is not > the idea of GetProjectSettings to serve all project information, rather to > extend on-demand.
Marco, thanks for your answer. I think it could be very useful for many clients building on top of QGIS Server to have such informations: My quick proposal is to add: Layer properties: * layer type * geometry type * source geometry SRID * primary key * layer transparency * layers group membership and for Project: * project title * selection color * background colors * project scales * canvas units * precision Do you think it is a good idea to add this informations to that GetCapabilities-like XML response ? Ivan > > Regards, Marco > > On 04.02.2014 15:18, Ivan Mincik wrote: Hi all, I would like to discuss > purpose and content of a GetProjectSettings request. > > - From the name of this request, it seems that it should return some > project settings values. I would expect response where I will find similar > information like it is saved in QGIS project file. In reality it returns > only little bit extended GetCapabilities response. > > My questions are: 1. Could it be renamed to something more suitable like > GetCapabilitiesExtended ? > > 2. Would it be acceptable to write some new request which will really > return all possible project configurations ? Would you accept such patch ? > If yes, can we make some proposal of request name and it's content ? > > > PS: GIS.lab WebGIS application [1] is automatically detecting content and > configuration of QGIS project using GetCapabilities request and creates > web application based on these values. Thus, no configuration is needed to > create web client for any QGIS project. We would be happy to extend it's > features, if we would be able to load more informations from such request. > > > 1 - > https://github.com/imincik/gis-lab/wiki/Quick-Start#wiki-gislab-project > > -- Ivan Minčík ivan.min...@gmail.com GPG: 0x79529A1E > http://imincik.github.io/0x79529A1E.key ivan.min...@gista.sk GPG: > 0xD714B02C http://imincik.github.io/0xD714B02C.key >> _______________________________________________ Qgis-developer mailing >> list Qgis-developer@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/qgis-developer > > - -- Ivan Minčík ivan.min...@gmail.com GPG: 0x79529A1E http://imincik.github.io/0x79529A1E.key ivan.min...@gista.sk GPG: 0xD714B02C http://imincik.github.io/0xD714B02C.key -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS8R9dAAoJEPfdLsR5UpoeB3IIALk+5+4rEqT1aJVjDtBzCGdv mOfGXlXqGUiWGRXK6+XAj410ASKbwy7Jpzv5KlH7OTe+gNQzDO3fympVaCL6FdKK CwAYIzk/cxdBz2l6RZMnhjPyEzFhQFDs41CFrPSFoMxJGX450gRYgdMB4HCZc+rb QhVp96p2L6CScR8iMH4oBkBF1yT7z4J8lAD8VnTJtGqK6Jemhqng0/PUv2kDFt60 t5tcAbVVo5SUDGkuphE9N5JTOysxcKr0+2aIc1ZxBnKB7BMyI22M0gyLhODru7Ka ZO90v4uNW28YZyJdan+05sh6BTna2n/zGy8uuhiH1GT9j7St1kAevXLG/5nTYOs= =0Gxz -----END PGP SIGNATURE----- _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer