In this chapter, you learned how to use GDAL and PostgreSQL to work with raster data.
First, you learned how to use the GDAL to load and query rasters. You also learned how to use GDAL to modify and save rasters. Then, you learned how to create your own raster data. You learned how to load raster data into PostgreSQL using the raster2pgsql tool. Once in PostgreSQL, you learned how to query for metadata, attributes, values, and geometry. You learned several common functions within PostgreSQL for raster data analysis.Â
While this chapter only scratched the surface of working with raster data, you should have enough knowledge now to know how to learn new techniques and methods for working with rasters. In the next chapter, you will learn how to work with vector data in PostgreSQL.
Â
Â