[Qgis-user] qgis-server issue whit custom RS. Impossible to work with planetary data (sorry for possible cross-posting)

Marco Hugentobler marco.hugentobler at sourcepole.ch
Tue Nov 26 00:17:24 PST 2013


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 list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20131126/a7c63a69/attachment.html>


More information about the Qgis-user mailing list