[Qgis-user] QGIS Server GetMap issue

Bernhard Ströbl bernhard.stroebl at jena.de
Fri May 23 00:34:04 PDT 2014


Hi Carlos,

checking your first GetMap request, there is a response (map is all 
white) so the server is working but your request gives no result, 
besides you have two LAYERS parameters in the request, but even if 
taking one out and replacing the layer name with one of the layers 
GetCapabilities returns does not show any map.
When I use the server in QGIS desktop an all white map is returned, too. 
It looks like there is either no data in the layer or not at the place 
of the world where it pretends to be.

Bernhard

Am 22.05.2014 22:38, schrieb Carlos da Ponte:
> Hi all,
> I'm not sure what the problem actually is here.
>
> I'm trying to do a GetMap request for a project.  The project can be
> accessed without issue at
>
> http://gis.idn12.com/qgiswebclient.html?map=C:/projects/elements/t4326.qgs&startExtent=-139.07399810424561792,43.20758674773674102,-104.91883650060636057,62.55635476616664903&srid=4326&rand=0.892412715125829
>
> I'm using the following GetMap request without any luck
>
> http://gis.idn12.com/qgis/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&map=C:/projects/elements/t4326.qgs&srid=4326&WIDTH=500&HEIGHT=500&LAYERS=0&FORMAT=image/pngstart&Extent=-124.14%2C49.06%2C-121.66%2C50.35&LAYERS=view
>
> However this GetMap request works (different project and different SRID)
> http://gis.idn12.com/qgis/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&SRS=EPSG:3005&REQUEST=GetMap&map=C:/projects/synapse/demo/syn02.qgs&BBOX=715918,680402.8,1787941,1304416.2&WIDTH=500&HEIGHT=500&LAYERS=2CWaterbodies%26Watercourses%2CAnnotations%2CPolitical%20Boundaries%2CMajor%20Cities&FORMAT=image/png
>
> I feel like its something simple I'm missing here.  A GetMap request doesn't
> really on the QWC setup right?
>
> thanks!
> C
>
>


__________ Information from ESET Mail Security, version of virus signature database 9837 (20140522) __________

The message was checked by ESET Mail Security.
http://www.eset.com





More information about the Qgis-user mailing list