Namespace for the OGR Driver Implementation of TerraLib. More...
Classes | |
class | DataSet |
Implementation of a DataSet for OGR data provider. More... | |
class | DataSource |
The OGR data source provider. More... | |
class | Globals |
An static class with global definitions. More... | |
class | SQLVisitor |
class | Transactor |
Functions | |
te::da::DataSource * | Build (const te::core::URI &uri) |
TEOGREXPORT OGRGeometry * | Convert2OGR (const te::gm::Geometry *teGeom) |
It converts the TerraLib Geometry to OGR Geometry. More... | |
TEOGREXPORT OGREnvelope * | Convert2OGR (const te::gm::Envelope *env) |
It converts the TerraLib Envelope to OGR Envelope. More... | |
TEOGREXPORT OGRFeatureDefn * | Convert2OGR (te::da::DataSetType *dt) |
It converts the TerraLib DataSet Type to OGR Feature Definition. More... | |
TEOGREXPORT OGRFieldDefn * | Convert2OGR (te::dt::Property *p) |
It converts the TerraLib Property Type to OGR Field Definition. More... | |
TEOGREXPORT OGRwkbGeometryType | Convert2OGR (te::gm::GeomType geomType) |
It converts the TerraLib Geometry Type element to OGR Geometry Type. More... | |
TEOGREXPORT OGRSpatialReference * | Convert2OGRProjection (int srid) |
It converts the TerraLib Projection to OGR Projection. More... | |
TEOGREXPORT te::gm::Geometry * | Convert2TerraLib (OGRGeometry *ogrGeom) |
It converts the OGR Geometry to TerraLib Geometry. More... | |
TEOGREXPORT te::gm::Envelope * | Convert2TerraLib (const OGREnvelope *env) |
It converts the OGR Envelope to TerraLib Envelope. More... | |
TEOGREXPORT void | Convert2TerraLib (OGRFeatureDefn *featDef, te::da::DataSetType *dt, int srs=TE_UNKNOWN_SRS) |
It inserts a OGR Feature Definition to TerraLib DataSet Type. More... | |
TEOGREXPORT te::da::DataSetType * | Convert2TerraLib (OGRFeatureDefn *featDef, int srs=TE_UNKNOWN_SRS) |
It converts the OGR Feature Definition to TerraLib DataSet Type. More... | |
TEOGREXPORT te::dt::Property * | Convert2TerraLib (OGRFieldDefn *fieldDef) |
It converts the OGR Field Definition to TerraLib Property Type. More... | |
TEOGREXPORT te::gm::GeomType | Convert2TerraLib (OGRwkbGeometryType ogrGeomType) |
It converts the OGR Geometry Type element to TerraLib Geometry Type. More... | |
TEOGREXPORT int | Convert2TerraLibProjection (OGRSpatialReference *osrs) |
It converts the OGR Projection to TerraLib Projection. More... | |
std::string | GetDriverName (const std::string &path) |
It tries extract the driver name used by OGR Library based on the given path. More... | |
TEOGREXPORT std::string | GetOGRConnectionInfo (const std::map< std::string, std::string > &connInfo) |
TEOGREXPORT std::vector< std::string > | GetOGRDrivers (bool filterCreate=false) |
It returns the list of OGR Drivers available. More... | |
TEOGREXPORT boost::mutex & | getStaticMutex () |
Returns a reference to a static mutex initialized when this module is initialized. More... | |
void | OGRErrorHandler (CPLErr eErrClass, int errNo, const char *msg) |
TEOGREXPORT std::string | RemoveSpatialSql (const std::string &sql) |
Namespace for the OGR Driver Implementation of TerraLib.
te::da::DataSource* te::ogr::Build | ( | const te::core::URI & | uri | ) |
TEOGREXPORT OGRGeometry* te::ogr::Convert2OGR | ( | const te::gm::Geometry * | teGeom | ) |
TEOGREXPORT OGREnvelope* te::ogr::Convert2OGR | ( | const te::gm::Envelope * | env | ) |
TEOGREXPORT OGRFeatureDefn* te::ogr::Convert2OGR | ( | te::da::DataSetType * | dt | ) |
It converts the TerraLib DataSet Type to OGR Feature Definition.
Exception | It throws an exception if the data set type can not be converted. |
TEOGREXPORT OGRFieldDefn* te::ogr::Convert2OGR | ( | te::dt::Property * | p | ) |
TEOGREXPORT OGRwkbGeometryType te::ogr::Convert2OGR | ( | te::gm::GeomType | geomType | ) |
TEOGREXPORT OGRSpatialReference* te::ogr::Convert2OGRProjection | ( | int | srid | ) |
It converts the TerraLib Projection to OGR Projection.
srid | A valid TerraLib Projection id. |
Exception | It throws an exception if the SRS can not be imported using OGR. |
TEOGREXPORT te::gm::Geometry* te::ogr::Convert2TerraLib | ( | OGRGeometry * | ogrGeom | ) |
TEOGREXPORT te::gm::Envelope* te::ogr::Convert2TerraLib | ( | const OGREnvelope * | env | ) |
TEOGREXPORT void te::ogr::Convert2TerraLib | ( | OGRFeatureDefn * | featDef, |
te::da::DataSetType * | dt, | ||
int | srs = TE_UNKNOWN_SRS |
||
) |
It inserts a OGR Feature Definition to TerraLib DataSet Type.
featDef | A valid OGR Feature Definition. |
dt | Pointer to a TerraLib dataset type previously created. Do not pass NULL. |
srs | Optional parameter to set the SRS of geometry fields. |
Exception | It throws an exception if the feature definition can not be converted. |
TEOGREXPORT te::da::DataSetType* te::ogr::Convert2TerraLib | ( | OGRFeatureDefn * | featDef, |
int | srs = TE_UNKNOWN_SRS |
||
) |
TEOGREXPORT te::dt::Property* te::ogr::Convert2TerraLib | ( | OGRFieldDefn * | fieldDef | ) |
TEOGREXPORT te::gm::GeomType te::ogr::Convert2TerraLib | ( | OGRwkbGeometryType | ogrGeomType | ) |
TEOGREXPORT int te::ogr::Convert2TerraLibProjection | ( | OGRSpatialReference * | osrs | ) |
std::string te::ogr::GetDriverName | ( | const std::string & | path | ) |
It tries extract the driver name used by OGR Library based on the given path.
path | The path that will be consulted. |
TEOGREXPORT std::string te::ogr::GetOGRConnectionInfo | ( | const std::map< std::string, std::string > & | connInfo | ) |
TEOGREXPORT std::vector<std::string> te::ogr::GetOGRDrivers | ( | bool | filterCreate = false | ) |
It returns the list of OGR Drivers available.
filterCreate | Set TRUE to indicate to retrieve only the drivers with the capacity to create datasources. |
TEOGREXPORT boost::mutex& te::ogr::getStaticMutex | ( | ) |
Returns a reference to a static mutex initialized when this module is initialized.
void te::ogr::OGRErrorHandler | ( | CPLErr | eErrClass, |
int | errNo, | ||
const char * | msg | ||
) |
TEOGREXPORT std::string te::ogr::RemoveSpatialSql | ( | const std::string & | sql | ) |