<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Andrea<br>
<br>
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).<br>
<br>
Regards,<br>
Marco<br>
<br>
On 25.11.2013 21:42, andrea pacifici wrote:<br>
</div>
<blockquote
cite="mid:CAPVnmMpOWkeBUmAboNrXJLyc4NqBidfKmTL+VvZTNNZhfkhS2w@mail.gmail.com"
type="cite">
<div dir="ltr">
<p dir="ltr">Hi there,<br>
<br>
I'm trying to set-up a WMS server using the qgis-server (qgis
2.0 and<br>
Ubuntu 12.04) and data of planet Mars. Since Mars is not the
Earth I<br>
must use custom RS. So, I have realized a qgis project with
Martian<br>
data and I have properly filled fields in "OWS server" of
"Project<br>
Properties".<br>
<br>
Then I started a new Qgis project using the same custom RS and
I try<br>
to add the layers using "Add layer from a server" command.
Once Qgis<br>
is connected to the server the layers name are visible but
layers<br>
don't appears.<br>
<br>
WMS Log Messages report:<br>
<br>
Map request error (Title:Service Exception; Error:Request
contains a<br>
CRS not offered by the server for one or more of the Layers in
the<br>
request.<br>
The WMS vendor also reported: Could not create output CRS;
URL:<br>
<a moz-do-not-send="true"
href="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"
target="_blank">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</a>)<br>
<br>
I copied my own CRS in the RS database of Qgis in<br>
/usr/share/qgis/resources/srs.</p>
<div id=":1j5">db but I have still the same issue.<br>
<br>
Any idea?<br>
<br>
</div>
<div id=":1j5">Thanks!<br>
<br>
</div>
<div id=":1j5">Andrea<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
<a class="moz-txt-link-abbreviated" href="mailto:marco.hugentobler@sourcepole.ch">marco.hugentobler@sourcepole.ch</a> <a class="moz-txt-link-freetext" href="http://www.sourcepole.ch">http://www.sourcepole.ch</a>
Technical Advisor QGIS Project Steering Committee </pre>
</body>
</html>