I'm trying to download a raster into postgres/postgis.
So far I wrote:
raster2pgsql -s 3006 -I -C -M -R filename.tif -F -t 463.313x463.313 schema.rastername | psql -h localhost -U postgres -d db
The raster is dowload that way successfully but my problem comes with the fact that the output raster file (once download read in postgres) is smaller than the original one.
My raster has 2960rowsx2558columns, each pixel has 463.313x463.313 for dimension, and I have a scale factor of 1.
I don't understand how to specify the dimensions. I have read these posts "Difference in raster size using raster2pgsq" and "Loading a raster into a PostGIS 2.0 database on Windows" but I did not get how the conversion is done.