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?


1 Answer 1


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)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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