[postgis-devel] [WKT Raster] Regular blocking in gdal2wktraster.py
Mateusz Loskot
mateusz at loskot.net
Sat Mar 21 09:02:56 PDT 2009
Mateusz Loskot wrote:
> Folks,
>
> I'm going to add regular blocking support to gdal2wktraster.py loader.
I'm glad to announce that gdal2wktraster now supports regular blocking.
All previous loading modes are still available, regular blocking is an
add-on, not a replacement to anything.
Example of use using sample utm.tif [1]:
1) Load whole utm.tif in single row
gdal2wktraster.py r utm.tif -t utm -o utm.sql
psql -d mydb -f utm.sql
2) Load utm.tif tiled according to regular blocking coverage
gdal2wktraster.py -r utm.tif -t utm_tiled -o utm_tiled.sql -k
psql -d mydb -f utm_tiled.sql
[1] http://download.osgeo.org/gdal/data/gtiff/
Details of changesets are here:
http://lists.refractions.net/pipermail/postgis-commits/2009-March/001432.html
http://lists.refractions.net/pipermail/postgis-commits/2009-March/001434.html
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
More information about the postgis-devel
mailing list