PostGIS  2.1.10dev-r@@SVN_REVISION@@
def raster2pgsql.make_sql_create_gist (   table,
  column 
)

Definition at line 374 of file raster2pgsql.py.

References logit(), make_sql_full_table_name(), and make_sql_table_name().

Referenced by main().

374 def make_sql_create_gist(table, column):
375  gist_table = make_sql_table_name(table)
376  target_table = make_sql_full_table_name(table)
377  logit("MSG: Create GiST spatial index on %s\n" % gist_table)
378 
379  sql = "CREATE INDEX \"%s_%s_gist_idx\" ON %s USING GIST (st_convexhull(%s));\n" % \
380  (gist_table, column, target_table, column)
381  logit("SQL: %s" % sql)
382  return sql;
383 
384 
def make_sql_full_table_name(schema_table)
def make_sql_table_name(schema_table)
def logit(msg)
def make_sql_create_gist(table, column)

Here is the call graph for this function:

Here is the caller graph for this function: