PostGIS  2.5.7dev-r@@SVN_REVISION@@
raster2pgsql.py File Reference

Go to the source code of this file.

Namespaces

 raster2pgsql
 

Functions

def raster2pgsql.is_nan (x)
 
def raster2pgsql.parse_command_line ()
 
def raster2pgsql.logit (msg)
 
def raster2pgsql.gdt2pt (gdt)
 
def raster2pgsql.pt2numpy (pt)
 
def raster2pgsql.pt2fmt (pt)
 
def raster2pgsql.fmt2printfmt (fmt)
 
def raster2pgsql.parse_block_size (options)
 
def raster2pgsql.quote_sql_value (value)
 SQL OPERATIONS. More...
 
def raster2pgsql.quote_sql_name (name)
 
def raster2pgsql.make_sql_value_array (values)
 
def raster2pgsql.make_sql_schema_table_names (schema_table)
 
def raster2pgsql.make_sql_full_table_name (schema_table)
 
def raster2pgsql.make_sql_table_name (schema_table)
 
def raster2pgsql.make_sql_drop_table (table)
 
def raster2pgsql.make_sql_drop_raster_table (table)
 
def raster2pgsql.make_sql_create_table (options, table=None, is_overview=False)
 
def raster2pgsql.make_sql_create_gist (table, column)
 
def raster2pgsql.make_sql_addrastercolumn (options, pixeltypes, nodata, pixelsize, blocksize, extent)
 
def raster2pgsql.make_sql_insert_raster (table, rast, hexwkb, insert_filename, file)
 
def raster2pgsql.make_sql_create_raster_overviews (options)
 
def raster2pgsql.make_sql_register_overview (options, ov_table, ov_factor)
 
def raster2pgsql.make_sql_vacuum (table)
 
def raster2pgsql.calculate_overviews (ds, band_from=None, band_to=None)
 RASTER OPERATIONS. More...
 
def raster2pgsql.calculate_overview_factor (ds, overview)
 
def raster2pgsql.collect_pixel_types (ds, band_from, band_to)
 
def raster2pgsql.collect_nodata_values (ds, band_from, band_to)
 
def raster2pgsql.calculate_block_size (ds, band_from, band_to)
 
def raster2pgsql.calculate_grid_size (raster_size, block_size)
 
def raster2pgsql.calculate_block_pad_size (band, xoff, yoff, block_size)
 
def raster2pgsql.get_gdal_geotransform (ds)
 
def raster2pgsql.calculate_geoxy (gt, xy)
 
def raster2pgsql.calculate_geoxy_level (gt, xy, level)
 
def raster2pgsql.calculate_bounding_box (ds, gt)
 
def raster2pgsql.check_hex (hex, bytes_size=None)
 
def raster2pgsql.dump_block_numpy (pixels)
 
def raster2pgsql.fetch_band_nodata (band, default=0)
 
def raster2pgsql.wkblify (fmt, data)
 
def raster2pgsql.wkblify_raster_header (options, ds, level, ulp, xsize=None, ysize=None)
 
def raster2pgsql.wkblify_band_header (options, band)
 
def raster2pgsql.wkblify_band (options, band, level, xoff, yoff, read_block_size, block_size, infile, bandidx)
 
def raster2pgsql.wkblify_raster_level (options, ds, level, band_range, infile, i)
 
def raster2pgsql.wkblify_raster (options, infile, i, previous_gt=None)
 
def raster2pgsql.main ()
 

Variables

int raster2pgsql.NDR = 1
 CONSTANTS - DO NOT CHANGE. More...
 
int raster2pgsql.XDR = 0
 
int raster2pgsql.g_rt_version = 0
 
int raster2pgsql.g_rt_endian = NDR
 
string raster2pgsql.g_rt_column = 'rast'
 
string raster2pgsql.g_rt_catalog = ''
 
string raster2pgsql.g_rt_schema = 'public'
 
bool raster2pgsql.VERBOSE = False
 UTILITIES. More...
 
list raster2pgsql.SUMMARY = []