Fixposition SDK 0.0.0-heads/main-0-gf826859
Collection of c++ libraries and apps for use with Fixposition products on Linux
Loading...
Searching...
No Matches
fpsdk::common::trafo::TransformerOpts Struct Reference

Transformer options. More...

#include <trafo.hpp>

Classes

struct  Area
 Area of interest (bounding box). More...

Public Attributes

bool precise_ = false
 Require a precise transformation.
double min_accuracy_ = 0.0
 Minimal accuracy [m] of the operation (ACCURACY=x), 0.0 = any accuracy.
bool normalize_axes_ = false
 Use "traditional GIS" axis order.
bool allow_network_ = false
 Allow network access.
std::optional< Area > area_
 Area of interest, used to select the operation.

Detailed Description

Transformer options.

The defaults select the most suitable operation PROJ can find, which may be an approximate ("ballpark") one.

Definition at line 258 of file trafo.hpp.

Member Data Documentation

◆ precise_

bool fpsdk::common::trafo::TransformerOpts::precise_ = false

Require a precise transformation.

Do not allow approximate ("ballpark") operations (ALLOW_BALLPARK=NO), fail if the best operation is not available, e.g. because of missing grids (ONLY_BEST=YES), and check that the operation can be instantiated.

Definition at line 266 of file trafo.hpp.

◆ min_accuracy_

double fpsdk::common::trafo::TransformerOpts::min_accuracy_ = 0.0

Minimal accuracy [m] of the operation (ACCURACY=x), 0.0 = any accuracy.

Operations with unknown accuracy, such as ballpark operations, are not used if this is set.

Definition at line 273 of file trafo.hpp.

◆ normalize_axes_

bool fpsdk::common::trafo::TransformerOpts::normalize_axes_ = false

Use "traditional GIS" axis order.

Use longitude/latitude (and east/north) order for all CRS, regardless of the axis order of the CRS (see proj_normalize_for_visualization()). For example, EPSG:4979 natively uses latitude/longitude order.

Definition at line 281 of file trafo.hpp.

◆ allow_network_

bool fpsdk::common::trafo::TransformerOpts::allow_network_ = false

Allow network access.

Allow PROJ to download missing grids from the PROJ content delivery network (see https://proj.org/en/9.4/usage/network.html). This overrides the PROJ configuration (proj.ini, PROJ_NETWORK).

Definition at line 289 of file trafo.hpp.

◆ area_

std::optional<Area> fpsdk::common::trafo::TransformerOpts::area_

Area of interest, used to select the operation.

If unset PROJ may select a different operation for each coordinate, depending on the coordinate's position.

Definition at line 307 of file trafo.hpp.


The documentation for this struct was generated from the following file:
  • fpsdk_common/include/fpsdk_common/trafo.hpp