Libosmium
2.20.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <osmium/geom/coordinates.hpp>
#include <osmium/geom/util.hpp>
#include <osmium/osm/node_ref_list.hpp>
#include <osmium/osm/way.hpp>
#include <cmath>
#include <iterator>
Go to the source code of this file.
Namespaces | |
namespace | osmium |
Namespace for everything in the Osmium library. | |
namespace | osmium::geom |
Everything related to geometry handling. | |
namespace | osmium::geom::haversine |
Functions to calculate arc distance on Earth using the haversine formula. | |
Functions | |
double | osmium::geom::haversine::distance (const osmium::geom::Coordinates &c1, const osmium::geom::Coordinates &c2) noexcept |
double | osmium::geom::haversine::distance (const osmium::WayNodeList &wnl) |
double | osmium::geom::haversine::distance (const osmium::NodeRefList &nrl) |
Variables | |
constexpr const double | osmium::geom::haversine::EARTH_RADIUS_IN_METERS = 6372797.560856 |
Earth's quadratic mean radius for WGS84. More... | |