>There was a bug opened about this problem :
>Bug #8027: qgis-server don't understand correctly the relative path in a spatialite db

This is a different thing. Relative pathes _within_ the project should be considered if project path setting is 'relative pathes'. (I remember that was fixed somewhen for spatialite).

>I'm finding problems in using relative paths in qgis mapserver.

Relative pathes _to_ the project file are currently not supported (though it is easy to resolve the relative pathes). What is your use-case? Do you have several different server instances on your machine?

Regards,
Marco

Am 19.06.2013 09:01, schrieb rldhont:
Hi Paolo,

There was a bug opened about this problem :
Bug #8027: qgis-server don't understand correctly the relative path in a spatialite db
http://hub.qgis.org/issues/8027
This bug has been closed because he was not enough generic.

You can reopen this one or open a new one.

René-Luc D'Hont
3Liz

Le 18/06/2013 19:26, Paolo Cavallini a écrit :
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.
I'm finding problems in using relative paths in qgis mapserver.
The following request works:

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

while this one does not (returns a white page):

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

Am I doing something wrong?
All the best.
- -- Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlHAmCsACgkQ/NedwLUzIr5J+wCgoHiV+pdYuJCoh8LyMeRU4jZN
oXQAn37T0LnXvUyb1eOvvwrJNyay+m6c
=G6NJ
-----END PGP SIGNATURE-----
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer


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

_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to