[gdal-dev] question about gdaltranslate
Even Rouault
even.rouault at spatialys.com
Thu Apr 30 06:45:48 PDT 2015
Le jeudi 30 avril 2015 15:30:44, SIMON Nicolas a écrit :
> Hi list,
> Is it possible to access this DEM with gdal ?
>
>
> http://geoservices.wallonie.be/arcgis/rest/services/RELIEF/WALLONIE_MNT_20
> 13_2014_HILLSHADE/MapServer
>
> What could be the command line to convert a predefine extend into
> geotiff ?
>
Nicolas,
This is now possible with the new ArcGIS REST API WMS minidriver in GDAL
2.0dev/trunk ( http://gdal.org/frmt_wms.html )
If you put the following content (based on the information provided in the
above link, and assuming a 1m resolution at full resolution) in a file, it is
recognized as a GDAL raster.
<GDAL_WMS>
<Service name="AGS">
<ServerUrl>http://geoservices.wallonie.be/arcgis/rest/services/RELIEF/WALLONIE_MNT_2013_2014_HILLSHADE/MapServer</ServerUrl>
<BBoxOrder>xyXY</BBoxOrder>
<SRS>31370</SRS>
</Service>
<DataWindow>
<UpperLeftX>30000</UpperLeftX>
<UpperLeftY>200000</UpperLeftY>
<LowerRightX>310000</LowerRightX>
<LowerRightY>15000</LowerRightY>
<SizeX>280000</SizeX>
<SizeY>185000</SizeY>
</DataWindow>
<BandsCount>4</BandsCount>
<Cache/>
</GDAL_WMS>
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list