PostGIS  2.5.7dev-r@@SVN_REVISION@@
rtgdalraster Namespace Reference

Functions

def logit (msg)
 

Variables

 prs
 
 dest
 
 action
 
 default
 
 help
 
 opts
 
 args
 
 cfg
 
 VERBOSE = opts.verbose
 
 conn = psycopg2.connect(opts.db)
 
 cur = conn.cursor()
 
string sql = "SELECT ST_AsGDALRaster(%s, %%s, %%s::text[], NULL::integer)" % (opts.raster)
 
 rec = cur.fetchone()[0];
 
 fh = open(opts.output, 'wb', -1)