1

I have a PostGIS (PostgreSQL 10.8) database with vector and raster data that I have connected to GRASS (7.8). I have successfully loaded my vector data into GRASS from the PostGIS database but have not been able to figure out how to do the same for the raster data. Does anyone have experience with this or know the commands might be?

  • AFAIK there is no support for PostGIS Raster data, but r.import might be able to read it (through GDAL). – markusN Mar 23 at 14:26
0

The following command works for loading raster data:

r.in.gdal input="PG:dbname=db port=5432 user=username password=password table=YourRaster mode=2" output=outputRast
|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.