PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches
rtgdalraster.py File Reference

Go to the source code of this file.

Namespaces

namespace  rtgdalraster
 

Functions

 rtgdalraster.logit (msg)
 

Variables

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