1#ifndef SQL_GIS_SRS_SRS_H_INCLUDED
2#define SQL_GIS_SRS_SRS_H_INCLUDED
204namespace wkt_parser {
264 assert(axis >= 0 && axis <= 1);
284namespace wkt_parser {
341 assert(axis >= 0 && axis <= 1);
2042 Spatial_reference_system **
result);
An Albers Equal Area projection, alias Albers (EPSG 9822).
Definition: srs.h:1613
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1945
double m_standard_parallel_1
Latitude of the first parallel of intersection between the cone and the ellipsoid (EPSG 8823).
Definition: srs.h:1623
double m_false_northing
Northing value assigned to the false origin (EPSG 8827).
Definition: srs.h:1630
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:1962
double m_false_easting
Easting value assigned to the false origin (EPSG 8826).
Definition: srs.h:1628
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1641
Albers_equal_area_srs()
Definition: srs.h:1633
double m_latitude_of_origin
Latitude of the false origin, at which the false easting and northing is defined (EPSG 8821).
Definition: srs.h:1617
double m_longitude_of_origin
Longitude (central meridian) of the false origin, at which the false easting and northing is defined ...
Definition: srs.h:1620
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1979
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1647
double m_standard_parallel_2
Latitude of the second parallel of intersection between the cone and the ellipsoid (EPSG 8824).
Definition: srs.h:1626
An American Polyconic projection, alias Polyconic (EPSG 9818).
Definition: srs.h:1492
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:1818
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1500
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1517
American_polyconic_srs()
Definition: srs.h:1505
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1502
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1803
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1498
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1495
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1511
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1833
A Bonne (South Orientated) projection (EPSG 9828).
Definition: srs.h:1736
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:2098
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1755
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1744
Bonne_south_orientated_srs()
Definition: srs.h:1749
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1761
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1746
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:2113
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:2083
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1742
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1739
A Cassini-Soldner projection, alias Cassini (EPSG 9806).
Definition: srs.h:1046
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:1302
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1317
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1287
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1065
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1071
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1049
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1052
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1054
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1056
Cassini_soldner_srs()
Definition: srs.h:1059
A Colombia Urban projection(EPSG 1052).
Definition: srs.h:804
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:812
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:814
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:826
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:832
Colombia_urban_srs()
Definition: srs.h:819
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:810
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:994
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:1010
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:807
double m_projection_plane_height_at_origin
The height of the projection plane at its origin (EPSG 1039).
Definition: srs.h:816
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1027
An Equidistant Cylindrical (Spherical) projection (EPSG 1029).
Definition: srs.h:497
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:728
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:504
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:743
double m_standard_parallel_1
Latitude of the first parallel of intersection between the cone and the ellipsoid (EPSG 8823).
Definition: srs.h:501
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:758
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:523
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:508
Equidistant_cylindrical_spherical_srs()
Definition: srs.h:511
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:506
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:517
An Equidistant Cylindrical projection (EPSG 1028).
Definition: srs.h:461
Equidistant_cylindrical_srs()
Definition: srs.h:475
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:470
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:487
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:683
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:468
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:713
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:698
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:481
double m_standard_parallel_1
Latitude of the first parallel of intersection between the cone and the ellipsoid (EPSG 8823).
Definition: srs.h:465
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:472
A geographic (longitude-latitude) spatial reference system.
Definition: srs.h:209
Axis_direction m_axes[2]
Direction of x and y axis, respectively.
Definition: srs.h:224
Axis_direction axis_direction(const int axis) const override
Retrieve the axis direction of the spatial reference system.
Definition: srs.h:263
double m_prime_meridian
Longitude of the prime meridian relative to the Greenwich Meridian (measured in m_angular_unit).
Definition: srs.h:220
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:241
double m_towgs84[7]
Bursa Wolf transformation parameters used to transform to WGS84.
Definition: srs.h:216
double semi_major_axis() const
Definition: srs.h:270
std::string partial_proj4_parameters() const
Definition: srs.cc:506
Geographic_srs()
Definition: srs.h:229
Srs_type srs_type() const override
Get the type of spatial reference system: projected, geometric, etc.
Definition: srs.h:239
double linear_unit() const override
Retrieve how long the unit of the spatial reference system is in meters.
Definition: srs.h:274
double m_angular_unit
Conversion factor for the angular unit relative to radians.
Definition: srs.h:222
bool is_wgs84_based() const override
Checks if this SRS is WGS 84 or a projection based on WGS 84.
Definition: srs.h:261
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:549
bool m_is_wgs84
Whether this SRS is WGS 84.
Definition: srs.h:226
double inverse_flattening() const
Definition: srs.h:272
virtual bool init(srid_t srid, wkt_parser::Geographic_cs *g)
Initialize from parse tree.
Definition: srs.cc:341
double angular_unit() const override
Retrieve the angular unit relative to radians.
Definition: srs.h:275
double m_semi_major_axis
Semi-major axis of ellipsoid.
Definition: srs.h:212
double prime_meridian() const override
Retrieve the prime meridian relative to Greenwich.
Definition: srs.h:277
bool has_towgs84() const override
Checks if this SRS has valid Bursa Wolf parameters.
Definition: srs.h:256
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:451
double m_inverse_flattening
Inverse flattening of ellipsoid.
Definition: srs.h:214
A Guam Projection projection (EPSG 9831).
Definition: srs.h:1845
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1848
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:2248
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1851
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:2233
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1855
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1870
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:2218
Guam_projection_srs()
Definition: srs.h:1858
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1864
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1853
A Hotine Oblique Mercator (variant A) projection, alias Rectified skew orthomorphic (EPSG 9812).
Definition: srs.h:1276
double m_azimuth
Direction east of north of the great circle which is the central line (EPSG 8813).
Definition: srs.h:1286
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:1290
double m_latitude_of_center
Latitude of the point at which the azimuth of the central line is defined (EPSG 8811).
Definition: srs.h:1280
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1564
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1297
double m_longitude_of_center
Longitude of the point at which the azimuth of the central line is defined (EPSG 8812).
Definition: srs.h:1283
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1295
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1309
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1600
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:1293
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1315
Hotine_oblique_mercator_variant_a_srs()
Definition: srs.h:1300
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:1582
A Hotine Oblique Mercator (variant B) projection, alias Rectified skew orthomorphic (EPSG 9815).
Definition: srs.h:1370
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:1387
double m_azimuth
Direction east of north of the great circle which is the central line (EPSG 8813).
Definition: srs.h:1380
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1705
double m_false_easting
Easting value assigned to the projection center (EPSG 8816).
Definition: srs.h:1389
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1669
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:1687
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1403
double m_latitude_of_center
Latitude of the point at which the azimuth of the central line is defined (EPSG 8811).
Definition: srs.h:1374
double m_false_northing
Northing value assigned to the projection center (EPSG 8817).
Definition: srs.h:1391
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:1384
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1409
double m_longitude_of_center
Longitude of the point at which the azimuth of the central line is defined (EPSG 8812).
Definition: srs.h:1377
Hotine_oblique_mercator_variant_b_srs()
Definition: srs.h:1394
A Hyperbolic Cassini-Soldner projection (EPSG 9833).
Definition: srs.h:1915
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1925
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1934
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:2308
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:2338
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:2323
Hyperbolic_cassini_soldner_srs()
Definition: srs.h:1928
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1918
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1923
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1940
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1921
A Krovak Modified (North Orientated) projection (EPSG 1043).
Definition: srs.h:671
double m_pseudo_standard_parallel_1
Latitude of the parallel on which the projection is based.
Definition: srs.h:688
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:693
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:749
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:743
double m_c1
Coefficient C1 used in polynomial transformation (EPSG 1026).
Definition: srs.h:701
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:691
double m_c3
Coefficient C3 used in polynomial transformation (EPSG 1028).
Definition: srs.h:705
double m_latitude_of_center
Latitude of the point at which the azimuth of the central line is defined (EPSG 8811).
Definition: srs.h:675
double m_longitude_of_center
The meridian along which the northing axis increments and also across which parallels of latitude inc...
Definition: srs.h:679
double m_c10
Coefficient C10 used in polynomial transformation (EPSG 1035).
Definition: srs.h:719
double m_evaluation_point_ordinate_1
The first ordinate of the evaluation point (EPSG 8617).
Definition: srs.h:697
double m_c8
Coefficient C8 used in polynomial transformation (EPSG 1033).
Definition: srs.h:715
double m_c9
Coefficient C9 used in polynomial transformation (EPSG 1034).
Definition: srs.h:717
double m_c6
Coefficient C6 used in polynomial transformation (EPSG 1031).
Definition: srs.h:711
Krovak_modified_north_orientated_srs()
Definition: srs.h:722
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:884
double m_evaluation_point_ordinate_2
The second ordinate of the evaluation point(EPSG 8618).
Definition: srs.h:699
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:695
double m_c5
Coefficient C5 used in polynomial transformation (EPSG 1030).
Definition: srs.h:709
double m_azimuth
The rotation applied to spherical coordinates, measured on the conformal sphere in the plane of the m...
Definition: srs.h:683
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:914
double m_c2
Coefficient C2 used in polynomial transformation (EPSG 1027).
Definition: srs.h:703
double m_c4
Coefficient C4 used in polynomial transformation (EPSG 1029).
Definition: srs.h:707
double m_c7
Coefficient C7 used in polynomial transformation (EPSG 1032).
Definition: srs.h:713
A Krovak Modified projection (EPSG 1042).
Definition: srs.h:585
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:609
double m_c2
Coefficient C2 used in polynomial transformation (EPSG 1027).
Definition: srs.h:617
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:607
double m_azimuth
The rotation applied to spherical coordinates, measured on the conformal sphere in the plane of the m...
Definition: srs.h:597
double m_c3
Coefficient C3 used in polynomial transformation (EPSG 1028).
Definition: srs.h:619
Krovak_modified_srs()
Definition: srs.h:636
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:663
double m_pseudo_standard_parallel_1
Latitude of the parallel on which the projection is based.
Definition: srs.h:602
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:605
double m_c10
Coefficient C10 used in polynomial transformation (EPSG 1035).
Definition: srs.h:633
double m_c5
Coefficient C5 used in polynomial transformation (EPSG 1030).
Definition: srs.h:623
double m_c1
Coefficient C1 used in polynomial transformation (EPSG 1026).
Definition: srs.h:615
double m_c6
Coefficient C6 used in polynomial transformation (EPSG 1031).
Definition: srs.h:625
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:657
double m_evaluation_point_ordinate_2
The second ordinate of the evaluation point(EPSG 8618).
Definition: srs.h:613
double m_c4
Coefficient C4 used in polynomial transformation (EPSG 1029).
Definition: srs.h:621
double m_c8
Coefficient C8 used in polynomial transformation (EPSG 1033).
Definition: srs.h:629
double m_c7
Coefficient C7 used in polynomial transformation (EPSG 1032).
Definition: srs.h:627
double m_longitude_of_center
The meridian along which the northing axis increments and also across which parallels of latitude inc...
Definition: srs.h:593
double m_evaluation_point_ordinate_1
The first ordinate of the evaluation point (EPSG 8617).
Definition: srs.h:611
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:857
double m_latitude_of_center
Latitude of the point at which the azimuth of the central line is defined (EPSG 8811).
Definition: srs.h:589
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:827
double m_c9
Coefficient C9 used in polynomial transformation (EPSG 1034).
Definition: srs.h:631
A Krovak (North Orientated) projection (EPSG 1041).
Definition: srs.h:533
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:555
double m_pseudo_standard_parallel_1
Latitude of the parallel on which the projection is based.
Definition: srs.h:550
double m_latitude_of_center
Latitude of the point at which the azimuth of the central line is defined (EPSG 8811).
Definition: srs.h:537
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:575
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:557
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:809
double m_azimuth
The rotation applied to spherical coordinates, measured on the conformal sphere in the plane of the m...
Definition: srs.h:545
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:569
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:553
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:773
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:791
Krovak_north_orientated_srs()
Definition: srs.h:560
double m_longitude_of_center
The meridian along which the northing axis increments and also across which parallels of latitude inc...
Definition: srs.h:541
A Krovak projection (EPSG 9819).
Definition: srs.h:1527
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1881
double m_azimuth
The rotation applied to spherical coordinates, measured on the conformal sphere in the plane of the m...
Definition: srs.h:1539
double m_latitude_of_center
Latitude of the point at which the azimuth of the central line is defined (EPSG 8811).
Definition: srs.h:1531
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1848
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1551
double m_longitude_of_center
The meridian along which the northing axis increments and also across which parallels of latitude inc...
Definition: srs.h:1535
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1567
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1549
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:1865
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:1547
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1563
Krovak_srs()
Definition: srs.h:1554
double m_pseudo_standard_parallel_1
Latitude of the parallel on which the projection is based.
Definition: srs.h:1544
A Laborde Oblique Mercator projection (EPSG 9813).
Definition: srs.h:1325
double m_longitude_of_center
Longitude of the point at which the azimuth of the central line is defined (EPSG 8812).
Definition: srs.h:1332
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1342
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1340
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1359
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1618
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1353
double m_latitude_of_center
Latitude of the point at which the azimuth of the central line is defined (EPSG 8811).
Definition: srs.h:1329
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:1338
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1652
double m_azimuth
Direction east of north of the great circle which is the central line (EPSG 8813).
Definition: srs.h:1335
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:1635
Laborde_oblique_mercator_srs()
Definition: srs.h:1345
A Lambert Azimuthal Equal Area (Spherical) projection (EPSG 1027).
Definition: srs.h:426
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:451
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:667
Lambert_azimuthal_equal_area_spherical_srs()
Definition: srs.h:439
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:652
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:429
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:436
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:445
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:637
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:432
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:434
A Lambert Azimuthal Equal Area projection, alias Lambert Equal Area or LAEA (EPSG 9820).
Definition: srs.h:1578
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1900
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1603
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1584
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1586
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1588
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1930
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:1915
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1597
Lambert_azimuthal_equal_area_srs()
Definition: srs.h:1591
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1581
A Lambert Cylindrical Equal Area (Spherical) projection (EPSG 9834).
Definition: srs.h:1951
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1977
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1962
Lambert_cylindrical_equal_area_spherical_srs()
Definition: srs.h:1965
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1960
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1958
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:2383
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:2353
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1971
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:2368
double m_standard_parallel_1
Latitude of the first parallel of intersection between the cone and the ellipsoid (EPSG 8823).
Definition: srs.h:1955
A Lambert Cylindrical Equal Area projection (EPSG 9835).
Definition: srs.h:1987
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:2414
Lambert_cylindrical_equal_area_srs()
Definition: srs.h:2001
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1996
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1994
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:2399
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1998
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:2429
double m_standard_parallel_1
Latitude of the first parallel of intersection between the cone and the ellipsoid (EPSG 8823).
Definition: srs.h:1991
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:2007
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:2013
A Mercator (variant A) projection, alias Mercator (EPSG 9804).
Definition: srs.h:971
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:974
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:984
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:1210
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:994
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1194
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:982
Mercator_variant_a_srs()
Definition: srs.h:987
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:977
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1000
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1226
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:980
A Mercator (variant B) projection, alias Mercator (EPSG 9805).
Definition: srs.h:1010
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1242
double m_standard_parallel_1
Latitude of the first parallel of intersection between the cone and the ellipsoid (EPSG 8823).
Definition: srs.h:1014
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1019
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1017
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:1257
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1036
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1272
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1021
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1030
Mercator_variant_b_srs()
Definition: srs.h:1024
A Modified Azimuthal Equidistant projection (EPSG 9832).
Definition: srs.h:1880
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1905
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:2293
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1899
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1886
Modified_azimuthal_equidistant_srs()
Definition: srs.h:1893
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1890
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:2263
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1888
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:2278
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1883
A New Zealand Map Grid projection (EPSG 9811).
Definition: srs.h:1240
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1265
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1524
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1246
New_zealand_map_grid_srs()
Definition: srs.h:1253
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1259
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1250
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:1539
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1554
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1243
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1248
An Oblique stereographic projection, alias Double stereographic (EPSG 9809).
Definition: srs.h:1162
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:1444
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1175
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1173
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:1171
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1168
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1428
Oblique_stereographic_srs()
Definition: srs.h:1178
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1185
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1165
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1460
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1191
A Polar Stereographic (variant A) projection (EPSG 9810).
Definition: srs.h:1201
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1508
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1207
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1204
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:1492
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:1210
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1224
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1476
Polar_stereographic_variant_a_srs()
Definition: srs.h:1217
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1230
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1212
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1214
A Polar Stereographic (variant B) projection (EPSG 9829).
Definition: srs.h:1771
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1781
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:2158
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1798
double m_longitude_of_origin
The meridian along which the northing axis increments and also across which parallels of latitude inc...
Definition: srs.h:1779
Polar_stereographic_variant_b_srs()
Definition: srs.h:1786
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1792
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:2128
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:2143
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1783
double m_standard_parallel
The parallel on which the scale factor is defined to be unity (EPSG 8832).
Definition: srs.h:1775
A Polar Stereographic (variant C) projection (EPSG 9830).
Definition: srs.h:1808
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1835
double m_longitude_of_origin
The meridian along which the northing axis increments and also across which parallels of latitude inc...
Definition: srs.h:1816
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:2203
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:2188
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1829
double m_false_northing
Northing value assigned to the false origin (EPSG 8827).
Definition: srs.h:1820
double m_standard_parallel
The parallel on which the scale factor is defined to be unity (EPSG 8832).
Definition: srs.h:1812
double m_false_easting
Easting value assigned to the false origin (EPSG 8826).
Definition: srs.h:1818
Polar_stereographic_variant_c_srs()
Definition: srs.h:1823
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:2173
A Popular Visualisation Pseudo Mercator projection (EPSG 1024).
Definition: srs.h:391
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:401
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:399
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:587
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:416
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:605
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:620
Popular_visualisation_pseudo_mercator_srs()
Definition: srs.h:404
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:410
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:394
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:397
A projected spatial reference system.
Definition: srs.h:289
Axis_direction axis_direction(const int axis) const override
Retrieve the axis direction of the spatial reference system.
Definition: srs.h:340
bool has_towgs84() const override
Checks if this SRS has valid Bursa Wolf parameters.
Definition: srs.h:354
double angular_unit() const override
Retrieve the angular unit relative to radians.
Definition: srs.h:346
bool is_wgs84_based() const override
Checks if this SRS is WGS 84 or a projection based on WGS 84.
Definition: srs.h:356
Srs_type srs_type() const override
Get the type of spatial reference system: projected, geometric, etc.
Definition: srs.h:320
double m_linear_unit
Converson factor for the linar unit relative to meters.
Definition: srs.h:294
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:495
std::string partial_proj4_parameters() const
Definition: srs.h:360
Axis_direction m_axes[2]
Direction of x and y axis, respectively.
Definition: srs.h:296
Geographic_srs m_geographic_srs
The geographic SRS this SRS is projected from.
Definition: srs.h:292
double prime_meridian() const override
Retrieve the prime meridian relative to Greenwich.
Definition: srs.h:350
Projected_srs()
Definition: srs.h:316
double linear_unit() const override
Retrieve how long the unit of the spatial reference system is in meters.
Definition: srs.h:345
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:559
Superclass for all spatial reference systems.
Definition: srs.h:95
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:189
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:1122
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:1396
Transverse_mercator_south_orientated_srs()
Definition: srs.h:1138
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1151
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1128
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1125
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1133
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1135
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1412
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1145
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:1131
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1380
A Transverse Mercator projection, alias Gauss-Boaga, Gauss-Krüger or TM (EPSG 9807).
Definition: srs.h:1082
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:1091
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:1348
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1095
double m_longitude_of_origin
Longitude chosen as origin of x-coordinates (central meridian) (EPSG 8802).
Definition: srs.h:1088
Transverse_mercator_srs()
Definition: srs.h:1098
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1111
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1093
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1332
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1105
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:1364
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1085
A Transverse Mercator Zoned Grid System projection (EPSG 9824).
Definition: srs.h:1657
double m_false_easting
Value added to x-coordinates (EPSG 8806).
Definition: srs.h:1670
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1689
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:2013
Transverse_mercator_zoned_grid_system_srs()
Definition: srs.h:1675
double m_latitude_of_origin
Latitude chosen as origin of y-coordinates (EPSG 8801).
Definition: srs.h:1660
double m_zone_width
The longitude width of a zone (EPSG 8831).
Definition: srs.h:1665
double m_initial_longitude
The longitude of the western limit of the first zone (EPSG 8830).
Definition: srs.h:1663
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:1668
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1683
std::string proj4_parameters() const override
Retrieve the proj4 parameter string.
Definition: srs.cc:2030
double m_false_northing
Value added to y-coordinates (EPSG 8807).
Definition: srs.h:1672
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1996
A Tunisia Mining Grid projection (EPSG 9816).
Definition: srs.h:1419
double m_longitude_of_origin
Longitude (central meridian) of the false origin, at which the false easting and northing is defined ...
Definition: srs.h:1426
Tunisia_mining_grid_srs()
Definition: srs.h:1433
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:1439
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:1445
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:1739
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:1724
double m_false_northing
Northing value assigned to the false origin (EPSG 8827).
Definition: srs.h:1430
double m_latitude_of_origin
Latitude of the false origin, at which the false easting and northing is defined (EPSG 8821).
Definition: srs.h:1423
double m_false_easting
Easting value assigned to the false origin (EPSG 8826).
Definition: srs.h:1428
A projected SRS of an unknown projection type.
Definition: srs.h:372
Projection_type projection_type() const override
Get the map projection method.
Definition: srs.h:380
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:384
bool init(srid_t srid, wkt_parser::Projected_cs *p) override
Initialize from parse tree.
Definition: srs.cc:582
Spatial_reference_system * clone() override
Clone the object.
Definition: srs.h:374
const char * p
Definition: ctype-mb.cc:1236
static std::string to_string(const LEX_STRING &str)
Definition: lex_string.h:49
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:2596
Projection_type
Projection method. Values are EPSG codes.
Definition: srs.h:41
@ 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:85
Srs_type
Spatial reference system type.
Definition: srs.h:38
std::uint32_t srid_t
A spatial reference system ID (SRID).
Definition: srid.h:32
Cursor end()
A past-the-end Cursor.
Definition: rules_table_service.cc:191
Definition: wkt_parser.h:117
Definition: wkt_parser.h:141