Hi Jorge, I did try to describe what I did as much precisely as I can. w10 machine with a qgis desktop 3.16.4 which run fine. a postgres12/postgis3.1 DB No pb to display a map (like osm standard) and to add layers out of the postgres DB within the qgis desktop.
What I try to POC is qgis server. So, I install osgeo4W64 with all options, and try to follow the doc: setup the http.conf of an apache2.4 and then run requests from a chrome or mozilla browser. you ask "is qgis server running ?" I reread the doc and found nowhere this. Also, in the osgeo4W64/bin directory nothing like a qgisserver.exe (or similar)file neither in the osgeo4W64/app/qgis/bin directory So, please, can you explain what you mean ? thanks Marc MILLAS Senior Architect +33607850334 www.mokadb.com On Fri, Mar 12, 2021 at 9:25 PM Jorge Gustavo Rocha <[email protected]> wrote: > Hi Marc, > > Can you ask a more specific question? I'm sorry, but for someone like me > that knows nothing about you attempts, it is difficult to help. > > Is QGIS Server running or not? If not, what is the problem? > > QGIS Server reads *.qgz project files. That's for sure and you will not > find nothing that says it can't. QGIS Server reads the same project formats > as QGIS Desktop. > > How are you testing it? Are you writing manually the calls to the services > or are you using some client (like QGIS Desktop)? You can debug QGIS Server > using QGIS Desktop as client. > > Regards, > > Jorge Gustavo > Às 12:39 de 12/03/21, Marc Millas escreveu: > > Nobody on this?? > > I need help > Thanks > > Le jeu. 11 mars 2021 à 17:27, Marc Millas <[email protected]> a > écrit : > >> Hi, I just reinstall a full osgeo4W64 distro on a w10 machine. (with qgis >> 3.16.4) >> I have created 2 simple projects with qgis desktop >> 1) with only an osm standard map >> 2) with the same map+ 2 layers out of postgres12//postgis3.1 one layer >> polygon ; one layer point >> >> I do setup the project qgisserver properties, so as to limit the size of >> the map , ... >> >> I have a fresh, working, apache24 installed on the same w10 machine >> (apache lounge distro) >> >> So, I try to follow some docs to test the qgisserver capabilities. >> >> I modified the http.conf file, and run the WMS getcapabilities test >> suggested in the doc. fine, I get an xml doc stating various things. ok. >> >> Then I try the getmap test using my just created qgis projects. >> 1) looks like that 3xx version of qgis server dont know the qgz format. >> So back to qgis to save each project in a qgs format. (I found nothing in >> the doc about this) >> 2) now when I run the getmap test out of the same browser, I get a white >> rectangle of the size asked for in the getmap request, in a wholly black >> landscape. >> >> -looking at apache log, I found for each test a set of errors coming from >> qgis-mapserv.fcgi.exe saying that the .exe didnt found proj.db >> after a little internet digging, I did setup PROJ_LIB pointing to >> the C:\OSGeo4W64\share\proj >> directory where the osgeo installer put the proj.db file >> >> Rerun the getmap test. >> nothing changes. >> >> also if I run the getmap request with the qgis-server instead of the >> qgis_mapserv.fcgi.exe tool, I get a simple "url not found" apache message. >> >> >> looks like I need some help >> thanks, >> regards, >> >> >> >> Marc MILLAS >> Senior Architect >> +33607850334 >> www.mokadb.com >> >> > _______________________________________________ > Qgis-user mailing [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > > -- > [image: Logo] <https://www.geomaster.pt> > *Geomaster* > *Jorge Gustavo Rocha* | Software Engineer > *e:* [email protected] | *m:* +351 910 333 888 > *g:* 41.54094,-8.40490 | *v: * 510 906 109 > *a: * Rua António Cândido Pinto, 67, 4715-400 Braga > _______________________________________________ > 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 >
_______________________________________________ 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
