diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-04-10 17:58:04 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-04-10 19:17:39 +0200 |
| commit | efef14e274a028b08dbdc5b021d0b8189a63a39c (patch) | |
| tree | 171b42f2c0507c3ef2bf7b9356269379cbe0de11 /src | |
| parent | 0db805dfab85d8ec6a6ad95a7287624872047c1d (diff) | |
| download | PROJ-efef14e274a028b08dbdc5b021d0b8189a63a39c.tar.gz PROJ-efef14e274a028b08dbdc5b021d0b8189a63a39c.zip | |
Add UnitOfMeasure::FOOT and US_FOOT
Diffstat (limited to 'src')
| -rw-r--r-- | src/iso19111/static.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/iso19111/static.cpp b/src/iso19111/static.cpp index d099cd6c..e4467882 100644 --- a/src/iso19111/static.cpp +++ b/src/iso19111/static.cpp @@ -317,6 +317,17 @@ const UnitOfMeasure UnitOfMeasure::METRE("metre", 1.0, UnitOfMeasure::Type::LINEAR, Identifier::EPSG, "9001"); +/** \brief Foot, unit of measure of type LINEAR. */ +const UnitOfMeasure UnitOfMeasure::FOOT("foot", 0.3048, + UnitOfMeasure::Type::LINEAR, + Identifier::EPSG, "9002"); + +/** \brief US survey foot, unit of measure of type LINEAR. */ +const UnitOfMeasure UnitOfMeasure::US_FOOT("US survey foot", + 0.304800609601219241184, + UnitOfMeasure::Type::LINEAR, + Identifier::EPSG, "9003"); + /** \brief Degree, unit of measure of type ANGULAR. */ const UnitOfMeasure UnitOfMeasure::DEGREE("degree", M_PI / 180., UnitOfMeasure::Type::ANGULAR, |
