LuciadCPillar 2024.0.08
|
Factory to create coordinate references from EPSG and OGC identifiers. More...
#include <luciad/geodesy/CoordinateReferenceProvider.h>
Public Member Functions | |
CoordinateReferenceProvider ()=delete | |
~CoordinateReferenceProvider ()=delete | |
Static Public Member Functions | |
static luciad::expected< std::shared_ptr< CoordinateReference >, ErrorInfo > | create (const std::string &identifier) |
Creates the coordinate reference from a given EPSG, WKT (version 1) or OGC identifier. More... | |
Factory to create coordinate references from EPSG and OGC identifiers.
|
delete |
|
delete |
|
static |
Creates the coordinate reference from a given EPSG, WKT (version 1) or OGC identifier.
A list of supported epsg references can be found here. A list of unsupported epsg references can be found here.
Example usage:
Creation of the WGS-84 coordinate reference system with an EPSG identifier.
Creation of the WGS-84 coordinate reference system with a WKT identifier.
Creation of the Web Mercator coordinate reference system with an OGC identifier.
identifier | an EPSG, WKT (version 1) or OGC identifier, for example "EPSG:3857" or "urn:ogc:def:crs:EPSG::3857". |