[Qgis-developer] [QGIS-Server] Can't read user defined Coordinate Reference System

René-Luc D'Hont rldhont at gmail.com
Tue Jun 25 23:06:39 PDT 2013


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.stroebl at jena.de> a
écrit :

> Hi René-Luc,
>
> I am wondering what any WMS client is supposed to do with
> BoundingBoxCRS="USER:100000". 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+06"minx="657382"maxy="**
>> 1.8786e+06"miny="1.61552e+06">**</BoundingBox>
>> With the 1.8 version I have this :
>> <BoundingBoxCRS="USER:100000"**maxx="1.19973e+06"minx="**
>> 657382"maxy="1.8786e+06"miny="**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 at lists.osgeo.org
>> http://lists.osgeo.org/**mailman/listinfo/qgis-**developer<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 at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/qgis-**developer<http://lists.osgeo.org/mailman/listinfo/qgis-developer>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130626/ab91130e/attachment.html>


More information about the Qgis-developer mailing list