Quantcast
Channel: Question and Answer » gdal
Viewing all articles
Browse latest Browse all 397

GDAL WMS in QGIS 2.4

$
0
0

I’m trying to add in QGIS a layer shown here : propluvia

When I watch in my console I see this request corresponding to the layer I need.

The server is not able to respond to a getCapabilities request for whatever reason.

So I tried to load this layer via this GDAL XML file.

<GDAL_WMS>
<Service name="WMS">
    <ServerUrl>http://eau.agriculture.gouv.fr/WMS-T.php?map=/export/home/rimboval/geomap/mapfiles/propluvia.map&</ServerUrl>
    <SRS>EPSG:2154</SRS>
    <ImageFormat>image/png</ImageFormat>
    <Transparent>TRUE</Transparent>
    <Layers>Zones_Niveau_Sup</Layers>
    <Change key="${date}">2014-08-18</Change>
</Service>
<DataWindow>
    <UpperLeftX>508204</UpperLeftX>
    <UpperLeftY>6363402</UpperLeftY>
    <LowerRightX>627904</LowerRightX>
    <LowerRightY>6468402</LowerRightY>
    <SizeX>256</SizeX>
    <SizeY>256</SizeY>
</DataWindow>

I’m using key=”${date}” because I saw it here.

The resulting image looks like in this question.

noisy image

I tried to watch what QGIS is requesting with fiddler but I can’t see any request while it is working with a valid WMS layer.


Viewing all articles
Browse latest Browse all 397

Trending Articles