13#pragma warning(disable:4583)
14#pragma warning(disable:4582)
15#include <boost/variant2/variant.hpp>
18#include <boost/variant2/variant.hpp>
ProjectionType
All the supported projection types.
@ UniversalTransverseMercator
boost::variant2::variant< TransverseMercatorParams, UniversalTransverseMercatorParams, WebMercatorParams, LambertConformalConicParams > ProjectionParams
geom::Transform Transform
This file contains definitions of common data structures used in traffic manager.
ProjectionType GetType() const
Get the type of projection.
GeoLocation TransformToGeoLocationUniversalTransverseMercator(const Location &location, const UniversalTransverseMercatorParams) const
Transform the given location to a geo location using UniversalTransverseMercator.
Location GeoLocationToTransformUniversalTransverseMercator(const GeoLocation &geolocation, const UniversalTransverseMercatorParams params) const
Transform the given geo location to a location using UniversalTransverseMercator.
GeoLocation TransformToGeoLocationLambertConformalConic(const Location &location, const LambertConformalConicParams params) const
Transform the given location to a geo location using LambertConformalConic.
const ProjectionParams & GetParams() const
Get the parameters.
GeoLocation TransformToGeoLocationTransverseMercator(const Location &location, const TransverseMercatorParams params) const
Transform the given location to a geo location using TransverseMercator.
void SetPROJString(std::string s)
Set the Proj raw string.
Location GeoLocationToTransformLambertConformalConic(const GeoLocation &geolocation, const LambertConformalConicParams params) const
Transform the given geo location to a location using LambertConformalConic.
Location GeoLocationToTransform(const GeoLocation &geolocation) const
Transform the given location to a geo location.
GeoLocation TransformToGeoLocationWebMercator(const Location &location, const WebMercatorParams params) const
Transform the given location to a geo location using WebMercator.
const std::string & GetPROJString() const
Get the Proj raw string.
Location GeoLocationToTransformTransverseMercator(const GeoLocation &geolocation, const TransverseMercatorParams params) const
Transform the given geo location to a location using TransverseMercator.
GeoLocation TransformToGeoLocation(const Location &location) const
Transform the given geo location to a location.
static GeoProjection Make(T &&args)
Location GeoLocationToTransformWebMercator(const GeoLocation &geolocation, const WebMercatorParams params) const
Transform the given geo location to a location using WebMercator.
std::string proj_string
Proj string reference.