MySQL 8.4.2
Source Code Documentation
transform.cc File Reference

This file implements the transform functor and function. More...

#include "my_config.h"
#include <sys/time.h>
#include "sql/gis/transform.h"
#include "sql/gis/transform_functor.h"
#include <boost/geometry.hpp>
#include <memory>
#include "my_inttypes.h"
#include "my_sys.h"
#include "mysqld_error.h"
#include "sql/dd/string_type.h"
#include "sql/dd/types/spatial_reference_system.h"
#include "sql/gis/geometries.h"
#include "sql/gis/geometries_traits.h"
#include "sql/sql_exception_handler.h"

Namespaces

namespace  gis
 

Functions

template<typename CartesianGeometry , typename GeographicGeometry , typename InputGeometry >
auto gis::transform_helper (const InputGeometry &g, const Coordinate_system &m_output_cs, const boost::geometry::srs::transformation<> &m_transformation)
 
template<typename InputGeometryCollection >
auto gis::transform_gc_helper (const InputGeometryCollection &g, const Coordinate_system &m_output_cs, const Transform &transform)
 
bool gis::transform (const dd::Spatial_reference_system *source_srs, const Geometry &in, const dd::Spatial_reference_system *target_srs, const char *func_name, std::unique_ptr< Geometry > *out) noexcept
 Transforms a geometry from one SRS to another. More...
 

Detailed Description

This file implements the transform functor and function.