PROJ C++ API
|
I/O classes. More...
Classes | |
class | AuthorityFactory |
Builds object from an authority database. More... | |
class | DatabaseContext |
Database context. More... | |
class | FactoryException |
Exception thrown when a factory can't create an instance of the requested object. More... | |
class | FormattingException |
Exception possibly thrown by IWKTExportable::exportToWKT() or IPROJStringExportable::exportToPROJString(). More... | |
class | IPROJStringExportable |
Interface for an object that can be exported to a PROJ string. More... | |
class | IWKTExportable |
Interface for an object that can be exported to WKT. More... | |
class | NoSuchAuthorityCodeException |
Exception thrown when an authority factory can't find the requested authority code. More... | |
class | ParsingException |
Exception possibly thrown by WKTNode::createFrom() or WKTParser::createFromWKT(). More... | |
class | PROJStringFormatter |
Formatter to PROJ strings. More... | |
class | PROJStringParser |
Parse a PROJ string into the appropriate suclass of util::BaseObject. More... | |
class | WKTFormatter |
Formatter to WKT strings. More... | |
class | WKTNode |
Node in the tree-splitted WKT representation. More... | |
class | WKTParser |
Parse a WKT string into the appropriate suclass of util::BaseObject. More... | |
Typedefs | |
using | DatabaseContextPtr = std::shared_ptr< DatabaseContext > |
using | DatabaseContextNNPtr = util::nn< DatabaseContextPtr > |
using | WKTFormatterPtr = std::unique_ptr< WKTFormatter > |
using | WKTFormatterNNPtr = util::nn< WKTFormatterPtr > |
using | PROJStringFormatterPtr = std::unique_ptr< PROJStringFormatter > |
using | PROJStringFormatterNNPtr = util::nn< PROJStringFormatterPtr > |
using | IPROJStringExportablePtr = std::shared_ptr< IPROJStringExportable > |
using | IPROJStringExportableNNPtr = util::nn< IPROJStringExportablePtr > |
using | WKTNodePtr = std::unique_ptr< WKTNode > |
using | WKTNodeNNPtr = util::nn< WKTNodePtr > |
using | AuthorityFactoryPtr = std::shared_ptr< AuthorityFactory > |
using | AuthorityFactoryNNPtr = util::nn< AuthorityFactoryPtr > |
Functions | |
BaseObjectNNPtr | createFromUserInput (const std::string &text, const DatabaseContextPtr &dbContext) |
Instanciate a sub-class of BaseObject from a WKT string, PROJ string or database code (like "EPSG:4326", "urn:ogc:def:crs:EPSG::4326", "urn:ogc:def:coordinateOperation:EPSG::1671"). More... | |
I/O classes.
osgeo.proj.io namespace.
using osgeo::proj::io::AuthorityFactoryNNPtr = typedef util::nn<AuthorityFactoryPtr> |
Non-null shared pointer of AuthorityFactory.
using osgeo::proj::io::AuthorityFactoryPtr = typedef std::shared_ptr<AuthorityFactory> |
Shared pointer of AuthorityFactory.
using osgeo::proj::io::DatabaseContextNNPtr = typedef util::nn<DatabaseContextPtr> |
Non-null shared pointer of DatabaseContext.
using osgeo::proj::io::DatabaseContextPtr = typedef std::shared_ptr<DatabaseContext> |
Shared pointer of DatabaseContext.
using osgeo::proj::io::IPROJStringExportableNNPtr = typedef util::nn<IPROJStringExportablePtr> |
Non-null shared pointer of IPROJStringExportable.
using osgeo::proj::io::IPROJStringExportablePtr = typedef std::shared_ptr<IPROJStringExportable> |
Shared pointer of IPROJStringExportable.
using osgeo::proj::io::PROJStringFormatterNNPtr = typedef util::nn<PROJStringFormatterPtr> |
Non-null PROJStringFormatter unique pointer.
using osgeo::proj::io::PROJStringFormatterPtr = typedef std::unique_ptr<PROJStringFormatter> |
PROJStringFormatter unique pointer.
using osgeo::proj::io::WKTFormatterNNPtr = typedef util::nn<WKTFormatterPtr> |
Non-null WKTFormatter unique pointer.
using osgeo::proj::io::WKTFormatterPtr = typedef std::unique_ptr<WKTFormatter> |
WKTFormatter unique pointer.
using osgeo::proj::io::WKTNodeNNPtr = typedef util::nn<WKTNodePtr> |
Non-null unique pointer of WKTNode.
using osgeo::proj::io::WKTNodePtr = typedef std::unique_ptr<WKTNode> |
Unique pointer of WKTNode.
util::BaseObjectNNPtr osgeo::proj::io::createFromUserInput | ( | const std::string & | text, |
const DatabaseContextPtr & | dbContext | ||
) |
Instanciate a sub-class of BaseObject from a WKT string, PROJ string or database code (like "EPSG:4326", "urn:ogc:def:crs:EPSG::4326", "urn:ogc:def:coordinateOperation:EPSG::1671").
ParsingException |