I don't see where QGIS Server could differ from QGIS Desktop in retrieving
the output CRS. It seems to use the same mechanism (through QgsCRSCache).
Andrea, can you confirm it works properly inside QGIS Desktop? Would you
share the user defined CRS and some extract of your data in that CRS?

Giovanni


2013/11/26 Marco Hugentobler <marco.hugentob...@sourcepole.ch>

>  Hi Andrea
>
> Using custom CRS with QGIS server is not so common, so probably it is a
> bug in the server code. However I'm not sure what the correct way is to
> call a user CRS in a WMS request (need to have a look in the WMS spec).
>
> Regards,
> Marco
>
> On 25.11.2013 21:42, andrea pacifici wrote:
>
>  Hi there,
>
> I'm trying to set-up a WMS server using the qgis-server (qgis 2.0 and
> Ubuntu 12.04) and data of planet Mars. Since Mars is not the Earth I
> must use custom RS. So, I have realized a qgis project with Martian
> data and I have properly filled fields in "OWS server" of "Project
> Properties".
>
> Then I started a new Qgis project using the same custom RS and I try
> to add the layers using "Add layer from a server" command. Once Qgis
> is connected to the server the layers name are visible but layers
> don't appears.
>
> WMS Log Messages report:
>
> Map request error (Title:Service Exception; Error:Request contains a
> CRS not offered by the server for one or more of the Layers in the
> request.
> The WMS vendor also reported: Could not create output CRS; URL:
>
> http://localhost/cgi-bin/liz_test/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-112389.97944659927452449,-163304.16266460958286189,99132.64792997627228033,-33665.77575473205070011&CRS=USER:100000&WIDTH=574&HEIGHT=352&LAYERS=mola&STYLES=&FORMAT=image/jpeg&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96
> )
>
> I copied my own CRS in the RS database of Qgis in
> /usr/share/qgis/resources/srs.
> db but I have still the same issue.
>
> Any idea?
>
>  Thanks!
>
>  Andrea
>
>
> _______________________________________________
> Qgis-user mailing 
> listQgis-user@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
> --
> Dr. Marco Hugentobler
> Sourcepole -  Linux & Open Source Solutions
> Weberstrasse 5, CH-8004 Zürich, switzerlandmarco.hugentob...@sourcepole.ch 
> http://www.sourcepole.ch
> Technical Advisor QGIS Project Steering Committee
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>



-- 
Giovanni Allegri
http://about.me/giovanniallegri
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to