QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
Utilities related to OGC CRS encodings. More...
#include <qgsogcutils.h>
Public Types | |
enum class | CRSFlavor { UNKNOWN , AUTH_CODE , HTTP_EPSG_DOT_XML , OGC_URN , X_OGC_URN , OGC_HTTP_URI } |
CRS flavor. More... | |
Static Public Member Functions | |
static CRSFlavor | parseCrsName (const QString &crsName, QString &authority, QString &code) |
Parse a CRS name in one of the flavors of OGC services, and decompose it as authority and code. | |
Utilities related to OGC CRS encodings.
Definition at line 598 of file qgsogcutils.h.
|
strong |
CRS flavor.
Enumerator | |
---|---|
UNKNOWN | Unknown/unhandled flavor. |
AUTH_CODE | E.g EPSG:4326. |
HTTP_EPSG_DOT_XML | E.g. http://www.opengis.net/gml/srs/epsg.xml#4326 (called "OGC HTTP URL" in GeoServer WFS configuration panel) |
OGC_URN | E.g. urn:ogc:def:crs:EPSG::4326. |
X_OGC_URN | E.g. urn:x-ogc:def:crs:EPSG::4326. |
OGC_HTTP_URI |
Definition at line 603 of file qgsogcutils.h.
|
static |
Parse a CRS name in one of the flavors of OGC services, and decompose it as authority and code.
crsName | CRS name, like "EPSG:4326", "http://www.opengis.net/gml/srs/epsg.xml#4326", "urn:ogc:def:crs:EPSG::4326", etc. | |
[out] | authority | CRS authority. |
[out] | code | CRS code. |
Definition at line 3777 of file qgsogcutils.cpp.