I am trying to insert a satellite image (e.g. a Sentinel Image) into PostGIS. What is the best structure to save the different bands?

I know that you can use somehow use 'ST_AddBand' or 'ST_Band', but I didn't figure out yet how to properly use them.


This tutorial provides a very clear overview of how you can import raster data, in this case Sentinel-2 data, into PostGIS using the raster2pgsql tool.

  • Thank you @dmci for the link! But don't you normally save one satellite image with all the bands into one table, to make sure that everything that belongs together stays together? It seems kind of complicate as they make it in the tutorial, isn't it?
    – soph
    Jul 16 '20 at 7:01

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.