diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-11-22 00:01:10 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-11-22 00:01:10 +0100 |
| commit | 0516d857b056df560f256dbe8ca9e7b1282b4d17 (patch) | |
| tree | 0e8d34136110d8c22d7c8e48424269d6da34d213 /scripts | |
| parent | 8394cacb65cf0b28d75d319f1979f6c2a3cfd7d1 (diff) | |
| download | PROJ-0516d857b056df560f256dbe8ca9e7b1282b4d17.tar.gz PROJ-0516d857b056df560f256dbe8ca9e7b1282b4d17.zip | |
create_c_api_projections.py: fix for conversions without linear parameters [ci skip]
Diffstat (limited to 'scripts')
| -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") |
