diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-08-26 21:44:21 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-08-26 21:44:21 +0200 |
| commit | 10a30bb539be1afb25952b19af8bbe72e1b13b56 (patch) | |
| tree | 88caf55ae18c5fc3e73cfcddf5679d5af78e3f0e /test/cli/testvarious | |
| parent | ae70b26b9cbae85a38d5b26533ba06da0ea13940 (diff) | |
| download | PROJ-10a30bb539be1afb25952b19af8bbe72e1b13b56.tar.gz PROJ-10a30bb539be1afb25952b19af8bbe72e1b13b56.zip | |
Fix 6.0 regression regarding +init=epsg:4326 +over +to +init=epsg:3857 +over with longitudes outside of [-180,180]
Diffstat (limited to 'test/cli/testvarious')
| -rwxr-xr-x | test/cli/testvarious | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/cli/testvarious b/test/cli/testvarious index 836158ca..6c00ba13 100755 --- a/test/cli/testvarious +++ b/test/cli/testvarious @@ -985,6 +985,18 @@ $EXE -f %.7f -I +proj=longlat +ellps=GRS80 +to +proj=ob_tran +o_proj=longlat +lo -122 46 EOF +echo "##############################################################" >> ${OUT} +echo "Check +init=epsg:4326 +over +to +init=epsg:3857 +over" >> ${OUT} +$EXE -f %.7f +init=epsg:4326 +over +to +init=epsg:3857 +over -E >>${OUT} <<EOF +-181 49 +EOF + +echo "##############################################################" >> ${OUT} +echo "Check +proj=longlat +over +datum=WGS84 +to proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +over" >> ${OUT} +$EXE -f %.7f +proj=longlat +over +datum=WGS84 +to proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +over -E >>${OUT} <<EOF +-181 49 +EOF + # Done! # do 'diff' with distribution results |
