Re: [Qgis-developer] [QGIS-Server] Can't read user defined Coordinate Reference System
Hi Bernhard, The problem is not just providing user defined CRS in GetCapabilities. QGIS-Server cannot reproject on the fly layers with user defined CRS. And it's a regression, QGIS-Server 1.8 can reproject on the fly layers with user defined CRS. Regards, René-Luc Le 26 juin 2013 07:59, Bernhard Ströbl bernhard.stro...@jena.de a écrit : Hi René-Luc, I am wondering what any WMS client is supposed to do with BoundingBoxCRS=USER:10. I would assume any client knows how to handle EPSG coded CRS. Could you post a link to your GetCapabilities document? What is/are the CRS defined in Project Properties / OWS server? I have not tested but my idea of how the server _should_ work is: If CRS restriction is set in OWS server any layer not matching the CRS defined there is reprojected on the fly (if option is ticked in the Project Properties) and can thus be displayed (even layers with user-defined CRS). GetCapabilities would return the bounding box for the CRS set in OWS server, not for the CRS of the layer. Bernhard Am 25.06.2013 17:00, schrieb rldhont: Hi Marco, I probably found an issue and a regression. QGIS-Server can't work with user defined Coordinate Reference System. I'm working with customers data and one file is in an exotic Coordiante Reference System. This CRS is stored in the qgs file. The Desktop can read and use it. The layer is correctly drawn and the CRS information is correctly retruned in the dialog. The QGIS-Server doesn't read it. In the GetCapabilities the CRS attribute of the BoundingBox element is empty : BoundingBoxCRS=maxx=1.**19973e+06minx=657382maxy=** 1.8786e+06miny=1.61552e+06**/BoundingBox With the 1.8 version I have this : BoundingBoxCRS=USER:10**maxx=1.19973e+06minx=** 657382maxy=1.8786e+06miny=**1.61552e+06/BoundingBox And QGIS-Server can't drawning the layer like QGIS-Desktop. Are you aware of this issue ? Someone else ? Do I have to open an issue ? René-Luc D'Hont 3Liz __ Information from ESET Mail Security, version of virus signature database 8488 (20130625) __ 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-**developerhttp://lists.osgeo.org/mailman/listinfo/qgis-developer __ Information from ESET Mail Security, version of virus signature database 8488 (20130625) __ The message was checked by ESET Mail Security. http://www.eset.com __ Information from ESET Mail Security, version of virus signature database 8489 (20130625) __ 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-**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] Can't read user defined Coordinate Reference System
Hi René-Luc Please open a ticket about it. This CRS is stored in the qgs file Isn't it stored in the srs.db file rather than in the .qgs file? Regards, Marco On 25.06.2013 17:00, rldhont wrote: Hi Marco, I probably found an issue and a regression. QGIS-Server can't work with user defined Coordinate Reference System. I'm working with customers data and one file is in an exotic Coordiante Reference System. This CRS is stored in the qgs file. The Desktop can read and use it. The layer is correctly drawn and the CRS information is correctly retruned in the dialog. The QGIS-Server doesn't read it. In the GetCapabilities the CRS attribute of the BoundingBox element is empty : BoundingBoxCRS=maxx=1.19973e+06minx=657382maxy=1.8786e+06miny=1.61552e+06/BoundingBox With the 1.8 version I have this : BoundingBoxCRS=USER:10maxx=1.19973e+06minx=657382maxy=1.8786e+06miny=1.61552e+06/BoundingBox And QGIS-Server can't drawning the layer like QGIS-Desktop. Are you aware of this issue ? Someone else ? Do I have to open an issue ? René-Luc D'Hont 3Liz -- Dr. Marco Hugentobler Sourcepole - Linux Open Source Solutions Weberstrasse 5, CH-8004 Zürich, Switzerland marco.hugentob...@sourcepole.ch http://www.sourcepole.ch Technical Advisor QGIS Project Steering Committee ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] [QGIS-Server] Can't read user defined Coordinate Reference System
Hi Marco, I open an issue : http://hub.qgis.org/issues/8172 The bug is that QGIS-Server does not initialize qgis.db the qgisUserDbFile Regards, René-Luc Le 26/06/2013 08:12, Marco Hugentobler a écrit : Hi René-Luc Please open a ticket about it. This CRS is stored in the qgs file Isn't it stored in the srs.db file rather than in the .qgs file? Regards, Marco On 25.06.2013 17:00, rldhont wrote: Hi Marco, I probably found an issue and a regression. QGIS-Server can't work with user defined Coordinate Reference System. I'm working with customers data and one file is in an exotic Coordiante Reference System. This CRS is stored in the qgs file. The Desktop can read and use it. The layer is correctly drawn and the CRS information is correctly retruned in the dialog. The QGIS-Server doesn't read it. In the GetCapabilities the CRS attribute of the BoundingBox element is empty : BoundingBoxCRS=maxx=1.19973e+06minx=657382maxy=1.8786e+06miny=1.61552e+06/BoundingBox With the 1.8 version I have this : BoundingBoxCRS=USER:10maxx=1.19973e+06minx=657382maxy=1.8786e+06miny=1.61552e+06/BoundingBox And QGIS-Server can't drawning the layer like QGIS-Desktop. Are you aware of this issue ? Someone else ? Do I have to open an issue ? René-Luc D'Hont 3Liz -- Dr. Marco Hugentobler Sourcepole - Linux Open Source Solutions Weberstrasse 5, CH-8004 Zürich, Switzerland marco.hugentob...@sourcepole.ch http://www.sourcepole.ch Technical Advisor QGIS Project Steering Committee ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] [QGIS-Server] Can't read user defined Coordinate Reference System
Hi René-Luc, I am wondering what any WMS client is supposed to do with BoundingBoxCRS=USER:10. I would assume any client knows how to handle EPSG coded CRS. Could you post a link to your GetCapabilities document? What is/are the CRS defined in Project Properties / OWS server? I have not tested but my idea of how the server _should_ work is: If CRS restriction is set in OWS server any layer not matching the CRS defined there is reprojected on the fly (if option is ticked in the Project Properties) and can thus be displayed (even layers with user-defined CRS). GetCapabilities would return the bounding box for the CRS set in OWS server, not for the CRS of the layer. Bernhard Am 25.06.2013 17:00, schrieb rldhont: Hi Marco, I probably found an issue and a regression. QGIS-Server can't work with user defined Coordinate Reference System. I'm working with customers data and one file is in an exotic Coordiante Reference System. This CRS is stored in the qgs file. The Desktop can read and use it. The layer is correctly drawn and the CRS information is correctly retruned in the dialog. The QGIS-Server doesn't read it. In the GetCapabilities the CRS attribute of the BoundingBox element is empty : BoundingBoxCRS=maxx=1.19973e+06minx=657382maxy=1.8786e+06miny=1.61552e+06/BoundingBox With the 1.8 version I have this : BoundingBoxCRS=USER:10maxx=1.19973e+06minx=657382maxy=1.8786e+06miny=1.61552e+06/BoundingBox And QGIS-Server can't drawning the layer like QGIS-Desktop. Are you aware of this issue ? Someone else ? Do I have to open an issue ? René-Luc D'Hont 3Liz __ Information from ESET Mail Security, version of virus signature database 8488 (20130625) __ 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 __ Information from ESET Mail Security, version of virus signature database 8488 (20130625) __ The message was checked by ESET Mail Security. http://www.eset.com __ Information from ESET Mail Security, version of virus signature database 8489 (20130625) __ 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