[Qgis-user] QWC strange behaviour of Zoom and Pan functions if authid=EPSG31467 and problems with long directory paths in qgis-mapserver
landconsult at freenet.de
landconsult at freenet.de
Fri Jun 27 07:27:12 PDT 2014
Bernhard, Marco,
Bernhard, your proposal to change the xy order in GlobalOption.js was right, ZOOM and PAN work now in EPSG31467 without any problems!
And the "long path" problem was my own fault, simply missing data was the reason ..., so I can confirm now that the qgis-mapserver works also with long path/file names.
Thanks again for the advice.
I am now struggling with the transparency of raster layers, which work on the older Windows QWC but not on the newer QWC on Linux ... but I hope to find the error soon ..
Markus
-----Ursprüngliche Nachricht-----
Von: "Markus Weidenbach" [landconsult at freenet.de]
Gesendet: Fr. 27.06.2014 09:50
An: qgis-user at lists.osgeo.org
Betreff: Re: [Qgis-user] QWC strange behaviour of Zoom and Pan functions if authid=EPSG31467 and problems with long directory paths in qgis-mapserver
Hi Marco, Bernhard,
Marco, no I don´t think there is any directory permission problem, but I will check again ....
I will also try Bernhard´s proposal to change the settings for the CRS axis ...
regards,
Markus
--
Dr. Markus Weidenbach
landConsult.de
Geographical Information Management
and Environmental Planning
D-77815 Bühl
Germany
e.mail see: http://landConsult.deAm 27.06.2014 09:27, schrieb Marco Hugentobler:>Is there a limit of characters for paths or shapefile names used in the QGIS *.qgs file that affects the qgis-mapserver?
Not that I know.
Is it possible that it is a problem with the file permissions for the webserver user?
Regards,
Marco
On 27.06.2014 09:08, Markus Weidenbach wrote:Dear List,
I am running the QGIS Web Client (checkout from GIT HUB on 25.06.14) and QGIS Webserver 2.2.0 on Debian 7.
In GlobalOptions.js I set the authid variable to 31467 and I am publishing only data in that projection ( I also disabled Google Maps in GlobalOptions.js).
Everything works fine, but the ZOOM and the PAN function in QWC behave strange, in fact it is almost impossible to zoom or pan to a selected spot.
You can test it yourself on
http://188.138.88141/qgis-web-client/site/qgiswebclient.html?map=/home/wbv/Untersuchungsgebiet_GK3_2.qgs or
http://188.138.88.141/qgis-web-client/site/qgiswebclient.html?map=/var/www/qgis-web-client/projects/test_GK3.qgs
Any idea whats wrong here?
If I switch the QWC back to EPSG3857 the ZOOM/PAN works normal.
Another problem I encountered is the fact, that the webserver is not reading shapefiles which use a very long directory path.
e.g. the shape /var/www/qgis-web-client/projects/wbv/wbv-geodaten/shape/ugebiet/teilgebiet_nord_1km_kacheln.shp is not listet in the GetCapabilities request (see http://188.138.88.141/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities&map=/var/www/qgis-web-client/projects/Untersuchungsgebiet_GK3.qgs).
But after copying the same shape to /home/wbv/wbv-geodaten/nord.shp (together with the corrected *.qgs) this layer is listet in the GetCapabilities request (see
http://188.138.88.141/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities&map=/home/wbv/Untersuchungsgebiet_GK3_2.qgs)
and is also displayed in the QWC (see
http://188.138.88.141/qgis-web-client/site/qgiswebclient.html?map=/home/wbv/Untersuchungsgebiet_GK3_2.qgs).
Is there a limit of characters for paths or shapefile names used in the QGIS *.qgs file that affects the qgis-mapserver?
Thanks for your comments.
Markus
--
Dr. Markus Weidenbach
landConsult.de
Geographical Information Management
and Environmental Planning
D-77815 Bühl
Germany
e.mail see: http://landConsult.de
_______________________________________________Qgis-user mailing listQgis-user at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-user
-- Dr. Marco HugentoblerSourcepole - Linux & Open Source SolutionsWeberstrasse 5, CH-8004 Zürich, Switzerlandmarco.hugentobler at sourcepole.ch http://www.sourcepole.chTechnical Advisor QGIS Project Steering Committee
_______________________________________________Qgis-user mailing listQgis-user at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-user
-----Ursprüngliche Nachricht Ende-----
---
Alle Postfächer an einem Ort. Jetzt wechseln und E-Mail-Adresse mitnehmen! Rundum glücklich mit freenetMail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140627/ff99117e/attachment.html>
More information about the Qgis-user
mailing list