[Qgis-user] [RESOLU] GDAL : extracting a part of a raster
denisq at free.fr
denisq at free.fr
Tue Mar 27 07:26:50 PDT 2012
Hi Micha,
Well, I do this (projection Lambert II, south of France)...
gdal_translate -projwin 813320.0 1930956.0 858796.0 1907053.0 -of GTiff "ASTGTM2_N44E005/ASTGTM2_N44E005_dem_L2e.tif" "DEM_Ouveze.tif"
...and it works.
Thanks.
----- Mail original -----
De: "Micha Silver" <micha at arava.co.il>
À: denisq at free.fr
Cc: Qgis-user at lists.osgeo.org
Envoyé: Mardi 27 Mars 2012 12:39:38
Objet: Re: [Qgis-user] GDAL : extracting a part of a raster
On 03/27/2012 12:19 PM, denisq at free.fr wrote:
Hi,
I tried to cut a part of a raster (from ASTER G-DEM) in GeoTiff format, to get a DEM fitting my project. I tried to cut this raster by different means, i.e :
- setting the coordinates of the area of interest -> I get "Computed -srcwin falls outside raster size of 4000x4000.",
The -srcwin parameter refers to pixels in the image. Try the -projwin parameter instead with "real world" coordinates.
- using a layer as a mask (with a couple of errors pop up windows regarding Python issues), I get a "wrong parameters"
Thanks for your help
QGIS 1.7.3 / GDAL 1.8.1
Denis
_______________________________________________
Qgis-user mailing list Qgis-user at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user This mail was received via Mail-SeCure System.
More information about the Qgis-user
mailing list