Hi Tom, Às 19:49 de 13/09/19, Tom Vogt escreveu: > Interesting idea. How can I call the WMS interactively ? > You can define environment variables and then call the executable on the command. That is the best way to know what is going on.
Something like (this is for Linux, but Windows should be similar): export QUERY_STRING="SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities" export QGIS_PROJECT_FILE="/home/jgr/qgis/ne_10m_admin_0_countries/world.qgz" /usr/lib/cgi-bin/qgis_mapserv.fcgi > > There is, to be honest, not enough documentation on the QGIS server. I > still don’t understand how it picks a map file when you don’t give one > explicitly, for example. > > You can pass the MAP parameters or use the project defined in the configuration. So, if you don't use a MAP parameter, it will use the project defined in your *.conf file. Best regards, Jorge Gustavo > > >> Am 13.09.2019 um 20:39 schrieb Alessandro Pasotti <[email protected] >> <mailto:[email protected]>>: >> >> You can try with python, and call it interactively. Also increase the >> logging level and if you can access a debug build set QGIS debug on. >> >> Last resource you can use a real debugger, check this out: >> https://github.com/elpaso/qgis-dev-vagrant >> >> >> >> On Fri, Sep 13, 2019, 20:28 Tom Vogt <[email protected] >> <mailto:[email protected]>> wrote: >> >> Hey everyone, >> >> I’ve been playing with QGIS for many years, but now I’m on the >> mailing list as well. I’ve been banging my head against QGIS for >> the past two days and just can’t get it to work, so maybe I can >> find help here. It just doesn’t give me WMS tiles or they are >> blank. Then I fiddle around and it works, then I clean it up to >> make it work and it stops again. It’s driving me crazy. :-) >> >> >> Any hints on debugging qgis_mapserv.fcgi ? >> >> >> Tom >> >> _______________________________________________ >> Qgis-user mailing list >> [email protected] <mailto:[email protected]> >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >> > > > _______________________________________________ > Qgis-user mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user -- Logo* Geomaster, LDA* *VENHA DESCOBRIR O CAMINHO DO OPEN SOURCE CONNOSC**O * Avenida Barros e Soares N.º 423, 4715-214 Braga VAT/NIF510 906 109 Phone +351 253 680 323 Site geomaster.pt <http://geomaster.pt> GPS 41.53322, -8.41929 ------------------------------------------------------------------------ Jorge Gustavo Rocha CTO Mobile +351 910 333 888 Email [email protected]
_______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
