diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-01-01 14:31:04 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-01-01 14:31:04 +0100 |
| commit | 11f63432d39e33a04e1fb0acd8215b86f27dceb8 (patch) | |
| tree | 9abfb9af291a91912b19638b83e5bccaf6f4204c /src/transformations/deformation.cpp | |
| parent | ea73297ea426eac1dcc0133c4cd730ff029e26a8 (diff) | |
| download | PROJ-11f63432d39e33a04e1fb0acd8215b86f27dceb8.tar.gz PROJ-11f63432d39e33a04e1fb0acd8215b86f27dceb8.zip | |
deformation.cpp: check that unit in TIFF file is 'millimetres per year' which is the official name in EPSG
Diffstat (limited to 'src/transformations/deformation.cpp')
| -rw-r--r-- | src/transformations/deformation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transformations/deformation.cpp b/src/transformations/deformation.cpp index 031e9eba..eb109826 100644 --- a/src/transformations/deformation.cpp +++ b/src/transformations/deformation.cpp @@ -131,8 +131,8 @@ static bool get_grid_values(PJ* P, } } const auto unit = grid->unit(sampleE); - if( !unit.empty() && unit != "mm/year" ) { - proj_log_error(P, "deformation: Only unit=mm/year currently handled"); + if( !unit.empty() && unit != "millimetres per year" ) { + proj_log_error(P, "deformation: Only unit=millimetres per year currently handled"); return false; } |
