Re: [Qgis-user] where to install qgis-web-client on Mac OSX 10.8.4

2013-07-11 Thread Marcel Stadelmann
yeah, with the following url it works and the Alaska map is shown in the browser: http://localhost/qgis-mapserv/qgis_mapserv.fcgi?map=/Library/WebServer/Documents/alaska.qgs&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-0,0,100,800&CRS=EPSG:2964&WIDTH=2000&HEIGHT=1194&LAYERS=alaska&STYLES

Re: [Qgis-user] where to install qgis-web-client on Mac OSX 10.8.4

2013-07-11 Thread Bernhard Ströbl
Hi Marcel, comment below Am 11.07.2013 11:31, schrieb Marcel Stadelmann: Hi Bernhard, Andreas, Now in QGIS it works, but not in the browser (see below). congrats you mastered the first step Following I describe what I did to test if the QGIS Server is running, so maybe somebody else can le

Re: [Qgis-user] where to install qgis-web-client on Mac OSX 10.8.4

2013-07-11 Thread Ziegler Stefan
Hi Marcel You can force QGIS to use absolute paths. This can be done somewhere in the project settings. Regards Stefan Von meinem iPhone gesendet Am 11.07.2013 um 11:36 schrieb "Marcel Stadelmann" mailto:marcel.stadelm...@gmx.net>>: Hi Bernhard, Andreas, Now in QGIS it works, but not in the

Re: [Qgis-user] where to install qgis-web-client on Mac OSX 10.8.4

2013-07-11 Thread Marcel Stadelmann
Hi Bernhard, Andreas, Now in QGIS it works, but not in the browser (see below). Following I describe what I did to test if the QGIS Server is running, so maybe somebody else can learn from it. I know it's quite basic, but in the beginning it may help. I think in my case, it was a path problem.

Re: [Qgis-user] where to install qgis-web-client on Mac OSX 10.8.4

2013-07-10 Thread Bernhard Ströbl
Hi Marcel, I guess now it is time to check for correctness of the srs. Which srs is the alaska project and data in? Is it EPSG:2964 as your GetMap request suggests? Take the GetMap-url and enter it in the browser. Do you get an error message or a white image? If you get a white image than there

Re: [Qgis-user] where to install qgis-web-client on Mac OSX 10.8.4

2013-07-10 Thread Marcel Stadelmann
Hi Andreas, yes, with the map parameter I could go a step further, the alaska layer appeared. But while trying to import it, the following internal server error was shown: Kartenabfrage-Fehler [Fehler:Error downloading http://localhost/qgis-mapserv/qgis_mapserv.fcgi?map=/Library/WebServer/Docu

Re: [Qgis-user] where to install qgis-web-client on Mac OSX 10.8.4

2013-07-10 Thread Andreas Neumann
Hi Marcel, You are missing the project file. Did you read the QGIS server tutorial? See http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial#Map-parameter Otherwise the server can't know what project you want to access. First you should start with a map parameter - later on, esp. i

Re: [Qgis-user] where to install qgis-web-client on Mac OSX 10.8.4

2013-07-10 Thread Marcel Stadelmann
Am 10.07.2013 um 16:58 schrieb Andreas Neumann : > Hi Marcel, > > If the GetCapabilities command is answering it means that at least parts > of the QGIS server is running ok. > > The WMS server supports the following commands: > > GetCapabilities > GetMap > GetLegendGraphic > GetFeatureInfo >

Re: [Qgis-user] where to install qgis-web-client on Mac OSX 10.8.4

2013-07-10 Thread Andreas Neumann
Hi Marcel, If the GetCapabilities command is answering it means that at least parts of the QGIS server is running ok. The WMS server supports the following commands: GetCapabilities GetMap GetLegendGraphic GetFeatureInfo GetPrint The GetCapabilities is always at the start of a session or connec

Re: [Qgis-user] where to install qgis-web-client on Mac OSX 10.8.4

2013-07-10 Thread Marcel Stadelmann
Hello Andreas, I try to do the Alaska example described in the QGIS Documentation, chapter QGIS Server (http://docs.qgis.org/1.8/html/de/docs/user_manual/working_with_ogc/ogc_server_support.html). The problem is, that this example is for Linux. On OSX some things seem to be a bit different, es

Re: [Qgis-user] where to install qgis-web-client on Mac OSX 10.8.4

2013-07-10 Thread Andreas Neumann
Marcel, Do you mean the layers don't appear in QGIS or in QGIS web client? This is an important distinction. The first means that QGIS server is not installed and configured correctly, the other means that QGIS server is running ok and you have a web client configuration problem. I know - the ge

Re: [Qgis-user] where to install qgis-web-client on Mac OSX 10.8.4

2013-07-09 Thread Marcel Stadelmann
Sorry, I don't get it. I can connect form QGIS Desktop as a WMS-Client to QGIS Server, but the Layers don't appear. Does somebody know a step by step instruction how to configure a simple example on OSX? Thanks and regards, Marcel Am 09.07.2013 um 18:11 schrieb Bernhard Ströbl : > anywhere

Re: [Qgis-user] where to install qgis-web-client on Mac OSX 10.8.4

2013-07-09 Thread Bernhard Ströbl
anywhere you like and Apache can access them (on a Linux system file permissions must match, I put them in a subdirectory of /srv/www) Bernhard Am 09.07.2013 17:59, schrieb Marcel Stadelmann: Where can I see the path to QGIS WMS Server directory? I don't know where to save the *.qgs files, so

Re: [Qgis-user] where to install qgis-web-client on Mac OSX 10.8.4

2013-07-09 Thread Marcel Stadelmann
Where can I see the path to QGIS WMS Server directory? I don't know where to save the *.qgs files, so that the QGIS server can find it. Thanks and regards, Marcel Am 09.07.2013 um 16:36 schrieb Marcel Stadelmann : > Hi Bernhard, > > Thanks for the answers. > Am 09.07.2013 um 15:20 schrieb Ber

Re: [Qgis-user] where to install qgis-web-client on Mac OSX 10.8.4

2013-07-09 Thread Bernhard Ströbl
Hi Marcel, the way to call your QGIS server is something like: http://localhost/qgis-mapserv/qgis_mapserv.fcgi?map=/yourmap.qgs?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.3 to get the server's capabilites be sure to know the possible requests a WMS server can reply to, see e.g. [1] The clie

Re: [Qgis-user] where to install qgis-web-client on Mac OSX 10.8.4

2013-07-09 Thread Marcel Stadelmann
Hi Bernhard, Thank you for answering. On my Mac the Apache server works. The QGIS Server is installed according the Tutorial http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial. It also seems to work. When I open the link http://localhost/qgis-mapserv/qgis_mapserv.fcgi? I get th

Re: [Qgis-user] where to install qgis-web-client on Mac OSX 10.8.4

2013-07-09 Thread Bernhard Ströbl
Hi Marcel, I am sorry, I do not really understand your question, so I explain some things, maybe you can reformulate your question and people with Mac OSX knowledge can help you then. qgis-web-client (QWC) is a JavaScript program to be run in a browser. To deliver QWC to the browser of your cl

[Qgis-user] where to install qgis-web-client on Mac OSX 10.8.4

2013-07-09 Thread Marcel Stadelmann
Hi all, I try to install the qgis-web-client on a Mac OSX 10.8.4. But I don't understand where exactly I have to put it? I think the "/home/web/qgis-web-client" path is not for OSX? regards, Marcel ___ Qgis-user mailing list Qgis-user@lists.osgeo.or