[Qgis-developer] Installed Qgis on Ubuntu - what do I do next?

Marco Hugentobler marco.hugentobler at sourcepole.ch
Sun Oct 16 02:37:22 EDT 2011


Hi Christoper

As others pointed out, there are many WMS clients with a graphical interface.
QGIS webclient provides a java script client adapted to the possibilities of 
QGIS server (e.g. web based printing is supported out ot the box).

Source code and documentation are here:
https://github.com/qgis/qgis-web-client

Regards,
Marco

Am Samstag, 15. Oktober 2011, 18.43:07 schrieb Christopher Stark:
> Hi Marco,
> 
> thank you this works. Is there a more comfortable way of displaying a
> map - with a web-frontend-page or do I have to type in every command
> manually like this
> 
> e.g.:
> http://localhost/cgi-bin/world/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&
> REQUEST=GetMap&BBOX=-36.215710,6.817432,-9.700450,58.551008&
> CRS=EPSG:4326&WIDTH=1077&HEIGHT=552&LAYERS=Continent,Country,Cities&
> STYLES=,,&FORMAT=image/jpeg&DPI=96
> 
> It seems to be very complicated and time consuming to work like this (as
> I'm a big GUI-fan)
> 
> Best regards
> Christopher
> 
> Am 15.10.2011 16:25, schrieb Marco Hugentobler:
> > Hi Christopher
> > 
> > This error message shows that it works (you just did not make a valid WMS
> > request). To publish your project, you need to give the file path to the
> > .qgs project in the url and the wms request parameters.
> > 
> > http://localhost/cgi-bin/qgis_mapserv.fcgi?map=/home/me/myproject.qgs&
> > 
> > is the WMS url
> > 
> > http://localhost/cgi-
> > bin/qgis_mapserv.fcgi?map=/home/me/myproject.qgs&SERVICE=WMS&REQUEST=GetC
> > apabilities
> > 
> > should return an xml document with the available layer, styles, crs, etc.
> > 
> > Regards,
> > Marco
> > 
> > Am Samstag, 15. Oktober 2011, 12.23:56 schrieb Christopher Stark:
> >> Hi,
> >> 
> >> thank you. I did all this but now I get this error message:
> >> 
> >> This XML file does not appear to have any style information associated
> >> with it. The document tree is shown below.
> >> <ServiceExceptionReport version="1.3.0"><ServiceException
> >> code="ServiceNotSpecified">Service not specified. The SERVICE parameter
> >> is mandatory</ServiceException></ServiceExceptionReport>
> >> 
> >> Questions below:
> >> 
> >> Am 14.10.2011 21:50, schrieb Giovanni Manghi:
> >>>> What should I do as first steps after installing?
> >>> 
> >>> if working correctly, the address
> >>> 
> >>> http://localhost/cgi-bin/qgis_mapserv.fcgi
> >>> 
> >>> should return
> >>> 
> >>> <ServiceExceptionReport version="1.3.0"><ServiceException
> >>> code="OperationNotSupported">Please check the value of the REQUEST
> >>> parameter</ServiceException></ServiceExceptionReport>
> >>> 
> >>> Then just create a project in QGIS (use absolute paths) and in the
> >>> project properties configure the parameters in the "WMS server" tab.
> >> 
> >> which paramenters are important here? What does absolute paths mean in
> >> this regard
> >> 
> >>> Create a folder in
> >>> 
> >>> /usr/lib/cgi-bin/
> >>> 
> >>> and copy into it your QGIS project and a copy of qgis_mapserv.fcgi
> >>> 
> >>> your server address will be
> >>> 
> >>> 
> >>> http://localhost/cgi-bin/myprojectfolder/qgis_mapserv.fcgi
> >>> 
> >>> 
> >>> cheers
> >>> 
> >>> -- Giovanni --
> >> 
> >> Best regards
> >> Christopher
> > 
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list