Hi I'm a new GDAL/PostGIS user. This question might be simple to you:
I need to use gdal_translate to clip a raster, which is already stored in
PostGIS. I could do it by using PG to link to my PostGIS database and I
could store the result as a tiff file on my disk:
gdal_translate -projwin
zlzhao1104,
Two things:
You need to specify the output data format using the -of option.
PostGIS raster driver doesn't support writing yet. It's being implemented
now.
It is more efficient to do that directly using an SQL command. Refer to
PostGIS docs.
--
Best regards,
Chaitanya Kumar CH
On
Thanks a lot, chaitanya_ch. I'll use SQL instead.
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Store-GDAL-Result-Raster-in-PostGIS-Directly-tp5143022p5143036.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.