https://issues.qgis.org/
https://issues.qgis.org/favicon.ico
2013-06-09T20:47:42Z
QGIS Issue Tracking
QGIS Application - Bug report #8027: qgis-server doesn't understand correctly the relative path
https://issues.qgis.org/issues/8027?journal_id=41914
2013-06-09T20:47:42Z
Paolo Cavallini
cavallini@faunalia.it
<ul><li><strong>Category</strong> set to <i>QGIS Server</i></li></ul><p>If I understand it correctly, it works here.</p>
QGIS Application - Bug report #8027: qgis-server doesn't understand correctly the relative path
https://issues.qgis.org/issues/8027?journal_id=41993
2013-06-13T02:17:04Z
René-Luc ReLuc
rldhont@3liz.com
<ul></ul>Can you give us more information :
<ul>
<li>How did you defined that QGIS-Server doesn't find spatialite db in relative path ?</li>
<li>Do you have some test to reproduce the bug ?</li>
<li>What is the OS of your server ?</li>
<li>WHat is the OS of your desktop ?</li>
<li>What is the version of the Desktop and Server version ?</li>
</ul>
<p>We propose with LizMap, some examples data in spatialite with relative path and QGIS-Server-master has no problem to find there.</p>
QGIS Application - Bug report #8027: qgis-server doesn't understand correctly the relative path
https://issues.qgis.org/issues/8027?journal_id=41994
2013-06-13T02:30:48Z
aperi2007 -
aperi2007@gmail.com
<ul></ul><p>I create a db spatialite using the spatialite 4.0 or 4.1<br />after this I convert it to a spatialite 3.0 <br />On a windows 7 64 bit I create a qgis project using a qgis-dev .<br />Using relate path and putting the file spatialite 3.0 and the qgis file project in the same path.</p>
<p>In this configuration it work.<br />After this I send it to a server sending both the qgis prject file and the db file in the cgi-bin folder of the webserver.<br />In the server there is a cgi of a qgis-server compiled from the seme code from GITHub.</p>
<p>When I try to invoke it from my qgis desktop as a layer wms it not respond anything.</p>
<p>If I change manually the path in the qgis project changing it from</p>
<p>dbname='./xxxxx.sqlite'</p>
<p>to</p>
<p>dbname='/home/.../path-tocgi/cgi/xxxxx.sqlite'</p>
<p>It start to respond.</p>
QGIS Application - Bug report #8027: qgis-server doesn't understand correctly the relative path
https://issues.qgis.org/issues/8027?journal_id=41995
2013-06-13T02:35:32Z
René-Luc ReLuc
rldhont@3liz.com
<ul></ul><ul>
<li>What is the OS of your server ?</li>
<li>Do you have the same problem with other vector data file ?</li>
<li>Do you use MAP parameter in you're WMS request ?</li>
<li>Do you look at the GetCapabilities Response in a Web Browser ?</li>
<li>DO you have the same problem if you move the project in an other directory with the MAP parameter ?</li>
</ul>
QGIS Application - Bug report #8027: qgis-server doesn't understand correctly the relative path
https://issues.qgis.org/issues/8027?journal_id=42001
2013-06-13T03:07:32Z
aperi2007 -
aperi2007@gmail.com
<ul></ul><p>What is the OS of your server ?<br />--> The server OS is RedHat ES6 64 bit.</p>
<p>Do you have the same problem with other vector data file ?<br />--> I don't knowI'm use only spatialites dbfiles. This is the first try to use qgis-server . Usually I use Mapserver.</p>
<p>Do you use MAP parameter in you're WMS request ?<br />--> yes out call is something like:<br /> <a class="external" href="http://www......./cgi-bin/qgis?map=project.qgs">http://www......./cgi-bin/qgis?map=project.qgs</a></p>
<p>Do you look at the GetCapabilities Response in a Web Browser ?<br />--> I guess yes, because I'm using the qgis desktop from a pc client to test the work of wms service.<br />I know the add layer wms will use the getcapabilities to understand all the layers and the urls.</p>
<p>DO you have the same problem if you move the project in an other directory with the MAP parameter ?<br />--> I will try this early to properly response to this.</p>
<p>Regards.</p>
QGIS Application - Bug report #8027: qgis-server doesn't understand correctly the relative path
https://issues.qgis.org/issues/8027?journal_id=42027
2013-06-14T07:46:59Z
aperi2007 -
aperi2007@gmail.com
<ul></ul><p>I tested using a subfolder as relative path.<br />Still it is not working.</p>
<p>More precisely.<br />I'm able to connect to the qgis-server wms.<br />Also I see the right list of layer and also I'm able to add a layer to the canvas.<br />But I don't see anything as the geometries was fully transparency or null.</p>
<p>Regards.</p>
<p>However this seem to be a problem only of my server .<br />So I guess this ticket could be closed.</p>
QGIS Application - Bug report #8027: qgis-server doesn't understand correctly the relative path
https://issues.qgis.org/issues/8027?journal_id=42028
2013-06-14T08:54:42Z
aperi2007 -
aperi2007@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>invalid</i></li></ul><p>I close the ticket this work correctly on other external system, as reported.<br />So the only possible cause can be an incompatibility between <br />qgis-server (or its spatialite driver) and the RedHat ES 6 64 bit.</p>
<p>However the workaround of absolute path seem to work.<br />So this is not really a big problem for who use qgis-server on redhat.</p>
QGIS Application - Bug report #8027: qgis-server doesn't understand correctly the relative path
https://issues.qgis.org/issues/8027?journal_id=42190
2013-06-18T22:40:22Z
Paolo Cavallini
cavallini@faunalia.it
<ul><li><strong>Subject</strong> changed from <i>qgis-server don't understand correctly the relative path in a spatialite db</i> to <i>qgis-server doesn't understand correctly the relative path</i></li><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>I confirm here in a Debian box, also for shapefile. The following request works:</p>
<p><a class="external" href="http://192.168.0.79/cgi-bin/qgis_mapserv.fcgi?map=/usr/lib/cgi-bin/test/test.qgs&SERVICE=WMS&REQUEST=GetMap&BBOX=15,20,50,40&CRS=EPSG:4326&WIDTH=800&HEIGHT=480&LAYERS=comuni&FORMAT=image/png">http://192.168.0.79/cgi-bin/qgis_mapserv.fcgi?map=/usr/lib/cgi-bin/test/test.qgs&SERVICE=WMS&REQUEST=GetMap&BBOX=15,20,50,40&CRS=EPSG:4326&WIDTH=800&HEIGHT=480&LAYERS=comuni&FORMAT=image/png</a></p>
<p>while this one does not (returns a white page):</p>
<p><a class="external" href="http://192.168.0.79/cgi-bin/qgis_mapserv.fcgi?map=test/test.qgs&SERVICE=WMS&REQUEST=GetMap&BBOX=15,20,50,40&CRS=EPSG:4326&WIDTH=800&HEIGHT=480&LAYERS=comuni&FORMAT=image/png">http://192.168.0.79/cgi-bin/qgis_mapserv.fcgi?map=test/test.qgs&SERVICE=WMS&REQUEST=GetMap&BBOX=15,20,50,40&CRS=EPSG:4326&WIDTH=800&HEIGHT=480&LAYERS=comuni&FORMAT=image/png</a></p>
QGIS Application - Bug report #8027: qgis-server doesn't understand correctly the relative path
https://issues.qgis.org/issues/8027?journal_id=42211
2013-06-19T20:55:38Z
Paolo Cavallini
cavallini@faunalia.it
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>So, relative paths <strong>to</strong> projects are not supported as for now.</p>