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

Marco Hugentobler marco.hugentobler at sourcepole.ch
Sat Oct 15 10:25:33 EDT 2011


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=GetCapabilities

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



More information about the Qgis-developer mailing list