MySQL 9.1.0
Source Code Documentation
gis::srs::Krovak_modified_north_orientated_srs Class Reference

A Krovak Modified (North Orientated) projection (EPSG 1043). More...

#include <srs.h>

Inheritance diagram for gis::srs::Krovak_modified_north_orientated_srs:
[legend]

Public Member Functions

 Krovak_modified_north_orientated_srs ()
 
Spatial_reference_systemclone () override
 Clone the object. More...
 
bool init (srid_t srid, wkt_parser::Projected_cs *p) override
 Initialize from parse tree. More...
 
Projection_type projection_type () const override
 Get the map projection method. More...
 
bool can_be_modified_to (const Spatial_reference_system &) const override
 Checks if this SRS can be changed to another SRS without causing computational incompatibilities. More...
 
- Public Member Functions inherited from gis::srs::Projected_srs
 Projected_srs ()
 
Srs_type srs_type () const override
 Get the type of spatial reference system: projected, geometric, etc. More...
 
Axis_direction axis_direction (const int axis) const override
 Retrieve the axis direction of the spatial reference system. More...
 
double linear_unit () const override
 Retrieve how long the unit of the spatial reference system is in meters. More...
 
double angular_unit () const override
 Retrieve the angular unit relative to radians. More...
 
double prime_meridian () const override
 Retrieve the prime meridian relative to Greenwich. More...
 
bool has_towgs84 () const override
 Checks if this SRS has valid Bursa Wolf parameters. More...
 
bool is_wgs84_based () const override
 Checks if this SRS is WGS 84 or a projection based on WGS 84. More...
 
std::string partial_proj4_parameters () const
 
- Public Member Functions inherited from gis::srs::Spatial_reference_system
 Spatial_reference_system ()=default
 
 Spatial_reference_system (const Spatial_reference_system &)=default
 
 Spatial_reference_system (Spatial_reference_system &&)=default
 
virtual ~Spatial_reference_system ()=default
 
virtual std::string proj4_parameters () const
 Retrieve the proj4 parameter string. More...
 

Private Attributes

double m_latitude_of_center
 Latitude of the point at which the azimuth of the central line is defined (EPSG 8811). More...
 
double m_longitude_of_center
 The meridian along which the northing axis increments and also across which parallels of latitude increment towards the north pole (EPSG 8833). More...
 
double m_azimuth
 The rotation applied to spherical coordinates, measured on the conformal sphere in the plane of the meridian of origin (EPSG 1036). More...
 
double m_pseudo_standard_parallel_1
 Latitude of the parallel on which the projection is based. More...
 
double m_scale_factor
 The factor by which the map grid is reduced or enlarged at the pseudo-standard parallel (EPSG 8819). More...
 
double m_false_easting
 Value added to x-coordinates (EPSG 8806). More...
 
double m_false_northing
 Value added to y-coordinates (EPSG 8807). More...
 
double m_evaluation_point_ordinate_1
 The first ordinate of the evaluation point (EPSG 8617). More...
 
double m_evaluation_point_ordinate_2
 The second ordinate of the evaluation point(EPSG 8618). More...
 
double m_c1
 Coefficient C1 used in polynomial transformation (EPSG 1026). More...
 
double m_c2
 Coefficient C2 used in polynomial transformation (EPSG 1027). More...
 
double m_c3
 Coefficient C3 used in polynomial transformation (EPSG 1028). More...
 
double m_c4
 Coefficient C4 used in polynomial transformation (EPSG 1029). More...
 
double m_c5
 Coefficient C5 used in polynomial transformation (EPSG 1030). More...
 
double m_c6
 Coefficient C6 used in polynomial transformation (EPSG 1031). More...
 
double m_c7
 Coefficient C7 used in polynomial transformation (EPSG 1032). More...
 
double m_c8
 Coefficient C8 used in polynomial transformation (EPSG 1033). More...
 
double m_c9
 Coefficient C9 used in polynomial transformation (EPSG 1034). More...
 
double m_c10
 Coefficient C10 used in polynomial transformation (EPSG 1035). More...
 

Additional Inherited Members

- Protected Member Functions inherited from gis::srs::Projected_srs
bool common_proj_parameters_can_be_modified_to (const Spatial_reference_system &srs) const
 Checks if the parameters that are common to all projections can safely be modified to another SRS without causing computational differences. More...
 

Detailed Description

A Krovak Modified (North Orientated) projection (EPSG 1043).

Constructor & Destructor Documentation

◆ Krovak_modified_north_orientated_srs()

gis::srs::Krovak_modified_north_orientated_srs::Krovak_modified_north_orientated_srs ( )
inline

Member Function Documentation

◆ can_be_modified_to()

bool gis::srs::Krovak_modified_north_orientated_srs::can_be_modified_to ( const Spatial_reference_system srs) const
overridevirtual

Checks if this SRS can be changed to another SRS without causing computational incompatibilities.

This means checking that all values in the two SRSs that affect computations are the same. The syntax of the SRS definitions may still vary, e.g., by using different names or by having different authority codes.

In some cases, e.g., unknown projection methods, we don't know how to compare the two SRSs. In that case, we fail by saying that the SRSs are not the same.

