3 votes
Accepted

Georeferencing an image that I know four corner points, CRS and their coordinates with GDAL or Rasterio in Python

You have two alternatives: Change the order of pixel coordinates into row-column order for rasterio as documented in https://rasterio.readthedocs.io/en/latest/topics/transforms.html#using-ground-...
  • 54.2k
2 votes

Georeferencing an image that I know four corner points, CRS and their coordinates with GDAL or Rasterio in Python

My Solution user30184 ' Answer thank you for your ideas. Your answer helped me a lot to find the solution. As you said, I added the ground control points to a list with the gdal.GCP function and used ...
2 votes

Convert huge TIFF to JPEG using GDAL

gdal_translate -if GTiff -of JPEG input_file.tif output_file.jpg
1 vote
Accepted

Detecting empty TIFFs

so using the flag -stats with gdalinfo I can get STATISTICS_VALID_PERCENT which is more than enough.
  • 21
1 vote

Change dimensions for a batch raster in Python

In QGIS, execute the tool manually, press Ctrl+Alt+H, copy the code and adapt. Then execute the code in the python window of QGIS. I used Warp, with the "Additional command line parameter" -...
  • 55.3k
1 vote

GDAL: Reprojecting geotiff from LATLONG to UTM

If your desired UTM Zone is: north of the equator, use EPSG:32637 (WGS 84 / UTM zone 37N): gdalwarp -t_srs epsg:32637 test.tif test_utm.tif south of the equator, use EPSG:32737 (WGS 84 / UTM zone ...
  • 54.2k

Only top scored, non community-wiki answers of a minimum length are eligible