QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
|
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. More... | |
Utilities related to OGC CRS encodings.
Definition at line 590 of file qgsogcutils.h.
|
strong |
CRS flavor.
Enumerator | |
---|---|
UNKNOWN | |
AUTH_CODE | unknown/unhandled flavor |
HTTP_EPSG_DOT_XML | e.g EPSG:4326 |
OGC_URN | e.g. http://www.opengis.net/gml/srs/epsg.xml#4326 (called "OGC HTTP URL" in GeoServer WFS configuration panel) |
X_OGC_URN | e.g. urn:ogc:def:crs:EPSG::4326 |
OGC_HTTP_URI | e.g. urn:x-ogc:def:crs:EPSG::4326 |
Definition at line 595 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 3719 of file qgsogcutils.cpp.