[Qgis-user] mapserver

Lionel Roubeyrie lionel.roubeyrie at gmail.com
Mon Dec 6 02:25:51 PST 2010


Hmm, in fact it's not a blank page but a white image, and I can load
perfectly the image in qgis with the wms interface...

2010/12/6 Lionel Roubeyrie <lionel.roubeyrie at gmail.com>:
> Ok, I understand my mistake between qgis-mapserv and mapserv, but I
> can't have a map rendered with both...
> So, I have saved a qgis project file containing only one postgis layer
> under a directory "world" under /usr/lib/cgi-bin, and copied inside
> the qgis_mapserv.fcgi and wms_metadata.xml files. Calling
> http://localhost/cgi-bin/world/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities
> gives a xml file with good values, but
> http://localhost/cgi-bin/world/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=499353,6421022,686146,6600023&CRS=EPSG:2154&WIDTH=1024&HEIGHT=768&LAYERS=ALL&STYLES=,,&FORMAT=image/jpeg&DPI=96
> results in a blank page, and exporting the same project to a .map file
> with the mapserver export plugin and calling the given url gives the
> same result.
> The cgi-bin directive :
> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
>        <Directory "/usr/lib/cgi-bin">
>                AllowOverride None
>                Options +ExecCGI -Includes -MultiViews +SymLinksIfOwnerMatch
>                SetEnv LIBRARY_PATH /usr/lib/qt4:/usr/lib/qgis
>                Order allow,deny
>                Allow from all
>        </Directory>
> What do I have to change/append?
> Thanks
>
>
>
> 2010/12/4 Giovanni Manghi <giovanni.manghi at gmail.com>:
>> On Sat, 2010-12-04 at 14:12 +0100, Lionel Roubeyrie wrote:
>>> shp2img
>>
>>
>> isn't shp2img a mapserver only utility?
>>
>>
>> cheers
>>
>> -- Giovanni --
>>
>>
>
>
>
> --
> Lionel Roubeyrie
> lionel.roubeyrie at gmail.com
> http://youarealegend.blogspot.com
>



-- 
Lionel Roubeyrie
lionel.roubeyrie at gmail.com
http://youarealegend.blogspot.com



More information about the Qgis-user mailing list