[gdal-dev] georeferencing raster data using vector polygon

2014-11-19 Thread Simen Langseth
I wanted to georeference the raster image in UTM coordinates into the boundry of red polygon with geographic coordinate system. https://drive.google.com/file/d/0B2RqG9tSAAIUc3J5ZDN6V01IcG8/view?usp=sharing I tried as follows: gdalwarp,-t_srs wgs84 -srcnodata 0 -dstnodata 0 -r near -te -96.75234

Re: [gdal-dev] georeferencing raster data using vector polygon

2014-11-21 Thread Roger André
Hi Simen, Ok, here is how to implement the suggestion I gave, which was to create a new worldfile and shift the image so that it fit the footprint vector better. 1. Use gdal_edit.py with the "-unsetgt" option to remove the georeferencing from the .tif 2. Then copy the attached .tfw file into the