[gdal-dev] Re: gdal_translate wms error

Even Rouault even.rouault at mines-paris.org
Thu Aug 18 12:05:19 EDT 2011


Works perfectly for me with GDAL 1.8.0 and GDAL trunk if I try

gdal_translate test_wms.xml out.tif -projwin 400000.000 420000 401000 419000

with the following test_wms.xml :

<GDAL_WMS>
  <Service name="WMS">
    <Version>1.1.1</Version>
    <ServerUrl>http://gis.lebensministerium.at/wmsgw/?key=891667a3d78028e816d30d3c3fd2298a&amp;SERVICE=WMS</ServerUrl>
    <Layers>Luftbild_1m</Layers>
    <SRS>EPSG:31287</SRS>
    <ImageFormat>image/jpeg</ImageFormat>
    <Transparent>FALSE</Transparent>
  </Service>
  <DataWindow>
    <UpperLeftX>110000</UpperLeftX>
    <UpperLeftY>590000</UpperLeftY>
    <LowerRightX>690000</LowerRightX>
    <LowerRightY>250000</LowerRightY>
    <SizeX>580000</SizeX>
    <SizeY>340000</SizeY>
  </DataWindow>
  <BandsCount>3</BandsCount>
  <BlockSizeX>1024</BlockSizeX>
  <BlockSizeY>1024</BlockSizeY>
</GDAL_WMS>



More information about the gdal-dev mailing list