Hi Julian
Spatialite layers with relativ pathes work fine for me in QGIS server
with the current developer version (on ubuntu 11.10).
Which version of QGIS are you using? I remember having added the
relative -> absolute path conversion for file based databases some time ago.
Probably you are using different versions on Mac OS and Linux?
Regards,
Marco
On 20.04.2012 21:50, jbogdani wrote:
UPDATE:
I made some more tests with a second Ubuntu server (a desktop version). It
seems it's a path problem.
On MacOS a spatialite layer can be added using generic "Add vector layer" or
specific add "SpatiaLite layer". Both procedures work. On ubuntu the first
procedure does not work: loads up a layer, but nothing is showed on the map;
this was my case.
Adding the layer following the second procedure does show the layer in the
map in Qgis, but did not work for qgis-web-client. Switching the project to
absolute path, works.
As a conclusion there is no way to get spatiaLite work with relative paths.
Not in my case. Can anyone confirm? And, why there is such a render
difference in MacOS and Linux, with spatiaLite added as vector layer?
jbogdani wrote
hello all,
I'm experiencing a very strange behavior of qgis-server with spatialite
layers. I'm testing it on my MacBook (snow leopard) and on a Ubuntu
server.
Using shapefiles the project loads fine; using spatialite I can
successfully view the map on qgis-web-client using MacOS as server, but no
map is shown with Ubuntu server. I can see the layer list, but no feature
in the map.
Adding other layers, raster and shapefiles, I get a mix result in Ubuntu:
shapefiles& rasters are correctly displayed, but no spatialite layer is
displayed.
I created the spatialite layers using QspatiaLite plugin.
Qgis-web-client' test project, wich uses spatialite, is correctly showed!
Any help?
-----
Julian Bogdani
jbogdani@
http://bradypus.net
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/qgis-server-problem-with-spatialite-layers-tp4902421p4903190.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user
--
Dr. Marco Hugentobler
Sourcepole - Linux& Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
[email protected] http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user