[OSGeo-Discuss] Remove Coordinate Information using GDAL Translate
Ajendra Dubey
dba.ajendra at gmail.com
Tue Feb 26 22:59:21 PST 2013
Hi,
I am using gdal_translate for creating a Tiff image from existing GTiff
image.
While creating Tiff below are the things kept in mind-
1) Creation of TFW
2) TIff should be JPEG compressed
3) Coordinate information erased
4) Should be Tiled
5) Overview Creation
for that I use following command
*C:\Program Files\GDAL>gdalinfo Converted_Geo.tif*
Driver: GTiff/GeoTIFF
Files: Converted_Geo.tif
Size is 12000, 275799
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]]
Origin = (79.379425048828125,31.319509506225586)
Pixel Size = (0.000147774379002,-0.000004383888609)
Metadata:
AREA_OR_POINT=Area
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 79.3794250, 31.3195095) ( 79d22'45.93"E, 31d19'10.23"N)
Lower Left ( 79.3794250, 30.1104374) ( 79d22'45.93"E, 30d 6'37.57"N)
Upper Right ( 81.1527176, 31.3195095) ( 81d 9' 9.78"E, 31d19'10.23"N)
Lower Right ( 81.1527176, 30.1104374) ( 81d 9' 9.78"E, 30d 6'37.57"N)
Center ( 80.2660713, 30.7149735) ( 80d15'57.86"E, 30d42'53.90"N)
Band 1 Block=12000x1 Type=Byte, ColorInterp=Gray
*C:\Program Files\GDAL>gdal_translate -of GTiff -co "TFW=YES" -co
"INTERLEAVE=PIX*
*EL" -co "TILED=YES" -co "COMPRESS=JPEG" -co "JPEG_QUALITY=100" -co
"COPY_SRC_OVE*
*RVIEWS=YES" -co "PROFILE=BASELINE" "C:\Program
Files\GDAL\Converted_Geo.tif" "C:*
*\Program Files\GDAL\Converted_Geo1.tif"*
Input file size is 12000, 275799
0...10...20...30...40...50...60...70...80...90...100 - done.
*C:\Program Files\GDAL>gdalinfo Converted_Geo1.tif*
Driver: GTiff/GeoTIFF
Files: Converted_Geo1.tif
Converted_Geo1.tfw
Size is 12000, 275799
Coordinate System is `'
Origin = (79.379425048800002,31.319509506250000)
Pixel Size = (0.000147774400000,-0.000004383900000)
Image Structure Metadata:
COMPRESSION=JPEG
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 79.3794250, 31.3195095)
Lower Left ( 79.3794250, 30.1104343)
Upper Right ( 81.1527178, 31.3195095)
Lower Right ( 81.1527178, 30.1104343)
Center ( 80.2660714, 30.7149719)
Band 1 Block=256x256 Type=Byte, ColorInterp=Gray
I want to remove above Corner Coordinates: information
Please help me with any option available to remove that
Regards-
Ajendra Dubey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/discuss/attachments/20130227/fe482ba5/attachment-0002.html>
More information about the Discuss
mailing list