I have two raster files and i'm trying to load these data into PostGIS using raster2pgsql
. Here is the syntax that i used:
raster2pgsql -c -s 4326 -I -t 100x100 *.tif public.deforested_rasters | psql -d r342471958
It works without error, but i don't know if the command loads correctly both raster files. I'm trying to visualize the resultant database in QGIS, but for some reason it doesn't open the raster layer.
I've tried to solve this problem using this idea: http://ift.tt/1LSSaCD, transforming the raster data to geometry data, but when visualised in QGIS, only returns a rectangular area without the original characteristics.
Any ideas of how can i confirm that the raster2pgsql
command loads correctly the raster files? Or a different way to load these data into PostGIS?
The raster files are available in: http://ift.tt/1LSS9if
Aucun commentaire:
Enregistrer un commentaire