diff options
| -rwxr-xr-x | scripts/create_c_api_projections.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create_c_api_projections.py b/scripts/create_c_api_projections.py index 1d6c638d..1682b160 100755 --- a/scripts/create_c_api_projections.py +++ b/scripts/create_c_api_projections.py @@ -171,7 +171,7 @@ for sectiondef in compounddef.iter('sectiondef'): test_cppfile.write(", 0") if has_angle: test_cppfile.write(", \"Degree\", 0.0174532925199433") - if has_angle: + if has_linear: test_cppfile.write(", \"Metre\", 1.0") test_cppfile.write(");\n") test_cppfile.write(" ObjectKeeper keeper_projCRS(projCRS);\n") |
