Skip to content

File crs.hpp

FileList > io > crs.hpp

Go to the source code of this file

  • #include <ogr_spatialref.h>
  • #include <array>
  • #include <cmath>
  • #include <memory>
  • #include <string>
  • #include "assert/assert.hpp"
  • #include "grid/grid.hpp"
  • #include "utilities/coordinate.hpp"

Classes

Type Name
struct UserCrsParseResult

Public Functions

Type Name
std::string build_compound_crs_wkt (const std::string & wkt, const std::string & normalized_horizontal)
bool crs_compatible_for_viewing (const std::string & a, const std::string & b)
std::unique_ptr< OGRCoordinateTransformation > make_coord_transform (const std::string & src_wkt, const std::string & dst_wkt)
GeoProjection make_projection_from_wkt (const std::string & raw_wkt)
std::string normalize_crs_wkt (const std::string & wkt)
Extent3D reproject_extent3d_horizontal (const Extent3D & extent, OGRCoordinateTransformation * ct)
bool transform_xy_h (OGRCoordinateTransformation * ct, double & x, double & y)
UserCrsParseResult try_user_crs_to_wkt (const std::string & user_crs)
std::string user_crs_to_wkt (const std::string & user_crs)
bool wkt_matches (const std::string & a, const std::string & b)
bool wkt_parses (const std::string & wkt)

Public Functions Documentation

function build_compound_crs_wkt

inline std::string build_compound_crs_wkt (
    const std::string & wkt,
    const std::string & normalized_horizontal
) 

function crs_compatible_for_viewing

inline bool crs_compatible_for_viewing (
    const std::string & a,
    const std::string & b
) 

function make_coord_transform

inline std::unique_ptr< OGRCoordinateTransformation > make_coord_transform (
    const std::string & src_wkt,
    const std::string & dst_wkt
) 

function make_projection_from_wkt

inline GeoProjection make_projection_from_wkt (
    const std::string & raw_wkt
) 

function normalize_crs_wkt

inline std::string normalize_crs_wkt (
    const std::string & wkt
) 

function reproject_extent3d_horizontal

inline Extent3D reproject_extent3d_horizontal (
    const Extent3D & extent,
    OGRCoordinateTransformation * ct
) 

function transform_xy_h

inline bool transform_xy_h (
    OGRCoordinateTransformation * ct,
    double & x,
    double & y
) 

function try_user_crs_to_wkt

inline UserCrsParseResult try_user_crs_to_wkt (
    const std::string & user_crs
) 

function user_crs_to_wkt

inline std::string user_crs_to_wkt (
    const std::string & user_crs
) 

function wkt_matches

inline bool wkt_matches (
    const std::string & a,
    const std::string & b
) 

function wkt_parses

inline bool wkt_parses (
    const std::string & wkt
) 


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/io/crs.hpp