FlowEngine 7.530
Photogrammetry Software Development Kit
Loading...
Searching...
No Matches
FlowEngine::ProjectedCoordinateSystemDB Class Reference

Utility class that supplies a database of Projected Coordinate Systems. More...

#include <ProjectedCoordinateSystemDB.h>

Static Public Member Functions

static FLE_DLL Index getNumberOfEntries ()
 
static FLE_DLL Result getEntry (Index index, ProjectedCoordinateSystemInterface &outPCS)
 
static FLE_DLL Result searchByEPSG (ConstStringBuffer epsgCode, ProjectedCoordinateSystemInterface &outPCS)
 
static FLE_DLL Result searchClosestWGS84 (double latitude, double longitude, ProjectedCoordinateSystemInterface &outPCS)
 

Detailed Description

Utility class that supplies a database of Projected Coordinate Systems.

This database can be queried linearly with the enumeration functions or randomly (e.g. by EPSG id) with the helper functions.

Member Function Documentation

◆ getEntry()

Result FlowEngine::ProjectedCoordinateSystemDB::getEntry ( Index  index,
ProjectedCoordinateSystemInterface outPCS 
)
static

Retrieves the Projected Coordinate System (PCS) in the database at the specified index.

Parameters
[in]indexthe index of the PCS to retrieve. Must be in the range [0, getNumberOfEntries()).
[out]outPCSa ProjectedCoordinateSystemInterface object that will receive the requested data.
Returns
One of the following result codes:

◆ getNumberOfEntries()

Index FlowEngine::ProjectedCoordinateSystemDB::getNumberOfEntries ( )
static
Returns
the number of available entries in the database

◆ searchByEPSG()

Result FlowEngine::ProjectedCoordinateSystemDB::searchByEPSG ( ConstStringBuffer  epsgCode,
ProjectedCoordinateSystemInterface outPCS 
)
static

Searches the database and retrieves the Projected Coordinate System (PCS) specified by its European Petroleum Survey Group (EPSG) code, which is usually a 4-5 digits string.

Parameters
[in]epsgCodethe EPSG code that identifies the required PCS to retrieve.
[out]outPCSa ProjectedCoordinateSystemInterface object that will receive the requested data.
Returns
One of the following result codes:

◆ searchClosestWGS84()

Result FlowEngine::ProjectedCoordinateSystemDB::searchClosestWGS84 ( double  latitude,
double  longitude,
ProjectedCoordinateSystemInterface outPCS 
)
static

Searches the database and retrieves the Projected Coordinate System (PCS) which is the closest World Geodetic System 1984 (WGS84) system relative to a specific geodetic coordinates.

Returns
One of the following result codes: