[Qgis-user] seting up a wms server problems

Micha Silver micha at arava.co.il
Sat Nov 7 21:21:56 PST 2009


Ricardo Filipe Soares Garcia da wrote:

> Hello list
>
> I've been trying to set up a wms server on my laptop for testing
> purposes but I can't seem to make it work.
> I'm using mapserver, having installed version 5.4.2 as supplied by the
> ubuntugis-unstable repository for ubuntu 9.10, which is my operating
> system.
> I created the mapfile[1], tested the GetCapabilities request through a
> web browser (it came out without any warnings) and I can see my map
> through shp2img and also through a web browser[2]. However, I cannot
> see it through Qgis. I am defining my wms server with the following
> connection string:
>
> http://pig/cgi-bin/mapserv?map=/home/ricardo/Public/public_html/pig/mapfiles/teste.map
>
> ('pig' is just the name I gave to my apache virtual host, so that is
> why it is there, instead of 'localhost')
>
> I can connect to the server and see the available layers, but when I
> select one layer to be loaded Qgis acts like it loaded the layer but I
> get only a blank image that is not even showing up in the place that
> it was supposed to.
>
>   
Try putting an EXTENT line into *each* LAYER section.
HTH,
Micha





More information about the Qgis-user mailing list