diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-06-21 22:43:14 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-06-21 23:40:50 +0200 |
| commit | 4e36fd85b9bd9f80c83d7f262c5a8fb3ae44cde2 (patch) | |
| tree | c787ebfba75f36bc576934dde44a1964df94c3ae /test | |
| parent | 8ee389a6f44fb9ac0380ddbd3706b9354269d62f (diff) | |
| download | PROJ-4e36fd85b9bd9f80c83d7f262c5a8fb3ae44cde2.tar.gz PROJ-4e36fd85b9bd9f80c83d7f262c5a8fb3ae44cde2.zip | |
Add support for deg, rad and grad in unitconvert (fixes #1052), and document that it supports numeric factors (refs #1053)
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/unitconvert.gie | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/gie/unitconvert.gie b/test/gie/unitconvert.gie index 30d9dc0b..ff6dc96f 100644 --- a/test/gie/unitconvert.gie +++ b/test/gie/unitconvert.gie @@ -25,4 +25,15 @@ tolerance 0.1 accept 1 1 1 1 expect 0.5 0.5 1 1 +operation proj=unitconvert xy_in=deg xy_out=rad +tolerance 0.000000000001 +accept 1 1 1 1 +expect 0.017453292519943296 0.017453292519943296 1 1 + +operation proj=unitconvert xy_in=grad xy_out=deg +tolerance 0.000000000001 +accept 50 50 1 1 +expect 45 45 1 1 + + </gie> |
