Configuration flags for the PostGIS Driver Implementation of TerraLib. More...
#include "../Config.h"Go to the source code of this file.
Macros | |
General Defines  | |
Configuring PostGIS support.  | |
| #define | PGIS_DEFAULT_INITIAL_POOL_SIZE 4 | 
| This sets the default initial number of connections opened by a connection pool.  More... | |
| #define | PGIS_DEFAULT_MIN_POOL_SIZE 2 | 
| This sets the default minimum number of connections to be kept in the pool.  More... | |
| #define | PGIS_DEFAULT_MAX_POOL_SIZE 4 | 
| This sets the default maximum number of connections in the pool.  More... | |
| #define | PGIS_DEFAULT_MAX_IDLE_TIME 10 | 
| This sets the default maximum time that a connection can be in the pool without being used.  More... | |
| #define | PGIS_DEFAULT_PORT "5432" | 
| The default port used to connect to a PostgreSQL database server.  More... | |
| #define | PGIS_DEFAULT_CONNECT_TIMEOUT "4" | 
| The default maximum wait for connection, in seconds.  More... | |
| #define | PGIS_DEFAULT_CLIENT_ENCODING "UTF8" | 
| The default client encoding when talking with the database.  More... | |
| #define | PGIS_DRIVER_IDENTIFIER "POSTGIS" | 
| The PostGIS driver identifier string.  More... | |
| #define | TERRALIB_RASTER_DRIVER_IDENTIFIER "TEPG" | 
| The TerraLib Raster driver identifier string.  More... | |
| #define | PG_UNKNOW_TYPE -1 | 
| #define | PG_BOOL_TYPE 16 | 
| #define | PG_BYTEA_TYPE 17 | 
| #define | PG_CHAR_TYPE 18 | 
| #define | PG_NAME_TYPE 19 | 
| #define | PG_INT8_TYPE 20 | 
| #define | PG_INT2_TYPE 21 | 
| #define | PG_INT2_VECTOR_TYPE 22 | 
| #define | PG_INT4_TYPE 23 | 
| #define | PG_TEXT_TYPE 25 | 
| #define | PG_OID_TYPE 26 | 
| #define | PG_FLOAT4_TYPE 700 | 
| #define | PG_FLOAT8_TYPE 701 | 
| #define | PG_CHARACTER_TYPE 1042 | 
| #define | PG_VARCHAR_TYPE 1043 | 
| #define | PG_DATE_TYPE 1082 | 
| #define | PG_TIME_TYPE 1083 | 
| #define | PG_TIMETZ_TYPE 1266 | 
| #define | PG_TIMESTAMP_TYPE 1114 | 
| #define | PG_TIMESTAMPTZ_TYPE 1184 | 
| #define | PG_NUMERIC_TYPE 1700 | 
| #define | PG_BOOL_ARRAY_TYPE 1000 | 
| #define | PG_BYTEA_ARRAY_TYPE 1001 | 
| #define | PG_CHAR_ARRAY_TYPE 1002 | 
| #define | PG_NAME_ARRAY_TYPE 1003 | 
| #define | PG_INT8_ARRAY_TYPE 1016 | 
| #define | PG_INT2_ARRAY_TYPE 1005 | 
| #define | PG__INT2_VECTOR_TYPE 1006 | 
| #define | PG_INT4_ARRAY_TYPE 1007 | 
| #define | PG_TEXT_ARRAY_TYPE 1009 | 
| #define | PG_OID_ARRAY_TYPE 1028 | 
| #define | PG_OID_VECTOR_TYPE 1013 | 
| #define | PG_FLOAT4_ARRAY_TYPE 1021 | 
| #define | PG_FLOAT8_ARRAY_TYPE 1022 | 
| #define | PG_CHARACTER_ARRAY_TYPE 1014 | 
| #define | PG_VARCHAR_ARRAY_TYPE 1015 | 
| #define | PG_DATE_ARRAY_TYPE 1182 | 
| #define | PG_TIME_ARRAY_TYPE 1183 | 
| #define | PG_TIMETZ_ARRAY_TYPE 1270 | 
| #define | PG_TIMESTAMP_ARRAY_TYPE 1115 | 
| #define | PG_TIMESTAMPTZ_ARRAY_TYPE 1185 | 
| #define | PG_NUMERIC_ARRAY_TYPE 1231 | 
Internationalization Defines  | |
Flags for TerraLib code internationalization.  | |
| #define | TE_PGIS_TEXT_DOMAIN "tepostgis" | 
| It contains the name of the text domain used in the translation of messages in TerraLib PostGIS driver implementation.  More... | |
| #define | TE_PGIS_TEXT_DOMAIN_DIR "locale" | 
| It contains the translation catalog directory.  More... | |
| #define | TR_PGIS(message) TR(message, TE_PGIS_TEXT_DOMAIN) | 
| It marks a string in order to get translated. This is a special mark used in the DataAccess module of TerraLib.  More... | |
| #define | TR_PLURAL_PGIS(message1, message2, n) TR_PLURAL(TE_PGIS_TEXT_DOMAIN, message1, message2, n) | 
| This mark can be used when you have a plural phrase to be translated. This is a special mark used in the PostGIS module of TerraLib.  More... | |
PostGIS Compatibility Flags  | |
Flags for constructing compatible WKB format with PostGIS  | |
| #define | TE_EWKB_ZM_OFFSET 0xC0000000 | 
| #define | TE_EWKB_Z_OFFSET 0x80000000 | 
| #define | TE_EWKB_M_OFFSET 0x40000000 | 
| #define | TE_EWKB_SRID_FLAG 0x20000000 | 
| #define | TE_EWKB_BBOX_FLAG 0x10000000 | 
DLL/LIB Module  | |
Flags for building TerraLib as a DLL or as a Static Library  | |
| #define | TEPGISEXPORT | 
| You can use this macro in order to export/import classes and functions from this module.  More... | |
| #define PG__INT2_VECTOR_TYPE 1006 | 
Definition at line 126 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_BOOL_ARRAY_TYPE 1000 | 
Definition at line 120 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_BOOL_TYPE 16 | 
Definition at line 100 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_BYTEA_ARRAY_TYPE 1001 | 
Definition at line 121 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_BYTEA_TYPE 17 | 
Definition at line 101 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_CHAR_ARRAY_TYPE 1002 | 
Definition at line 122 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_CHAR_TYPE 18 | 
Definition at line 102 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_CHARACTER_ARRAY_TYPE 1014 | 
Definition at line 133 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_CHARACTER_TYPE 1042 | 
Definition at line 112 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_DATE_ARRAY_TYPE 1182 | 
Definition at line 135 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_DATE_TYPE 1082 | 
Definition at line 114 of file Config.h.
Referenced by te::pgis::Convert2TerraLib(), and te::pgis::DataSet::getDateTime().
| #define PG_FLOAT4_ARRAY_TYPE 1021 | 
Definition at line 131 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_FLOAT4_TYPE 700 | 
Definition at line 110 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_FLOAT8_ARRAY_TYPE 1022 | 
Definition at line 132 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_FLOAT8_TYPE 701 | 
Definition at line 111 of file Config.h.
Referenced by te::pgis::Convert2TerraLib(), and te::pgis::DataSet::getArray().
| #define PG_INT2_ARRAY_TYPE 1005 | 
Definition at line 125 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_INT2_TYPE 21 | 
Definition at line 105 of file Config.h.
Referenced by te::pgis::Convert2TerraLib(), and te::pgis::DataSet::getArray().
| #define PG_INT2_VECTOR_TYPE 22 | 
Definition at line 106 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_INT4_ARRAY_TYPE 1007 | 
Definition at line 127 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_INT4_TYPE 23 | 
Definition at line 107 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_INT8_ARRAY_TYPE 1016 | 
Definition at line 124 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_INT8_TYPE 20 | 
Definition at line 104 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_NAME_ARRAY_TYPE 1003 | 
Definition at line 123 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_NAME_TYPE 19 | 
Definition at line 103 of file Config.h.
Referenced by te::pgis::Convert2TerraLib(), and te::pgis::DataSet::getArray().
| #define PG_NUMERIC_ARRAY_TYPE 1231 | 
Definition at line 140 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_NUMERIC_TYPE 1700 | 
Definition at line 119 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_OID_ARRAY_TYPE 1028 | 
Definition at line 129 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_OID_TYPE 26 | 
Definition at line 109 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_OID_VECTOR_TYPE 1013 | 
Definition at line 130 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_TEXT_ARRAY_TYPE 1009 | 
Definition at line 128 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_TEXT_TYPE 25 | 
Definition at line 108 of file Config.h.
Referenced by te::pgis::Convert2TerraLib(), and te::pgis::DataSet::getArray().
| #define PG_TIME_ARRAY_TYPE 1183 | 
Definition at line 136 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_TIME_TYPE 1083 | 
Definition at line 115 of file Config.h.
Referenced by te::pgis::Convert2TerraLib(), and te::pgis::DataSet::getDateTime().
| #define PG_TIMESTAMP_ARRAY_TYPE 1115 | 
Definition at line 138 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_TIMESTAMP_TYPE 1114 | 
Definition at line 117 of file Config.h.
Referenced by te::pgis::Convert2TerraLib(), and te::pgis::DataSet::getDateTime().
| #define PG_TIMESTAMPTZ_ARRAY_TYPE 1185 | 
Definition at line 139 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_TIMESTAMPTZ_TYPE 1184 | 
Definition at line 118 of file Config.h.
Referenced by te::pgis::Convert2TerraLib(), and te::pgis::DataSet::getDateTime().
| #define PG_TIMETZ_ARRAY_TYPE 1270 | 
Definition at line 137 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_TIMETZ_TYPE 1266 | 
Definition at line 116 of file Config.h.
Referenced by te::pgis::Convert2TerraLib(), and te::pgis::DataSet::getDateTime().
| #define PG_VARCHAR_ARRAY_TYPE 1015 | 
Definition at line 134 of file Config.h.
Referenced by te::pgis::Convert2TerraLib().
| #define PG_VARCHAR_TYPE 1043 | 
Definition at line 113 of file Config.h.
Referenced by te::pgis::Convert2TerraLib(), and te::pgis::DataSet::getArray().
| #define PGIS_DEFAULT_CLIENT_ENCODING "UTF8" | 
| #define PGIS_DEFAULT_CONNECT_TIMEOUT "4" | 
| #define PGIS_DEFAULT_INITIAL_POOL_SIZE 4 | 
This sets the default initial number of connections opened by a connection pool.
Definition at line 41 of file Config.h.
Referenced by te::pgis::ConnectionPool::initialize().
| #define PGIS_DEFAULT_MAX_IDLE_TIME 10 | 
This sets the default maximum time that a connection can be in the pool without being used.
Definition at line 62 of file Config.h.
Referenced by te::pgis::ConnectionPool::initialize().
| #define PGIS_DEFAULT_MAX_POOL_SIZE 4 | 
This sets the default maximum number of connections in the pool.
Definition at line 55 of file Config.h.
Referenced by te::pgis::ConnectionPool::initialize().
| #define PGIS_DEFAULT_MIN_POOL_SIZE 2 | 
This sets the default minimum number of connections to be kept in the pool.
Definition at line 48 of file Config.h.
Referenced by te::pgis::ConnectionPool::initialize().
| #define PGIS_DEFAULT_PORT "5432" | 
| #define PGIS_DRIVER_IDENTIFIER "POSTGIS" | 
The PostGIS driver identifier string.
Definition at line 90 of file Config.h.
Referenced by te::pgis::DataSource::getType(), and te::pgis::Module::shutdown().
| #define TE_EWKB_M_OFFSET 0x40000000 | 
Definition at line 186 of file Config.h.
Referenced by te::pgis::Convert2OGCWKBType(), te::pgis::Convert2PostGISWKBType(), and te::pgis::EWKBWriter::visit().
| #define TE_EWKB_SRID_FLAG 0x20000000 | 
Definition at line 187 of file Config.h.
Referenced by te::ag::Canvas::drawGeometryCollection(), te::ag::Canvas::drawLineString(), te::ag::Canvas::drawMultiLineString(), te::ag::Canvas::drawMultiPoint(), te::ag::Canvas::drawMultiPolygon(), te::ag::Canvas::drawPoint(), te::ag::Canvas::drawPolygon(), te::pgis::GetCoordSequence(), te::pgis::EWKBReader::getGeometryCollection(), te::pgis::EWKBReader::getPoint(), te::pgis::EWKBReader::getPolygon(), and te::pgis::EWKBWriter::visit().
| #define TE_EWKB_Z_OFFSET 0x80000000 | 
Definition at line 185 of file Config.h.
Referenced by te::pgis::Convert2OGCWKBType(), te::pgis::Convert2PostGISWKBType(), and te::pgis::EWKBWriter::visit().
| #define TE_EWKB_ZM_OFFSET 0xC0000000 | 
Definition at line 184 of file Config.h.
Referenced by te::pgis::Convert2OGCWKBType(), and te::pgis::Convert2PostGISWKBType().
| #define TE_PGIS_TEXT_DOMAIN "tepostgis" | 
It contains the name of the text domain used in the translation of messages in TerraLib PostGIS driver implementation.
Definition at line 154 of file Config.h.
Referenced by te::pgis::Module::startup().
| #define TE_PGIS_TEXT_DOMAIN_DIR "locale" | 
It contains the translation catalog directory.
Definition at line 161 of file Config.h.
Referenced by te::pgis::Module::startup().
| #define TEPGISEXPORT | 
You can use this macro in order to export/import classes and functions from this module.
| #define TERRALIB_RASTER_DRIVER_IDENTIFIER "TEPG" | 
| #define TR_PGIS | ( | message | ) | TR(message, TE_PGIS_TEXT_DOMAIN) | 
It marks a string in order to get translated. This is a special mark used in the DataAccess module of TerraLib.
Definition at line 168 of file Config.h.
Referenced by te::pgis::Transactor::addIndex(), te::pgis::PreparedQuery::bind(), te::pgis::BindValue(), te::pgis::Transactor::cloneDataSet(), te::pgis::Connection::Connection(), te::pgis::DataSource::create(), te::pgis::DataSource::drop(), te::pgis::PreparedQuery::execute(), te::pgis::Connection::execute(), te::pgis::DataSource::exists(), te::pgis::ConnectionPool::finalize(), te::pgis::DataSet::getArray(), te::pgis::ConnectionPool::getConnection(), te::pgis::Transactor::getDatabaseInfo(), te::pgis::Transactor::getDataSet(), te::pgis::Transactor::getDataSetId(), te::pgis::Transactor::getDataSetName(), te::pgis::DataSet::getDatasetNameOfProperty(), te::pgis::DataSet::getDateTime(), te::pgis::DataSet::getExtent(), te::pgis::Transactor::getExtent(), te::pgis::Transactor::getLastGeneratedId(), te::pgis::Transactor::getPropertyId(), te::pgis::Transactor::getRasterInfo(), te::pgis::Transactor::getSequences(), te::pgis::GetSQLValue(), te::pgis::ConnectionPool::initialize(), te::pgis::Transactor::optimize(), te::pgis::PreparedQuery::prepare(), te::pgis::Connection::query(), te::pgis::Transactor::remove(), te::pgis::SetColumnDef(), te::pgis::Module::shutdown(), te::pgis::Module::startup(), and te::pgis::Transactor::update().
| #define TR_PLURAL_PGIS | ( | message1, | |
| message2, | |||
| n | |||
| ) | TR_PLURAL(TE_PGIS_TEXT_DOMAIN, message1, message2, n) |