[gdal-dev] GDAL-Georefrencing already Georefrenced single band Raster

Even Rouault even.rouault at spatialys.com
Sun Jul 1 23:48:39 PDT 2018


On lundi 2 juillet 2018 11:25:30 CEST sawan nikam wrote:
> Hello,
> 
> I am trying to georeference already georeferenced single band raster data
> using GDAL with four GCP's.
> 
> Input image is having Coordinate system GCS- WGS1984 (EPSG:4326).
> Following Command is run on command Prompt:
> 
> *"gdal_translate -of GTiff -gcp 72.4819 23.0179 72.4819 23.0179 -gcp 72.492
> 23.0079 72.492 23.0079 -gcp 72.4819 23.0086 72.4819 23.0086 -gcp 72.496
> 23.0169 72.496 23.0169 input.tiff output1.tiff*

Those GCPs do not make sense. The first 2 values of each GCP should be X,Y in 
pixel coordinates, and the last 2 ones should be longitude, latitude (for 
EPSG:4326)


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list