postgisqgisepsglandsat

Retrieving raster data by geographic location using Landsat and PostGIS


The project I am working on requires that I retrieve Landsat raster data at specific geographic (lon/lat) locations. After sifting through some tutorials and experimenting with GDAL, PostGIS, and QGIS, I successfully imported a GeoTIFF Landsat image into a PostGIS raster table and accessed values by geographic location from that table. However, there were a few issues in the result:

Here's some information about my process. I am fairly new to GIS in general, so I am almost certain theres a blatant error to be found here:

So, first of all, I do not know what QGIS is using for its coordinate system. It's definitely not longitude and latitude in a raw form, but from my understanding, EPSG 4326 is supposed to be a geographic projection.

Second, I don't know why QGIS is misplacing the Landsat scene in the wrong place, or where in the process the scene was not transformed properly.


Solution

  • Join us at GIS SE, that´s the place for GIS related Q/A!

    To help you out here: