|
boat
C++23 geospatial library
|
#include <boat/detail/numbers.hpp>#include <boat/geometry/vocabulary.hpp>#include <boost/geometry/algorithms/transform.hpp>#include <boost/geometry/srs/epsg.hpp>#include <boost/geometry/srs/transformation.hpp>#include <boost/geometry/strategies/transform/matrix_transformers.hpp>#include <boost/geometry/strategies/transform/srs_transformer.hpp>#include <format>#include <optional>

Go to the source code of this file.
Namespaces | |
| namespace | boat |
| namespace | boat::geometry |
Concepts | |
| concept | boat::geometry::srs_spec |
| concept | boat::geometry::projection_or_transformation |
Typedefs | |
| using | boat::geometry::srs_variant = std::variant<srs::epsg, srs::proj4> |
Functions | |
| auto | boat::geometry::ortho (geographic::point const &v) |
| auto | boat::geometry::transformation (srs_spec auto const &a, srs_spec auto const &b) |
| auto | boat::geometry::transformation (srs_spec auto const &v) |
| From WGS 84 lon/lat to the specified CRS. | |
| auto | boat::geometry::forward (matrix const &v) |
| template<projection_or_transformation T> | |
| auto | boat::geometry::forward (T const &v) |
| auto | boat::geometry::backward (matrix const &v) |
| template<projection_or_transformation T> | |
| auto | boat::geometry::backward (T const &v) |
| template<tagged T1, same_tag< T1 > T2, class Strategy> | |
| bool | boat::geometry::transform (T1 const &geom1, T2 &geom2, Strategy const &strategy) |
| Collections succeed if any element succeeds; failed elements are omitted. | |
| auto | boat::geometry::transform (auto const &... strategies) |
| Strategies run left to right; a failed step returns std::nullopt. | |
| srs_variant | boat::geometry::make_srs_variant (int epsg, std::string const &proj4) |
| Prefers positive EPSG to PROJ.4; throws if neither is available. | |
Variables | |
| template<class T> | |
| constexpr bool | boat::geometry::is_srs_spec = std::is_constructible_v<srs::projection<>, T> |
| template<class... Ts> | |
| constexpr bool | boat::geometry::is_srs_spec< std::variant< Ts... > > = (is_srs_spec<Ts> && ...) |