The operation is not commutative. The SRS parameter is allowed to have a TOWGS84 specification even though this object doesn't. The opposite is not necessarily true. If this object lacks TOWGS84 information, transformation operations are forbidden on this SRS. Adding that possibility changes what computations are available, but it doesn't change the result of any computation that can currently be done.

An SRS that is currently identified as WGS 84 may both add and remove TOWGS84 information as long as the parameters are all 0. Adding a non-all-zero TOWGS84 clause to a WGS 84 SRS is not allowed.

Parameters
srsThe SRS to compare with.
Return values
trueThe two SRSs are semantically the same.
falseThe two SRSs are semantically different, or we don't know how to compare them.

Implements gis::srs::Spatial_reference_system.

◆ clone()

Spatial_reference_system * gis::srs::Krovak_modified_north_orientated_srs::clone ( )
inlineoverridevirtual

Clone the object.

Returns
A new Spatial_reference_system object

Implements gis::srs::Spatial_reference_system.

◆ init()

bool gis::srs::Krovak_modified_north_orientated_srs::init ( gis::srid_t  srid,
wkt_parser::Projected_cs p 
)
overridevirtual

Initialize from parse tree.

Parameters
[in]sridSpatial reference system ID to use when reporting errors
[in]pParser output
Return values
trueAn error has occurred. The error has been flagged.
falseSuccess

Reimplemented from gis::srs::Projected_srs.

◆ projection_type()

Projection_type gis::srs::Krovak_modified_north_orientated_srs::projection_type ( ) const
inlineoverridevirtual

Get the map projection method.

Returns
Projection type

Implements gis::srs::Projected_srs.

Member Data Documentation

◆ m_azimuth

double gis::srs::Krovak_modified_north_orientated_srs::m_azimuth
private

The rotation applied to spherical coordinates, measured on the conformal sphere in the plane of the meridian of origin (EPSG 1036).

◆ m_c1

double gis::srs::Krovak_modified_north_orientated_srs::m_c1
private

Coefficient C1 used in polynomial transformation (EPSG 1026).

◆ m_c10

double gis::srs::Krovak_modified_north_orientated_srs::m_c10
private

Coefficient C10 used in polynomial transformation (EPSG 1035).

◆ m_c2

double gis::srs::Krovak_modified_north_orientated_srs::m_c2
private

Coefficient C2 used in polynomial transformation (EPSG 1027).

◆ m_c3

double gis::srs::Krovak_modified_north_orientated_srs::m_c3
private

Coefficient C3 used in polynomial transformation (EPSG 1028).

◆ m_c4

double gis::srs::Krovak_modified_north_orientated_srs::m_c4
private

Coefficient C4 used in polynomial transformation (EPSG 1029).

◆ m_c5

double gis::srs::Krovak_modified_north_orientated_srs::m_c5
private

Coefficient C5 used in polynomial transformation (EPSG 1030).

◆ m_c6

double gis::srs::Krovak_modified_north_orientated_srs::m_c6
private

Coefficient C6 used in polynomial transformation (EPSG 1031).

◆ m_c7

double gis::srs::Krovak_modified_north_orientated_srs::m_c7
private

Coefficient C7 used in polynomial transformation (EPSG 1032).

◆ m_c8

double gis::srs::Krovak_modified_north_orientated_srs::m_c8
private

Coefficient C8 used in polynomial transformation (EPSG 1033).

◆ m_c9

double gis::srs::Krovak_modified_north_orientated_srs::m_c9
private

Coefficient C9 used in polynomial transformation (EPSG 1034).

◆ m_evaluation_point_ordinate_1

double gis::srs::Krovak_modified_north_orientated_srs::m_evaluation_point_ordinate_1
private

The first ordinate of the evaluation point (EPSG 8617).

◆ m_evaluation_point_ordinate_2

double gis::srs::Krovak_modified_north_orientated_srs::m_evaluation_point_ordinate_2
private

The second ordinate of the evaluation point(EPSG 8618).

◆ m_false_easting

double gis::srs::Krovak_modified_north_orientated_srs::m_false_easting
private

Value added to x-coordinates (EPSG 8806).

◆ m_false_northing

double gis::srs::Krovak_modified_north_orientated_srs::m_false_northing
private

Value added to y-coordinates (EPSG 8807).

◆ m_latitude_of_center

double gis::srs::Krovak_modified_north_orientated_srs::m_latitude_of_center
private

Latitude of the point at which the azimuth of the central line is defined (EPSG 8811).

◆ m_longitude_of_center

double gis::srs::Krovak_modified_north_orientated_srs::m_longitude_of_center
private

The meridian along which the northing axis increments and also across which parallels of latitude increment towards the north pole (EPSG 8833).

◆ m_pseudo_standard_parallel_1

double gis::srs::Krovak_modified_north_orientated_srs::m_pseudo_standard_parallel_1
private

Latitude of the parallel on which the projection is based.

This latitude is not geographic, but is defined on the conformal sphere AFTER its rotation to obtain the oblique aspect of the projection (EPSG 8818).

◆ m_scale_factor

double gis::srs::Krovak_modified_north_orientated_srs::m_scale_factor
private

The factor by which the map grid is reduced or enlarged at the pseudo-standard parallel (EPSG 8819).


The documentation for this class was generated from the following files: