24#ifndef DD__SPATIAL_REFERENCE_SYSTEM_INCLUDED
25#define DD__SPATIAL_REFERENCE_SYSTEM_INCLUDED
44class Spatial_reference_system_impl;
48class Spatial_reference_systems;
98 virtual const std::optional<String_type> &
organization()
const = 0;
229 virtual const std::optional<String_type> &
description()
const = 0;
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:34
Base class for dictionary objects which has single column integer primary key.
Definition: entity_object.h:48
virtual const String_type & name() const =0
Definition: object_keys.h:166
Definition: object_keys.h:77
Definition: spatial_reference_system_impl.h:63
Definition: spatial_reference_system.h:53
virtual double to_radians(double d) const =0
Converts a coordinate value from the SRS unit to radians.
virtual double from_normalized_longitude(double d) const =0
Converts a longitude value from the in-memory representation of longitude (radians,...
Primary_id_key Id_key
Definition: spatial_reference_system.h:58
virtual bool is_geographic() const =0
virtual double angular_unit() const =0
virtual const String_type & definition() const =0
virtual bool is_lat_long() const =0
Check whether an SRS has latitude-longitude axis ordering.
Void_key Aux_key
Definition: spatial_reference_system.h:60
virtual bool is_projected() const =0
virtual const std::optional< String_type > & description() const =0
virtual Spatial_reference_system * clone_dropped_object_placeholder() const =0
Allocate a new object which can serve as a placeholder for the original object in the Dictionary_clie...
virtual bool update_name_key(Name_key *key) const
Definition: spatial_reference_system.h:69
virtual bool update_id_key(Id_key *key) const
Definition: spatial_reference_system.h:63
virtual void set_organization(const String_type &organization)=0
virtual void set_description(const String_type &description)=0
virtual void set_created(ulonglong created)=0
Spatial_reference_system_impl Impl
Definition: spatial_reference_system.h:55
virtual void set_organization_coordsys_id(std::nullptr_t)=0
~Spatial_reference_system() override=default
virtual void set_description(std::nullptr_t)=0
virtual bool positive_north() const =0
virtual double from_radians(double d) const =0
Converts a coordinate value from radians to the SRS unit.
virtual bool is_cartesian() const =0
virtual bool can_be_modified_to(const Spatial_reference_system &srs) const =0
Checks if this SRS can be changed to another SRS definition without changing any computations.
virtual bool positive_east() const =0
virtual String_type proj4_parameters() const =0
Gets the proj4 parameters for this SRS.
Spatial_reference_system Cache_partition
Definition: spatial_reference_system.h:56
virtual double from_normalized_latitude(double d) const =0
Converts a latitude value from the in-memory representation of latitude (radians, positive North) to ...
virtual double prime_meridian() const =0
virtual Spatial_reference_system * clone() const =0
Allocate a new object and invoke the copy constructor.
virtual double to_normalized_latitude(double d) const =0
Converts a latitude value from the SRS unit and direction to the in-memory representation of latitude...
virtual void set_last_altered(ulonglong last_altered)=0
virtual ulonglong last_altered(bool convert_time) const =0
virtual bool update_aux_key(Aux_key *) const
Definition: spatial_reference_system.h:75
virtual double semi_minor_axis() const =0
virtual ulonglong created(bool convert_time) const =0
virtual const std::optional< gis::srid_t > & organization_coordsys_id() const =0
virtual double to_normalized_longitude(double d) const =0
Converts a longitude value from the SRS unit, direction and meridian to the in-memory representation ...
virtual gis::Coordinate_system cs_type() const =0
virtual const std::optional< String_type > & organization() const =0
virtual void set_organization(std::nullptr_t)=0
virtual void set_definition(const String_type &definition)=0
virtual double linear_unit() const =0
virtual double semi_major_axis() const =0
virtual bool missing_towgs84() const =0
Checks whether the SRS definition is missing a TOWGS84 clause.
Item_name_key Name_key
Definition: spatial_reference_system.h:59
tables::Spatial_reference_systems DD_table
Definition: spatial_reference_system.h:57
virtual void set_organization_coordsys_id(gis::srid_t organization_coordsys_id)=0
Definition: object_keys.h:54
Definition: spatial_reference_systems.h:44
This file declares the geometry class hierarchy used by the server as the internal representation of ...
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
unsigned long long Object_id
Definition: object_id.h:31
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
Coordinate_system
Types of coordinate systems.
Definition: geometries.h:69
std::uint32_t srid_t
A spatial reference system ID (SRID).
Definition: srid.h:33
required string key
Definition: replication_asynchronous_connection_failover.proto:60