I have a large collection (>20000) of georeferenced satellite imagery tiles in TIFF format. Each of them has a size of 64x64 pixels.

enter image description here

Is there a way to extract the lat/lon coordinates of the midpoint of each tile and store them all in one table?


I have never tried this for such a huge amount of rasters; hope this works:

  1. GDALTileIndex (Raster > Miscellaneous > Tile Index) on your raster
  2. Centroids (Vector > Geometry Tools > Centroids) on the tile polygons (from Step 1)
  3. Add Geometry Attributes (Processing Toolbox > Vector geometry) on the centroids (from Step 2)
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.