ost.helpers.db.pgConnect¶
- class ost.helpers.db.pgConnect(uname=None, pword=None, dbname='sat', host='localhost', port='5432')[source]¶
Attributes
Methods
This function inserts a table into the connected database object.
This is a wrapper for a sql input that does get all responses.
This is a wrapper for a sql input that does not get any response.
This function is a wrapper to import a shapefile geometry to a PostGreSQL database
This function splits the acquisition footprint into a geometry collection if it crosses the dateline
- pgConnect.pgInsert(tablename, values)[source]¶
This function inserts a table into the connected database object.
- pgConnect.pgSQLnoResp(sql)[source]¶
This is a wrapper for a sql input that does not get any response.