HydroCoupleOgc  0.1.0
OGC web service clients (WMS, WMTS, WCS, WFS) over Qt Network (0.1.0)
Loading...
Searching...
No Matches
axisorder.h File Reference

Which of a coordinate pair comes first. More...

#include "hydrocoupleogc/crsurn.h"
#include "hydrocoupleogc/export.h"
#include <QString>
Include dependency graph for axisorder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  HydroCouple
 
namespace  HydroCouple::Ogc
 

Functions

HYDROCOUPLEOGC_EXPORT bool HydroCouple::Ogc::authorityWritesLatitudeFirst (const QString &crs)
 Whether the authority defines crs latitude first.
 

Detailed Description

Which of a coordinate pair comes first.

Author
Caleb Buahin

The single most common way an OGC client draws a map that is plausible, sideways and somewhere else. Every service that takes a bounding box has the same rule under a different name: before some version, coordinates are always longitude first; from that version on they are written in the authority's own order, and EPSG's order for a geographic system is latitude first.

The version half of that rule differs per service and stays with each service. The authority half is the same question everywhere, so it is asked here once.