NDEVR
API Documentation
CoordinateProjection

Basic data about a particular coordinate projection. More...

Collaboration diagram for CoordinateProjection:
[legend]

Public Member Functions

String crsIdentifier () const
 Constructs a CRS identifier string for this projection.

Public Attributes

TranslatedString area
 The geographic area of use for this projection.
String authority
 The authority that defines this projection (e.g., "EPSG").
uint04 authority_number = Constant<uint04>::Invalid
 The numeric code assigned by the authority (e.g., EPSG code).
String GEOGCS
 The geographic coordinate system name (e.g., "GCS_WGS_1984").
UUID id
 Unique identifier for this coordinate projection.
String last_revised
 The date this projection definition was last revised.
TranslatedString name
 The display name of the coordinate projection.
String proj4_string
 The PROJ4 format definition string for this projection.
Bounds< 2, fltp08projected_bounds = Constant<Bounds<2, fltp08>>::Invalid
 The bounds in projected coordinates (easting/northing).
String projection
 The projection method name (e.g., "Transverse Mercator").
TranslatedString scope
 The intended scope or purpose of this projection.
ConstPointer< Unitunit
 The unit of measurement used by this projection.
sint04 utm_zone = Constant<sint04>::Invalid
 The UTM zone number, or Invalid if not a UTM projection.
String vertical_authority
 The authority for the vertical coordinate reference system.
uint04 vertical_authority_number = Constant<uint04>::Invalid
 The numeric code for the vertical CRS assigned by the vertical authority.
Bounds< 2, fltp08WGS84_bounds = Constant<Bounds<2, fltp08>>::Invalid
 The geographic bounds in WGS84 coordinates (longitude/latitude).
String wkt_string
 The Well-Known Text (WKT) definition string for this projection.

Detailed Description

Basic data about a particular coordinate projection.


See https://ndevr.org/coordinate-projection/

Definition at line 44 of file CoordinateProjection.h.

Member Function Documentation

◆ crsIdentifier()

String CoordinateProjection::crsIdentifier ( ) const
inline

Constructs a CRS identifier string for this projection.

Returns an "EPSG:<code>" string if the authority is EPSG with a valid authority number, optionally appending a vertical authority number. Falls back to the WKT string if available, or the PROJ4 string otherwise.

Returns
A string identifying this coordinate reference system.

Definition at line 72 of file CoordinateProjection.h.

References authority, authority_number, IsValid(), proj4_string, vertical_authority_number, and wkt_string.


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