From be83b7dd836a94ce7cba999716f8bff1c2effac0 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 20 Jul 2021 04:28:09 +0200 Subject: createOperations(): fix SourceTargetCRSExtentUse::NONE mode Fix issue reported in https://lists.osgeo.org/pipermail/proj/2021-July/010318.html --- test/cli/testprojinfo | 4 ++++ test/cli/testprojinfo_out.dist | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'test/cli') diff --git a/test/cli/testprojinfo b/test/cli/testprojinfo index a9bbfa37..3081966b 100755 --- a/test/cli/testprojinfo +++ b/test/cli/testprojinfo @@ -78,6 +78,10 @@ echo "Testing projinfo -s EPSG:4230 -t EPSG:4258 --bbox 8,54.51,15.24,57.8 --sum $EXE -s EPSG:4230 -t EPSG:4258 --bbox 8,54.51,15.24,57.8 --summary >>${OUT} echo "" >>${OUT} +echo "Testing projinfo -s EPSG:23031 -t EPSG:4326 --bbox -13.87,34.91,-7.24,41.88 --crs-extent-use none --summary" >> ${OUT} +$EXE -s EPSG:23031 -t EPSG:4326 --bbox -13.87,34.91,-7.24,41.88 --crs-extent-use none --summary >>${OUT} +echo "" >>${OUT} + echo "Testing projinfo -s EPSG:4230 -t EPSG:4258 --area EPSG:3237 --summary" >> ${OUT} $EXE -s EPSG:4230 -t EPSG:4258 --area EPSG:3237 --summary >>${OUT} echo "" >>${OUT} diff --git a/test/cli/testprojinfo_out.dist b/test/cli/testprojinfo_out.dist index 9f2fb22b..6c3a37c4 100644 --- a/test/cli/testprojinfo_out.dist +++ b/test/cli/testprojinfo_out.dist @@ -904,6 +904,11 @@ Candidate operations found: 1 Note: using '--spatial-test intersects' would bring more results (2) EPSG:1626, ED50 to ETRS89 (4), 1.0 m, Denmark - onshore. +Testing projinfo -s EPSG:23031 -t EPSG:4326 --bbox -13.87,34.91,-7.24,41.88 --crs-extent-use none --summary +Candidate operations found: 1 +Note: using '--spatial-test intersects' would bring more results (9) +unknown id, Inverse of UTM zone 31N + ED50 to WGS 84 (42), 5 m, Portugal - mainland - offshore. + Testing projinfo -s EPSG:4230 -t EPSG:4258 --area EPSG:3237 --summary Candidate operations found: 1 Note: using '--spatial-test intersects' would bring more results (2) -- cgit v1.2.3