[postgis-devel] Observation/question about gdal2wktraster script

Jorge Arévalo jorge.arevalo at gmail.com
Mon Jul 20 05:50:29 PDT 2009


Hello,

I've executed the script adding the option -R to register a new WKT
Raster as out-db raster and I got an error in one of these lines

 if options.register:
        # Off-db raster
        # TODO: Do we want to handle options.overview_level? --mloskot
        # TODO: Where bandidx and ds come from? --mloskot
        hexwkb += wkblify('B', bandidx - 1)
        filepath = os.path.abspath((ds.GetFileList()[0]).replace('\\', '\\\\'))
        hexwkb += wkblify(str(len(filepath)) + 's', filepath)
        hexwkb += wkblify('B', 0)


So, the support is under development right now (the code needs a valid
dataset to create the out-db raster), am I right?

Thanks in advance

Best regards
Jorge



More information about the postgis-devel mailing list