HydroCoupleOgc  0.1.0
OGC web service clients (WMS, WMTS, WCS, WFS) over Qt Network (0.1.0)
Loading...
Searching...
No Matches
HydroCouple::Ogc::CrsIdentifier Struct Reference

An authority and the code it assigns, e.g. EPSG and 3857. More...

#include <crsurn.h>

Collaboration diagram for HydroCouple::Ogc::CrsIdentifier:

Public Member Functions

bool isValid () const
 
QString toString () const
 
bool operator== (const CrsIdentifier &other) const
 
bool isCrs84 () const
 Whether this is CRS84 — longitude first, by definition.
 

Public Attributes

QString authority
 
QString code
 

Detailed Description

An authority and the code it assigns, e.g. EPSG and 3857.

Member Function Documentation

◆ isCrs84()

bool HydroCouple::Ogc::CrsIdentifier::isCrs84 ( ) const
nodiscard

Whether this is CRS84 — longitude first, by definition.

Worth asking separately because it is the one geographic system whose axis order is settled by its name rather than by a coordinate database: OGC defined CRS84 precisely so there would be a lon/lat spelling of WGS 84.

◆ isValid()

bool HydroCouple::Ogc::CrsIdentifier::isValid ( ) const
inlinenodiscard
Here is the caller graph for this function:

◆ operator==()

bool HydroCouple::Ogc::CrsIdentifier::operator== ( const CrsIdentifier & other) const
inlinenodiscard

◆ toString()

QString HydroCouple::Ogc::CrsIdentifier::toString ( ) const
inlinenodiscard
Returns
The AUTHORITY:CODE form, or an empty string when invalid.
Here is the call graph for this function:

Member Data Documentation

◆ authority

QString HydroCouple::Ogc::CrsIdentifier::authority

◆ code

QString HydroCouple::Ogc::CrsIdentifier::code

The documentation for this struct was generated from the following files: