From a50ebaa5241d710297b1e8d900e1b8936ec551ba Mon Sep 17 00:00:00 2001 From: Martin Desruisseaux Date: Thu, 28 Nov 2019 09:49:43 +0100 Subject: EPSG codes for YEAR and SECOND are interchanged. EPSG registry report EPSG::1040 for second and EPSG::1029 for year. --- src/iso19111/static.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/iso19111/static.cpp') diff --git a/src/iso19111/static.cpp b/src/iso19111/static.cpp index 0ed08c95..da399288 100644 --- a/src/iso19111/static.cpp +++ b/src/iso19111/static.cpp @@ -343,12 +343,12 @@ const UnitOfMeasure UnitOfMeasure::MICRORADIAN("microradian", 1e-6, /** \brief Second, unit of measure of type TIME (SI unit). */ const UnitOfMeasure UnitOfMeasure::SECOND("second", 1.0, UnitOfMeasure::Type::TIME, - Identifier::EPSG, "1029"); + Identifier::EPSG, "1040"); /** \brief Year, unit of measure of type TIME */ const UnitOfMeasure UnitOfMeasure::YEAR("year", 31556925.445, UnitOfMeasure::Type::TIME, - Identifier::EPSG, "1040"); + Identifier::EPSG, "1029"); /** \brief Metre per year, unit of measure of type LINEAR. */ const UnitOfMeasure UnitOfMeasure::METRE_PER_YEAR("metres per year", -- cgit v1.2.3