[Qgis-user] QGIS Web Client for Windows 7

Markus Weidenbach landconsult at freenet.de
Thu Mar 13 13:07:19 PDT 2014


Hi Bernhard,

thanks for your comments.
The helloworld.qgis is being provided within the QGIS Web Client Master 
version as a default *.qgs stored in 
C:\OSGeo4W\apache\htdocs\QGIS-Web-Client-master\projects , so that`s why 
I think it should work.

Now I found that it is not even working as a simple QGIS Server WMS 
Request, as follows:
http://landconsult.no-ip.com/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&SRS=EPSG:3857&REQUEST=GetMap&map=C:\OSGeo4W\apache\htdocs\QGIS-Web-Client-master\projects\helloworld.qgs&BBOX=-25749149,-13032966,26101391,21121731&WIDTH=1000&HEIGHT=800&LAYERS=Hello,Country&FORMAT=image/png

Instead my own qgis project "wms_demo.qgs" with two shape files works 
fine with the QGIS Server but it does not work with the Web Client ...

This works fine:
http://landconsult.no-ip.com/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&SRS=EPSG:31467&REQUEST=GetMap&map=C:\OSGeo4W\apache\htdocs\QGIS-Web-Client-master\projects\wms_demo.qgs&BBOX=3453493.9,5358354.8,3461626.4,5363507.8&WIDTH=1000&HEIGHT=800&LAYERS=weg,bach&FORMAT=image/png 


it also works without the SRS/EPSG information:
http://landconsult.no-ip.com/qgis/qgis_mapserv.fcgi.exe?REQUEST=GetMap&map=C:\OSGeo4W\apache\htdocs\QGIS-Web-Client-master\projects\wms_demo.qgs&BBOX=3453493.9,5358354.8,3461626.4,5363507.8&WIDTH=1000&HEIGHT=800&LAYERS=weg,bach&FORMAT=image/png

But this one does not work (WebClient Interface is o.k., but shapes are 
not loading):
http://landconsult.no-ip.com/QGIS-Web-Client-master/site/qgiswebclient.html?map=../projects/wms_demo.qgs

I am afraid the reason might be a simple path setting in the 
C:\OSGeo4W\apache\htdocs\QGIS-Web-Client-master\site\js files .... 
that´s why it would be helpful to know somebody with a working QWC on 
Windows.

Regards,
Markus


-- 
Dr. Markus Weidenbach
*landConsult.de*
Geographical Information Management
and Environmental Planning
D-77815 Bühl
Germany
e.mail see: http://landConsult.de


Am 13.03.2014 12:10, schrieb Bernhard Ströbl:
> Hi Markus,
>
> I have no experience with QWC and Windows but maybe if you describe 
> what you have done and what happens you may get an answer from the 
> list. Your URLs are not accessible (time-out), at least for me.
> More comments below
>
> Am 13.03.2014 10:37, schrieb Markus Weidenbach:
>> Dear List,
>>
>> for 2 days I was trying to get the QGIS Web Client running on my Windows
>> 7 / Apache 2 system.
>> I think I checked almost all comments and (still left open) questions on
>> that issue on the web and this mailing list and my impression is, that
>> nobody ever successfully installed the QGIS Web Client on Windows/Apache
>> or am I wrong (?).
>>
>> So, before I change to 3Liz lizmap-web-client, this post is my last hope
>> to get a positive answer ....
>>
>> My settings are:
>> - Windows 7, 64 bit with QGIS 2.2 and _fully working QGIS Server_ on
>> Windows/Apache (all updated/loaded on 10. March 2014 from OSGEO4W setup,
>> QGIS Server and Apache loaded with OSGEO4W "Web GIS Fast Installation"
>> setup mode).
>> - QGIS Web Client downloaded ZIP from
>> https://github.com/qgis/QGIS-Web-Client on 10. march 2014
>>
>> Like many other users I could successfully install the QGIS Server and
>> display my *.qgs data as a map on the browser and also get the
>> GetCapabilities information etc.
>> If you find my server switched on you can check:
>> http://landconsult.no-ip.com/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&SRS=EPSG:31467&REQUEST=GetMap&map=C:/OSGeo4W/apps/qgis/bin/wms_demo.qgs&BBOX=3453493.9,5358354.8,3461626.4,5363507.8&WIDTH=1000&HEIGHT=800&LAYERS=weg,bach&FORMAT=image/png 
>>
>
> this is not Hello World, is it?
>>
>> But after the setting-up of the QGIS Web Client files under
>> C:\OSGeo4W\apache\htdocs\QGIS-Web-Client-master and after adjusting all
>> possible paths (including the right path in the GlobalOptions.js file at
>> <<var serverAndCGI = "http://127.0.0.1/qgis/qgis_mapserv.fcgi.exe">> I
>> was only able to see the QGIS Web Client interface but unfortunately not
>> the default map "helloworld.qgs".
>>
>> http://landconsult.no-ip.com/QGIS-Web-Client-master/site/qgiswebclient.html?map=/Qgis-Web-Client-master/projects/helloworld.qgs 
>>
>
> so do you get Hello world in another client (entering a GetMap request 
> in your Browser or QGIS desktop)?
> Why are you not setting QWC on the project you mention above in order 
> to decide whether it is a server or client problem?
>>
>> So after all the reading and testing, I am not sure if QGIS WebClient is
>> able to run on Windows/Apache at all?
>>
>> Is there anybody out there with a working QGIS Web Client on 
>> Windows/Apache?
>>
>> Thanks for your answers in advance (even if it is "no").
>>
>> Regards,
>>
>> Markus
>>
>>
>>
> Bernhard
>
>
> __________ Information from ESET Security, version of virus signature 
> database 9536 (20140313) __________
>
> The message was checked by ESET Security.
>
>    part000.txt - is OK
>
> http://www.eset.com
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140313/7ab8c77e/attachment.html>


More information about the Qgis-user mailing list