diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-06-22 23:52:28 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-06-22 23:52:28 +0200 |
| commit | 5771ac6d4f0ce28c6f9602af2a43ab900edda32c (patch) | |
| tree | 8bd76045619557d07e469ddd5e430240569bfdc5 /test/cli/testvarious | |
| parent | 34284cb9b65e7a5577dafb3e2392555a8f14240f (diff) | |
| download | PROJ-5771ac6d4f0ce28c6f9602af2a43ab900edda32c.tar.gz PROJ-5771ac6d4f0ce28c6f9602af2a43ab900edda32c.zip | |
+proj=ob_tran +o_proj=longlat: set right unit to PJ_IO_UNITS_WHATEVER so as to be able to chain with unitconvert (fixes #1525)
Diffstat (limited to 'test/cli/testvarious')
| -rwxr-xr-x | test/cli/testvarious | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/cli/testvarious b/test/cli/testvarious index 2e2d854c..836158ca 100755 --- a/test/cli/testvarious +++ b/test/cli/testvarious @@ -975,6 +975,16 @@ $EXE -f %.7f ITRF2000 ITRF1993 -E >> ${OUT} <<EOF 59.4967 -117.61748 329.396 1988 EOF +echo "##############################################################" >> ${OUT} +echo "Check ob_tran with o_proj=longlat (#1525)" >> ${OUT} +$EXE -f %.7f +proj=longlat +ellps=GRS80 +to +proj=ob_tran +o_proj=longlat +lon_0=10 +o_lat_p=90 +ellps=GRS80 -E >>${OUT} <<EOF +-122 46 +EOF +echo "Test inverse handling" >> ${OUT} +$EXE -f %.7f -I +proj=longlat +ellps=GRS80 +to +proj=ob_tran +o_proj=longlat +lon_0=10 +o_lat_p=90 +ellps=GRS80 -E >>${OUT} <<EOF +-122 46 +EOF + # Done! # do 'diff' with distribution results |
