<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Julian<br>
<br>
Version 1.7.4 has the bug with relative pathes for spatialite not
supported in QGIS server. The most recent source code (=upcoming
1.8) works fine.<br>
<br>
>What do you mean when you write: " I remember having added the
relative -> absolute path >conversion for file based databases
some time ago."? You do not mean the "Save paths" in Project
>properties, do you?<br>
<br>
No, I meant the path conversion in QGIS server.<br>
<br>
Regards,<br>
Marco<br>
<br>
On 21.04.2012 17:29, Julian Bogdani wrote:
<blockquote
cite="mid:640A6B6E-8967-4CEE-A399-BE67C457D811@gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=iso-8859-1">
I'm running Qgis 1.7.4 both on MacOS and on Ubuntu (10.04.4).
<div>I'll try tomorrow also with Ubuntu 11, same QGIS.</div>
<div><br>
</div>
<div>What do you mean when you write: " I remember having added
the relative -> absolute path conversion for file based
databases some time ago."? You do not mean the "Save paths" in
Project properties, do you?</div>
<div>
<div>
<span><span><span>
<div><span>
<div><span>
<div>
<div><br>
<br>
</div>
<div>-----</div>
<div>Julian Bogdani</div>
<div><a moz-do-not-send="true"
href="mailto:jbogdani@gmail.com">jbogdani@gmail.com</a></div>
<div><a moz-do-not-send="true"
href="http://bradypus.net">http://bradypus.net</a></div>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</span><br>
</span>
</div>
<br>
<div>
<div>On 21 Apr 2012, at 17:20 , Marco Hugentobler wrote:</div>
<br>
<blockquote type="cite">
<div>Hi Julian<br>
<br>
Spatialite layers with relativ pathes work fine for me in
QGIS server with the current developer version (on ubuntu
11.10).<br>
<br>
Which version of QGIS are you using? I remember having
added the relative -> absolute path conversion for file
based databases some time ago.<br>
<br>
Probably you are using different versions on Mac OS and
Linux?<br>
<br>
Regards,<br>
Marco<br>
<br>
On 20.04.2012 21:50, jbogdani wrote:<br>
<blockquote type="cite">UPDATE:<br>
</blockquote>
<blockquote type="cite">I made some more tests with a
second Ubuntu server (a desktop version). It<br>
</blockquote>
<blockquote type="cite">seems it's a path problem.<br>
</blockquote>
<blockquote type="cite">On MacOS a spatialite layer can be
added using generic "Add vector layer" or<br>
</blockquote>
<blockquote type="cite">specific add "SpatiaLite layer".
Both procedures work. On ubuntu the first<br>
</blockquote>
<blockquote type="cite">procedure does not work: loads up
a layer, but nothing is showed on the map;<br>
</blockquote>
<blockquote type="cite">this was my case.<br>
</blockquote>
<blockquote type="cite">Adding the layer following the
second procedure does show the layer in the<br>
</blockquote>
<blockquote type="cite">map in Qgis, but did not work for
qgis-web-client. Switching the project to<br>
</blockquote>
<blockquote type="cite">absolute path, works.<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">As a conclusion there is no way to
get spatiaLite work with relative paths.<br>
</blockquote>
<blockquote type="cite">Not in my case. Can anyone
confirm? And, why there is such a render<br>
</blockquote>
<blockquote type="cite">difference in MacOS and Linux,
with spatiaLite added as vector layer?<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">jbogdani wrote<br>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">hello all,<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">I'm experiencing a very strange
behavior of qgis-server with spatialite<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">layers. I'm testing it on my
MacBook (snow leopard) and on a Ubuntu<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">server.<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">Using shapefiles the project
loads fine; using spatialite I can<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">successfully view the map on
qgis-web-client using MacOS as server, but no<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">map is shown with Ubuntu server.
I can see the layer list, but no feature<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">in the map.<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">Adding other layers, raster and
shapefiles, I get a mix result in Ubuntu:<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">shapefiles& rasters are
correctly displayed, but no spatialite layer is<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">displayed.<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">I created the spatialite layers
using QspatiaLite plugin.<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">Qgis-web-client' test project,
wich uses spatialite, is correctly showed!<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">Any help?<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">-----<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">Julian Bogdani<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">jbogdani@<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><a moz-do-not-send="true"
href="http://bradypus.net">http://bradypus.net</a><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">_______________________________________________<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">Qgis-user mailing list<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@.osgeo">Qgis-user@.osgeo</a><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">--<br>
</blockquote>
<blockquote type="cite">View this message in context: <a
moz-do-not-send="true"
href="http://osgeo-org.1560.n6.nabble.com/qgis-server-problem-with-spatialite-layers-tp4902421p4903190.html">http://osgeo-org.1560.n6.nabble.com/qgis-server-problem-with-spatialite-layers-tp4902421p4903190.html</a><br>
</blockquote>
<blockquote type="cite">Sent from the Quantum GIS - User
mailing list archive at <a moz-do-not-send="true"
href="http://Nabble.com">Nabble.com</a>.<br>
</blockquote>
<blockquote type="cite">_______________________________________________<br>
</blockquote>
<blockquote type="cite">Qgis-user mailing list<br>
</blockquote>
<blockquote type="cite"><a moz-do-not-send="true"
href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
</blockquote>
<blockquote type="cite"><a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote>
<br>
<br>
-- <br>
Dr. Marco Hugentobler<br>
Sourcepole - Linux& Open Source Solutions<br>
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland<br>
<a moz-do-not-send="true"
href="mailto:marco.hugentobler@sourcepole.ch">marco.hugentobler@sourcepole.ch</a>
<a moz-do-not-send="true" href="http://www.sourcepole.ch">http://www.sourcepole.ch</a><br>
Technical Advisor QGIS Project Steering Committee<br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a moz-do-not-send="true"
href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, 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>