1#ifndef SQL_GIS_SRS_SRS_H_INCLUDED
2#define SQL_GIS_SRS_SRS_H_INCLUDED
205namespace wkt_parser {
265 assert(axis >= 0 && axis <= 1);
285namespace wkt_parser {
342 assert(axis >= 0 && axis <= 1);
2043 Spatial_reference_system **
result);
An Albers Equal Area projection, alias Albers (EPSG 9822).
Definition: srs.h:1614
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1946
double m_standard_parallel_1
Latitude of the first parallel of intersection between the cone and the ellipsoid (EPSG 8823).
Definition: srs.h:1624
double m_false_northing
Northing value assigned to the false origin (EPSG 8827).
Definition: srs.h:1631
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.
Definition: srs.cc:1963
double m_false_easting
Easting value assigned to the false origin (EPSG 8826).
Definition: srs.h:1629
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1642
Albers_equal_area_srs()
Definition: srs.h:1634
double m_latitude_of_origin
Latitude of the false origin, at which the false easting and northing is defined (EPSG 8821).
Definition: srs.h:1618
double m_longitude_of_origin
Longitude (central meridian) of the false origin, at which the false easting and northing is defined ...
Definition: srs.h:1621
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1980
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1648
double m_standard_parallel_2
Latitude of the second parallel of intersection between the cone and the ellipsoid (EPSG 8824).
Definition: srs.h:1627
An American Polyconic projection, alias Polyconic (EPSG 9818).
Definition: srs.h:1493
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.
Definition: srs.cc:1819
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1501
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1518
American_polyconic_srs()
Definition: srs.h:1506
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1503
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1804
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1499
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1496
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1512
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1834
A Bonne (South Orientated) projection (EPSG 9828).
Definition: srs.h:1737
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.
Definition: srs.cc:2099
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1756
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1745
Bonne_south_orientated_srs()
Definition: srs.h:1750
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1762
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1747
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:2114
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:2084
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1743
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1740
A Cassini-Soldner projection, alias Cassini (EPSG 9806).
Definition: srs.h:1047
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.
Definition: srs.cc:1303
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1318
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1288
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1066
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1072
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1050
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1053
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1055
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1057
Cassini_soldner_srs()
Definition: srs.h:1060
A Colombia Urban projection(EPSG 1052).
Definition: srs.h:805
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:813
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:815
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:827
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:833
Colombia_urban_srs()
Definition: srs.h:820
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:811
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:995
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.
Definition: srs.cc:1011
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:808
double m_projection_plane_height_at_origin
The height of the projection plane at its origin (EPSG 1039).
Definition: srs.h:817
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1028
An Equidistant Cylindrical (Spherical) projection (EPSG 1029).
Definition: srs.h:498
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:729
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:505
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.
Definition: srs.cc:744
double m_standard_parallel_1
Latitude of the first parallel of intersection between the cone and the ellipsoid (EPSG 8823).
Definition: srs.h:502
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:759
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:524
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:509
Equidistant_cylindrical_spherical_srs()
Definition: srs.h:512
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:507
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:518
An Equidistant Cylindrical projection (EPSG 1028).
Definition: srs.h:462
Equidistant_cylindrical_srs()
Definition: srs.h:476
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:471
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:488
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:684
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:469
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:714
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.
Definition: srs.cc:699
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:482
double m_standard_parallel_1
Latitude of the first parallel of intersection between the cone and the ellipsoid (EPSG 8823).
Definition: srs.h:466
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:473
A geographic (longitude-latitude) spatial reference system.
Definition: srs.h:210
Axis_direction m_axes[2]
Direction of x and y axis, respectively.
Definition: srs.h:225
Axis_direction axis_direction(const int axis) const override
Retrieve the axis direction of the spatial reference system.
Definition: srs.h:264
double m_prime_meridian
Longitude of the prime meridian relative to the Greenwich Meridian (measured in m_angular_unit).
Definition: srs.h:221
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:242
double m_towgs84[7]
Bursa Wolf transformation parameters used to transform to WGS84.
Definition: srs.h:217
double semi_major_axis() const
Definition: srs.h:271
std::string partial_proj4_parameters() const
Definition: srs.cc:507
Geographic_srs()
Definition: srs.h:230
Srs_type srs_type() const override
Get the type of spatial reference system: projected, geometric, etc.
Definition: srs.h:240
double linear_unit() const override
Retrieve how long the unit of the spatial reference system is in meters.
Definition: srs.h:275
double m_angular_unit
Conversion factor for the angular unit relative to radians.
Definition: srs.h:223
bool is_wgs84_based() const override
Checks if this SRS is WGS 84 or a projection based on WGS 84.
Definition: srs.h:262
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:550
bool m_is_wgs84
Whether this SRS is WGS 84.
Definition: srs.h:227
double inverse_flattening() const
Definition: srs.h:273
virtual bool init(srid_t srid, wkt_parser::Geographic_cs *g)
Initialize from parse tree.
Definition: srs.cc:342
double angular_unit() const override
Retrieve the angular unit relative to radians.
Definition: srs.h:276
double m_semi_major_axis
Semi-major axis of ellipsoid.
Definition: srs.h:213
double prime_meridian() const override
Retrieve the prime meridian relative to Greenwich.
Definition: srs.h:278
bool has_towgs84() const override
Checks if this SRS has valid Bursa Wolf parameters.
Definition: srs.h:257
bool can_be_modified_to(const Spatial_reference_system &srs) const override
Checks if this SRS can be changed to another SRS without causing computational incompatibilities.
Definition: srs.cc:452
double m_inverse_flattening
Inverse flattening of ellipsoid.
Definition: srs.h:215
A Guam Projection projection (EPSG 9831).
Definition: srs.h:1846
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1849
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:2249
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1852
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.
Definition: srs.cc:2234
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1856
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1871
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:2219
Guam_projection_srs()
Definition: srs.h:1859
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1865
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1854
A Hotine Oblique Mercator (variant A) projection, alias Rectified skew orthomorphic (EPSG 9812).
Definition: srs.h:1277
double m_azimuth
Direction east of north of the great circle which is the central line (EPSG 8813).
Definition: srs.h:1287
double m_rectified_grid_angle
Angle at the natural origin through which the natural SRS is rotated to make the projection north axi...
Definition: srs.h:1291
double m_latitude_of_center
Latitude of the point at which the azimuth of the central line is defined (EPSG 8811).
Definition: srs.h:1281
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1565
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1298
double m_longitude_of_center
Longitude of the point at which the azimuth of the central line is defined (EPSG 8812).
Definition: srs.h:1284
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1296
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1310
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1601
double m_scale_factor
Multiplier for reducing a distance obtained from a map to the actual distance on the datum of the map...
Definition: srs.h:1294
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1316
Hotine_oblique_mercator_variant_a_srs()
Definition: srs.h:1301
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.
Definition: srs.cc:1583
A Hotine Oblique Mercator (variant B) projection, alias Rectified skew orthomorphic (EPSG 9815).
Definition: srs.h:1371
double m_scale_factor
Multiplier for reducing a distance obtained from a map to the actual distance on the datum of the map...
Definition: srs.h:1388
double m_azimuth
Direction east of north of the great circle which is the central line (EPSG 8813).
Definition: srs.h:1381
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1706
double m_false_easting
Easting value assigned to the projection center (EPSG 8816).
Definition: srs.h:1390
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1670
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.
Definition: srs.cc:1688
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1404
double m_latitude_of_center
Latitude of the point at which the azimuth of the central line is defined (EPSG 8811).
Definition: srs.h:1375
double m_false_northing
Northing value assigned to the projection center (EPSG 8817).
Definition: srs.h:1392
double m_rectified_grid_angle
Angle at the natural origin through which the natural SRS is rotated to make the projection north axi...
Definition: srs.h:1385
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1410
double m_longitude_of_center
Longitude of the point at which the azimuth of the central line is defined (EPSG 8812).
Definition: srs.h:1378
Hotine_oblique_mercator_variant_b_srs()
Definition: srs.h:1395
A Hyperbolic Cassini-Soldner projection (EPSG 9833).
Definition: srs.h:1916
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1926
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1935
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:2309
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:2339
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.
Definition: srs.cc:2324
Hyperbolic_cassini_soldner_srs()
Definition: srs.h:1929
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1919
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1924
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1941
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1922
A Krovak Modified (North Orientated) projection (EPSG 1043).
Definition: srs.h:672
double m_pseudo_standard_parallel_1
Latitude of the parallel on which the projection is based.
Definition: srs.h:689
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:694
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:750
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:744
double m_c1
Coefficient C1 used in polynomial transformation (EPSG 1026).
Definition: srs.h:702
double m_scale_factor
The factor by which the map grid is reduced or enlarged at the pseudo-standard parallel (EPSG 8819).
Definition: srs.h:692
double m_c3
Coefficient C3 used in polynomial transformation (EPSG 1028).
Definition: srs.h:706
double m_latitude_of_center
Latitude of the point at which the azimuth of the central line is defined (EPSG 8811).
Definition: srs.h:676
double m_longitude_of_center
The meridian along which the northing axis increments and also across which parallels of latitude inc...
Definition: srs.h:680
double m_c10
Coefficient C10 used in polynomial transformation (EPSG 1035).
Definition: srs.h:720
double m_evaluation_point_ordinate_1
The first ordinate of the evaluation point (EPSG 8617).
Definition: srs.h:698
double m_c8
Coefficient C8 used in polynomial transformation (EPSG 1033).
Definition: srs.h:716
double m_c9
Coefficient C9 used in polynomial transformation (EPSG 1034).
Definition: srs.h:718
double m_c6
Coefficient C6 used in polynomial transformation (EPSG 1031).
Definition: srs.h:712
Krovak_modified_north_orientated_srs()
Definition: srs.h:723
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:885
double m_evaluation_point_ordinate_2
The second ordinate of the evaluation point(EPSG 8618).
Definition: srs.h:700
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:696
double m_c5
Coefficient C5 used in polynomial transformation (EPSG 1030).
Definition: srs.h:710
double m_azimuth
The rotation applied to spherical coordinates, measured on the conformal sphere in the plane of the m...
Definition: srs.h:684
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.
Definition: srs.cc:915
double m_c2
Coefficient C2 used in polynomial transformation (EPSG 1027).
Definition: srs.h:704
double m_c4
Coefficient C4 used in polynomial transformation (EPSG 1029).
Definition: srs.h:708
double m_c7
Coefficient C7 used in polynomial transformation (EPSG 1032).
Definition: srs.h:714
A Krovak Modified projection (EPSG 1042).
Definition: srs.h:586
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:610
double m_c2
Coefficient C2 used in polynomial transformation (EPSG 1027).
Definition: srs.h:618
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:608
double m_azimuth
The rotation applied to spherical coordinates, measured on the conformal sphere in the plane of the m...
Definition: srs.h:598
double m_c3
Coefficient C3 used in polynomial transformation (EPSG 1028).
Definition: srs.h:620
Krovak_modified_srs()
Definition: srs.h:637
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:664
double m_pseudo_standard_parallel_1
Latitude of the parallel on which the projection is based.
Definition: srs.h:603
double m_scale_factor
The factor by which the map grid is reduced or enlarged at the pseudo-standard parallel (EPSG 8819).
Definition: srs.h:606
double m_c10
Coefficient C10 used in polynomial transformation (EPSG 1035).
Definition: srs.h:634
double m_c5
Coefficient C5 used in polynomial transformation (EPSG 1030).
Definition: srs.h:624
double m_c1
Coefficient C1 used in polynomial transformation (EPSG 1026).
Definition: srs.h:616
double m_c6
Coefficient C6 used in polynomial transformation (EPSG 1031).
Definition: srs.h:626
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:658
double m_evaluation_point_ordinate_2
The second ordinate of the evaluation point(EPSG 8618).
Definition: srs.h:614
double m_c4
Coefficient C4 used in polynomial transformation (EPSG 1029).
Definition: srs.h:622
double m_c8
Coefficient C8 used in polynomial transformation (EPSG 1033).
Definition: srs.h:630
double m_c7
Coefficient C7 used in polynomial transformation (EPSG 1032).
Definition: srs.h:628
double m_longitude_of_center
The meridian along which the northing axis increments and also across which parallels of latitude inc...
Definition: srs.h:594
double m_evaluation_point_ordinate_1
The first ordinate of the evaluation point (EPSG 8617).
Definition: srs.h:612
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.
Definition: srs.cc:858
double m_latitude_of_center
Latitude of the point at which the azimuth of the central line is defined (EPSG 8811).
Definition: srs.h:590
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:828
double m_c9
Coefficient C9 used in polynomial transformation (EPSG 1034).
Definition: srs.h:632
A Krovak (North Orientated) projection (EPSG 1041).
Definition: srs.h:534
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:556
double m_pseudo_standard_parallel_1
Latitude of the parallel on which the projection is based.
Definition: srs.h:551
double m_latitude_of_center
Latitude of the point at which the azimuth of the central line is defined (EPSG 8811).
Definition: srs.h:538
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:576
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:558
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:810
double m_azimuth
The rotation applied to spherical coordinates, measured on the conformal sphere in the plane of the m...
Definition: srs.h:546
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:570
double m_scale_factor
The factor by which the map grid is reduced or enlarged at the pseudo-standard parallel (EPSG 8819).
Definition: srs.h:554
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:774
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.
Definition: srs.cc:792
Krovak_north_orientated_srs()
Definition: srs.h:561
double m_longitude_of_center
The meridian along which the northing axis increments and also across which parallels of latitude inc...
Definition: srs.h:542
A Krovak projection (EPSG 9819).
Definition: srs.h:1528
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1882
double m_azimuth
The rotation applied to spherical coordinates, measured on the conformal sphere in the plane of the m...
Definition: srs.h:1540
double m_latitude_of_center
Latitude of the point at which the azimuth of the central line is defined (EPSG 8811).
Definition: srs.h:1532
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1849
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1552
double m_longitude_of_center
The meridian along which the northing axis increments and also across which parallels of latitude inc...
Definition: srs.h:1536
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1568
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1550
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.
Definition: srs.cc:1866
double m_scale_factor
The factor by which the map grid is reduced or enlarged at the pseudo-standard parallel (EPSG 8819).
Definition: srs.h:1548
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1564
Krovak_srs()
Definition: srs.h:1555
double m_pseudo_standard_parallel_1
Latitude of the parallel on which the projection is based.
Definition: srs.h:1545
A Laborde Oblique Mercator projection (EPSG 9813).
Definition: srs.h:1326
double m_longitude_of_center
Longitude of the point at which the azimuth of the central line is defined (EPSG 8812).
Definition: srs.h:1333
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1343
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1341
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1360
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1619
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1354
double m_latitude_of_center
Latitude of the point at which the azimuth of the central line is defined (EPSG 8811).
Definition: srs.h:1330
double m_scale_factor
Multiplier for reducing a distance obtained from a map to the actual distance on the datum of the map...
Definition: srs.h:1339
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1653
double m_azimuth
Direction east of north of the great circle which is the central line (EPSG 8813).
Definition: srs.h:1336
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.
Definition: srs.cc:1636
Laborde_oblique_mercator_srs()
Definition: srs.h:1346
A Lambert Azimuthal Equal Area (Spherical) projection (EPSG 1027).
Definition: srs.h:427
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:452
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:668
Lambert_azimuthal_equal_area_spherical_srs()
Definition: srs.h:440
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.
Definition: srs.cc:653
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:430
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:437
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:446
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:638
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:433
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:435
A Lambert Azimuthal Equal Area projection, alias Lambert Equal Area or LAEA (EPSG 9820).
Definition: srs.h:1579
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1901
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1604
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1585
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1587
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1589
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1931
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.
Definition: srs.cc:1916
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1598
Lambert_azimuthal_equal_area_srs()
Definition: srs.h:1592
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1582
A Lambert Cylindrical Equal Area (Spherical) projection (EPSG 9834).
Definition: srs.h:1952
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1978
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1963
Lambert_cylindrical_equal_area_spherical_srs()
Definition: srs.h:1966
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1961
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1959
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:2384
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:2354
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1972
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.
Definition: srs.cc:2369
double m_standard_parallel_1
Latitude of the first parallel of intersection between the cone and the ellipsoid (EPSG 8823).
Definition: srs.h:1956
A Lambert Cylindrical Equal Area projection (EPSG 9835).
Definition: srs.h:1988
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.
Definition: srs.cc:2415
Lambert_cylindrical_equal_area_srs()
Definition: srs.h:2002
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1997
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1995
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:2400
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1999
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:2430
double m_standard_parallel_1
Latitude of the first parallel of intersection between the cone and the ellipsoid (EPSG 8823).
Definition: srs.h:1992
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:2008
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:2014
A Mercator (variant A) projection, alias Mercator (EPSG 9804).
Definition: srs.h:972
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:975
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:985
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.
Definition: srs.cc:1211
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:995
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1195
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:983
Mercator_variant_a_srs()
Definition: srs.h:988
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:978
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1001
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1227
double m_scale_factor
Multiplier for reducing a distance obtained from a map to the actual distance on the datum of the map...
Definition: srs.h:981
A Mercator (variant B) projection, alias Mercator (EPSG 9805).
Definition: srs.h:1011
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1243
double m_standard_parallel_1
Latitude of the first parallel of intersection between the cone and the ellipsoid (EPSG 8823).
Definition: srs.h:1015
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1020
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1018
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.
Definition: srs.cc:1258
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1037
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1273
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1022
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1031
Mercator_variant_b_srs()
Definition: srs.h:1025
A Modified Azimuthal Equidistant projection (EPSG 9832).
Definition: srs.h:1881
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1906
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:2294
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1900
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1887
Modified_azimuthal_equidistant_srs()
Definition: srs.h:1894
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1891
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:2264
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1889
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.
Definition: srs.cc:2279
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1884
A New Zealand Map Grid projection (EPSG 9811).
Definition: srs.h:1241
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1266
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1525
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1247
New_zealand_map_grid_srs()
Definition: srs.h:1254
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1260
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1251
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.
Definition: srs.cc:1540
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1555
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1244
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1249
An Oblique stereographic projection, alias Double stereographic (EPSG 9809).
Definition: srs.h:1163
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.
Definition: srs.cc:1445
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1176
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1174
double m_scale_factor
Multiplier for reducing a distance obtained from a map to the actual distance on the datum of the map...
Definition: srs.h:1172
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1169
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1429
Oblique_stereographic_srs()
Definition: srs.h:1179
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1186
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1166
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1461
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1192
A Polar Stereographic (variant A) projection (EPSG 9810).
Definition: srs.h:1202
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1509
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1208
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1205
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.
Definition: srs.cc:1493
double m_scale_factor
Multiplier for reducing a distance obtained from a map to the actual distance on the datum of the map...
Definition: srs.h:1211
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1225
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1477
Polar_stereographic_variant_a_srs()
Definition: srs.h:1218
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1231
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1213
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1215
A Polar Stereographic (variant B) projection (EPSG 9829).
Definition: srs.h:1772
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1782
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:2159
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1799
double m_longitude_of_origin
The meridian along which the northing axis increments and also across which parallels of latitude inc...
Definition: srs.h:1780
Polar_stereographic_variant_b_srs()
Definition: srs.h:1787
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1793
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:2129
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.
Definition: srs.cc:2144
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1784
double m_standard_parallel
The parallel on which the scale factor is defined to be unity (EPSG 8832).
Definition: srs.h:1776
A Polar Stereographic (variant C) projection (EPSG 9830).
Definition: srs.h:1809
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1836
double m_longitude_of_origin
The meridian along which the northing axis increments and also across which parallels of latitude inc...
Definition: srs.h:1817
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:2204
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.
Definition: srs.cc:2189
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1830
double m_false_northing
Northing value assigned to the false origin (EPSG 8827).
Definition: srs.h:1821
double m_standard_parallel
The parallel on which the scale factor is defined to be unity (EPSG 8832).
Definition: srs.h:1813
double m_false_easting
Easting value assigned to the false origin (EPSG 8826).
Definition: srs.h:1819
Polar_stereographic_variant_c_srs()
Definition: srs.h:1824
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:2174
A Popular Visualisation Pseudo Mercator projection (EPSG 1024).
Definition: srs.h:392
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:402
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:400
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:588
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:417
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.
Definition: srs.cc:606
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:621
Popular_visualisation_pseudo_mercator_srs()
Definition: srs.h:405
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:411
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:395
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:398
A projected spatial reference system.
Definition: srs.h:290
Axis_direction axis_direction(const int axis) const override
Retrieve the axis direction of the spatial reference system.
Definition: srs.h:341
bool has_towgs84() const override
Checks if this SRS has valid Bursa Wolf parameters.
Definition: srs.h:355
double angular_unit() const override
Retrieve the angular unit relative to radians.
Definition: srs.h:347
bool is_wgs84_based() const override
Checks if this SRS is WGS 84 or a projection based on WGS 84.
Definition: srs.h:357
Srs_type srs_type() const override
Get the type of spatial reference system: projected, geometric, etc.
Definition: srs.h:321
double m_linear_unit
Converson factor for the linar unit relative to meters.
Definition: srs.h:295
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 wit...
Definition: srs.cc:496
std::string partial_proj4_parameters() const
Definition: srs.h:361
Axis_direction m_axes[2]
Direction of x and y axis, respectively.
Definition: srs.h:297
Geographic_srs m_geographic_srs
The geographic SRS this SRS is projected from.
Definition: srs.h:293
double prime_meridian() const override
Retrieve the prime meridian relative to Greenwich.
Definition: srs.h:351
Projected_srs()
Definition: srs.h:317
double linear_unit() const override
Retrieve how long the unit of the spatial reference system is in meters.
Definition: srs.h:346
virtual Projection_type projection_type() const =0
Get the map projection method.
virtual bool init(srid_t srid, wkt_parser::Projected_cs *p)
Initialize from parse tree.
Definition: srs.cc:560
Superclass for all spatial reference systems.
Definition: srs.h:96
virtual Srs_type srs_type() const =0
Get the type of spatial reference system: projected, geometric, etc.
virtual bool is_wgs84_based() const =0
Checks if this SRS is WGS 84 or a projection based on WGS 84.
virtual double prime_meridian() const =0
Retrieve the prime meridian relative to Greenwich.
virtual bool has_towgs84() const =0
Checks if this SRS has valid Bursa Wolf parameters.
virtual bool can_be_modified_to(const Spatial_reference_system &srs) const =0
Checks if this SRS can be changed to another SRS without causing computational incompatibilities.
virtual double linear_unit() const =0
Retrieve how long the unit of the spatial reference system is in meters.
Spatial_reference_system(Spatial_reference_system &&)=default
virtual double angular_unit() const =0
Retrieve the angular unit relative to radians.
Spatial_reference_system(const Spatial_reference_system &)=default
virtual Axis_direction axis_direction(const int axis) const =0
Retrieve the axis direction of the spatial reference system.
virtual ~Spatial_reference_system()=default
virtual std::string proj4_parameters() const
Retrieve the proj4 parameter string.
Definition: srs.h:190
virtual Spatial_reference_system * clone()=0
Clone the object.
Spatial_reference_system()=default
A Transverse Mercator (South Orientated) projection, alias Gauss-Conform (EPSG 9808).
Definition: srs.h:1123
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.
Definition: srs.cc:1397
Transverse_mercator_south_orientated_srs()
Definition: srs.h:1139
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1152
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1129
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1126
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1134
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1136
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1413
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1146
double m_scale_factor
Multiplier for reducing a distance obtained from a map to the actual distance on the datum of the map...
Definition: srs.h:1132
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1381
A Transverse Mercator projection, alias Gauss-Boaga, Gauss-Krüger or TM (EPSG 9807).
Definition: srs.h:1083
double m_scale_factor
Multiplier for reducing a distance obtained from a map to the actual distance on the datum of the map...
Definition: srs.h:1092
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.
Definition: srs.cc:1349
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1096
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1089
Transverse_mercator_srs()
Definition: srs.h:1099
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1112
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1094
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1333
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1106
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1365
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1086
A Transverse Mercator Zoned Grid System projection (EPSG 9824).
Definition: srs.h:1658
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1671
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1690
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.
Definition: srs.cc:2014
Transverse_mercator_zoned_grid_system_srs()
Definition: srs.h:1676
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1661
double m_zone_width
The longitude width of a zone (EPSG 8831).
Definition: srs.h:1666
double m_initial_longitude
The longitude of the western limit of the first zone (EPSG 8830).
Definition: srs.h:1664
double m_scale_factor
Multiplier for reducing a distance obtained from a map to the actual distance on the datum of the map...
Definition: srs.h:1669
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1684
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:2031
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1673
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1997
A Tunisia Mining Grid projection (EPSG 9816).
Definition: srs.h:1420
double m_longitude_of_origin
Longitude (central meridian) of the false origin, at which the false easting and northing is defined ...
Definition: srs.h:1427
Tunisia_mining_grid_srs()
Definition: srs.h:1434
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1440
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1446
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.
Definition: srs.cc:1740
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1725
double m_false_northing
Northing value assigned to the false origin (EPSG 8827).
Definition: srs.h:1431
double m_latitude_of_origin
Latitude of the false origin, at which the false easting and northing is defined (EPSG 8821).
Definition: srs.h:1424
double m_false_easting
Easting value assigned to the false origin (EPSG 8826).
Definition: srs.h:1429
A projected SRS of an unknown projection type.
Definition: srs.h:373
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:381
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.
Definition: srs.h:385
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:583
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:375
const char * p
Definition: ctype-mb.cc:1235
static std::string to_string(const LEX_STRING &str)
Definition: lex_string.h:50
bool parse_wkt(srid_t srid, const char *begin, const char *end, Spatial_reference_system **result)
Parse an SRS definition WKT string.
Definition: srs.cc:2597
Projection_type
Projection method. Values are EPSG codes.
Definition: srs.h:42
@ LAMBERT_AZIMUTHAL_EQUAL_AREA_SPHERICAL
@ LAMBERT_CONIC_CONFORMAL_2SP
@ LAMBERT_AZIMUTHAL_EQUAL_AREA
@ LAMBERT_CYLINDRICAL_EQUAL_AREA_SPHERICAL
@ POLAR_STEREOGRAPHIC_VARIANT_C
@ LAMBERT_CONIC_NEAR_CONFORMAL
@ KROVAK_MODIFIED_NORTH_ORIENTATED
@ KROVAK_NORTH_ORIENTATED
@ EQUIDISTANT_CYLINDRICAL_SPHERICAL
@ EQUIDISTANT_CYLINDRICAL
@ POLAR_STEREOGRAPHIC_VARIANT_A
@ TRANSVERSE_MERCATOR_SOUTH_ORIENTATED
@ POLAR_STEREOGRAPHIC_VARIANT_B
@ POPULAR_VISUALISATION_PSEUDO_MERCATOR
@ HYPERBOLIC_CASSINI_SOLDNER
@ LAMBERT_CYLINDRICAL_EQUAL_AREA
@ HOTINE_OBLIQUE_MERCATOR_VARIANT_A
@ LAMBERT_CONIC_CONFORMAL_2SP_BELGIUM
@ LAMBERT_CONIC_CONFORMAL_WEST_ORIENTATED
@ LABORDE_OBLIQUE_MERCATOR
@ TRANSVERSE_MERCATOR_ZONED_GRID_SYSTEM
@ MODIFIED_AZIMUTHAL_EQUIDISTANT
@ LAMBERT_CONIC_CONFORMAL_2SP_MICHIGAN
@ LAMBERT_CONIC_CONFORMAL_1SP
@ HOTINE_OBLIQUE_MERCATOR_VARIANT_B
Axis_direction
Coordinate axis direction.
Definition: srs.h:86
Srs_type
Spatial reference system type.
Definition: srs.h:39
std::uint32_t srid_t
A spatial reference system ID (SRID).
Definition: srid.h:33
const char * begin(const char *const c)
Definition: base64.h:44
Definition: wkt_parser.h:118
Definition: wkt_parser.h:142