Changes between Version 19 and Version 20 of FAQRaster
- Timestamp:
- Jan 10, 2010, 2:31:27 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQRaster
v19 v20 3 3 [[PageOutline(2,,inline)]] 4 4 5 == How to make GeoTIFF from TIFF? ==5 == How to make GeoTIFF from non-geospatial raster? == 6 6 7 7 One option is to use [http://gdal.org/gdal_translate.html gdal_translate] to assign the geo-referenced bounds and generate [http://en.wikipedia.org/wiki/World_file .tfw] file: … … 9 9 gdal_translate -a_ullr ulx uly lrx lry src_dataset dst_dataset 10 10 }}} 11 where ''ulx uly lrx lry'' should be replaced with real coordinates. 11 12 or with SRS assignment: 13 14 {{{ 15 gdal_translate -a_srs EPSG:4326 -a_ullr ulx uly lrx lry src_dataset dst_dataset 16 }}} 17 18 In fact, ''src_dataset'' and ''dst_dataset'' can be any raster datasets supported by GDAL with creation capability. 19 20 == How to make GeoTIFF from PNG? == 21 22 Use the same command as presented in the previous Q&A. 23 {{{ 24 gdal_translate -a_srs EPSG:4326 -a_ullr ulx uly lrx lry src_dataset.png dst.tif 25 }}} 12 26 13 27 == Why won't gdalwarp or gdal_merge write to most formats? ==