[gdal-dev] Aligning Raster Over the Polygon

2014-11-18 Thread Simen Langseth
Dear GDAL Users: I have a raster image which have to be aligned over the polygon. Both the raster and polygon have the same coordinate system. The figure shows the raster image which has to be fitted over the RED polygon.

Re: [gdal-dev] Aligning Raster Over the Polygon

2014-11-18 Thread Roger André
Have you tried using a World File? http://en.wikipedia.org/wiki/World_file Roger On Tue, Nov 18, 2014 at 10:29 AM, Simen Langseth simlan...@gmail.com wrote: Dear GDAL Users: I have a raster image which have to be aligned over the polygon. Both the raster and polygon have the same

Re: [gdal-dev] Aligning Raster Over the Polygon

2014-11-18 Thread David Strip
This is a pretty straightforward task in qgis. Just load the image and treat the four corners as ground control points, using the corresponding corners of the polygon. There's an tutorial here. On 11/18/2014 11:29 AM, Simen Langseth wrote: Dear GDAL

Re: [gdal-dev] Aligning Raster Over the Polygon

2014-11-18 Thread Simen Langseth
Is not it possible to do it using gdalwarp? On Wed, Nov 19, 2014 at 6:45 AM, David Strip g...@stripfamily.net wrote: This is a pretty straightforward task in qgis. Just load the image and treat the four corners as ground control points, using the corresponding corners of the polygon.