aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-22ConcatenatedOperation::fixStepsDirection(): fix potential nullptr dereferenceEven Rouault
2021-04-20Merge pull request #2680 from jjimenezshaw/run-clang-formatEven Rouault
run reformat_cpp.sh to fix some leftovers
2021-04-20run reformat_cpp.sh to fix some leftoversJavier Jimenez Shaw
2021-04-20Merge pull request #2678 from rouault/revert_ebe3425bfEven Rouault
Revert "proj_create_crs_to_crs_from_pj(): do not use PROJ_SPATIAL_CRITERION_PARTIAL_INTERSECTION if area is specified"
2021-04-20Revert "proj_create_crs_to_crs_from_pj(): do not use ↵Even Rouault
PROJ_SPATIAL_CRITERION_PARTIAL_INTERSECTION if area is specified" This reverts commit ebe3425bf66287e004958eb53976d3837f88b9e1. It was found to break gdalwarp usage in https://github.com/OSGeo/gdal/issues/3695 when passing a bbox that is quite large.
2021-04-18Merge pull request #2677 from rouault/change_name_of_urn_combined_referencesEven Rouault
createFromUserInput(): change name of CRS built from URN combined references to match the convention of EPSG projected CRS
2021-04-18Merge pull request #2676 from rouault/fix_geog_to_geog_deprecatedEven Rouault
createOperations(): fix Geog to Geog when one is deprecated (fix master regression)
2021-04-18createFromUserInput(): change name of CRS built from URN combined references ↵Even Rouault
to match the convention of EPSG projected CRS
2021-04-18createOperations(): fix Geog to Geog when one is deprecated (fix master ↵Even Rouault
regression)
2021-04-18Added proj_get_celestial_body_list_from_database (#2674)Alan D. Snow
Closes #2667
2021-04-15Merge pull request #2672 from rouault/utm_invalid_zoneEven Rouault
utm: error out when value of +zone= is not an integer (fixes #2671)
2021-04-15utm: error out when value of +zone= is not an integer (fixes #2671)Even Rouault
2021-04-13createFromUserInput(): parse compound id with two authorities, like ↵Javier Jimenez Shaw
ESRI:103668+EPSG:5703 (#2669)
2021-04-13Merge pull request #2668 from rouault/reformat_cpp_dockerEven Rouault
reformat_cpp.sh: run inside Docker image if clang-format is not at version 10
2021-04-13reformat_cpp.sh: run inside Docker image if clang-format is not at version 10Even Rouault
2021-04-12Merge pull request #2662 from rouault/celestial_bodyEven Rouault
Add proj_get_celestial_body_name() and …
2021-04-12Add proj_get_celestial_body_name() and make ↵Even Rouault
proj_get_crs_info_list_from_database() filter on and return celestial body name
2021-04-12Merge pull request #2659 from rouault/fix_2603Even Rouault
CRS::normalizeForVisualization(): propagate domains/extent of original CRS (fixes #2603)
2021-04-11Merge pull request #2664 from rouault/improve_projinfo_listcrs_areaEven Rouault
projinfo --list-crs --area: make it work when multiple areas matches the specified name
2021-04-11projinfo --list-crs --area: make it work when multiple areas matches the ↵Even Rouault
specified name
2021-04-11Reformatting fixEven Rouault
2021-04-11projinfo: add option --list-crs (#2663)Javier Jimenez Shaw
2021-04-11Merge pull request #2660 from rouault/getCRSInfoList_deterministic_result_orderEven Rouault
getCRSInfoList(): make result order deterministic (by increasing auth_name, code)
2021-04-11projinfo: add a --normalize-axis-order undocument switchEven Rouault
2021-04-11CRS::normalizeForVisualization(): propagate domains/extent of original CRS ↵Even Rouault
(fixes #2603)
2021-04-11createFromUserInput(): support URN:OGC:DEF:CRS:OGC:1.3:CRS84Even Rouault
2021-04-10getCRSInfoList(): make result order deterministic (by increasing auth_name, ↵Even Rouault
code)
2021-04-10Merge pull request #2657 from rouault/cmake_test_cliEven Rouault
CMake: for test/cli, generate the output files in /test/cli like autoconf builds
2021-04-10Doc: remove mention of k_0 and lat_ts in aeqd projection. They are not used. ↵Even Rouault
Fixes #2638 and fixes #2639
2021-04-10CMake: for test/cli, generate the output files in /test/cli like autoconf buildsEven Rouault
2021-04-10fix typo in commentEven Rouault
2021-04-10Merge pull request #2656 from rouault/createFromUserInput_improvementsEven Rouault
createFromUserInput(): various enhancements
2021-04-10Recognize OGC:84 as an alias of OGC:CRS84Even Rouault
2021-04-10createFromUserInput(): add support for WMS AUTO: syntaxEven Rouault
2021-04-10Add UnitOfMeasure::FOOT and US_FOOTEven Rouault
2021-04-10createFromUserInput(): add support for (legacy) urn:x-ogc:def:crs:EPSG:XXXX ↵Even Rouault
syntax
2021-04-10createFromUserInput(): add support for (legacy) urn:opengis:crs:EPSG:0:XXXX ↵Even Rouault
syntax
2021-04-10Add hard-coded definitions for OGC:AnsiDate/JulianDate/UnixTimeEven Rouault
2021-04-10createFromUserInput(): add support for OGC URLsEven Rouault
e.g: http://www.opengis.net/def/crs/EPSG/0/4326 http://www.opengis.net/def/crs-compound?1=http://www.opengis.net/def/crs/EPSG/0/4326&2=http://www.opengis.net/def/crs/EPSG/0/3855
2021-04-10projinfo: remove spurious -- in help message (master only)Even Rouault
2021-04-08Merge pull request #2647 from rouault/integer_or_textEven Rouault
Database: decrease db size
2021-04-08Merge pull request #2653 from mwtoews/ci-msys2Even Rouault
CI: build and test on MSYS2 with Windows
2021-04-07Merge pull request #2654 from rouault/show_that_pr_2616_is_wrongEven Rouault
test: add datum shift related tests for transformations crossing antimeridian
2021-04-08Drop set/export of PROJ_LIB for Windows CI runsMike Taves
2021-04-07proj_trans(): add a more expressive log messageEven Rouault
2021-04-07test: add datum shift related tests for transformations crossing antimeridianEven Rouault
If using the proposed patch in PR #2616 refreshed as, ``` diff --git a/src/4D_api.cpp b/src/4D_api.cpp index c7725d3a..3bd58a97 100644 --- a/src/4D_api.cpp +++ b/src/4D_api.cpp @@ -998,7 +998,7 @@ static void reproject_bbox(PJ* pjGeogToCrs, constexpr int XY_SIZE = N_STEPS_P1 * 4; std::vector<double> x(XY_SIZE); std::vector<double> y(XY_SIZE); - const double step_lon = (east_lon - west_lon) / N_STEPS; + const double step_lon = (((east_lon >= west_lon) ? east_lon : east_lon + 360) - west_lon) / N_STEPS; const double step_lat = (north_lat - south_lat) / N_STEPS; for( int j = 0; j <= N_STEPS; j++ ) { @@ -1244,7 +1244,7 @@ std::vector<PJCoordOperation> pj_create_prepared_operations(PJ_CONTEXT *ctx, { const bool isOffshore = areaName && strstr(areaName, "- offshore"); - if( west_lon <= east_lon ) + if( true || west_lon <= east_lon ) { op = add_coord_op_to_list(i, op, west_lon, south_lat, east_lon, north_lat, ``` we'd get an incorrect result on one point, using the 'Pulkovo 1942 to WGS 84 (16)' less accurate transformation due to mis-computation of bounding boxes. ``` --- ../test/cli/tv_out.dist 2021-04-07 22:29:02.706095239 +0200 +++ test/cli/tv_out 2021-04-07 22:29:35.809579495 +0200 @@ -499,7 +499,7 @@ ############################################################## Check that we can use a transformation spanning the antimeridian (should use Pulkovo 1942 to WGS 84 (20)) 50 179.999999999 49d59'59.36"N 179d59'52.133"W 0.000 -50 -179.999999999 49d59'59.36"N 179d59'52.133"W 0.000 +50 -179.999999999 49d59'59.422"N 179d59'52.184"W 0.000 ############################################################## Check that we can use a transformation spanning the antimeridian (should use Pulkovo 1942 to WGS 84 (20)) 5540944.47 499999.999 49d59'59.36"N 179d59'52.133"W 0.000 ```
2021-04-07Database: more thorough consistency checks on extent of coordinate operationsEven Rouault
2021-04-07CI: build and test on MSYS2 with WindowsMike Taves
2021-04-07Merge pull request #2652 from rouault/extra_consistency_checksEven Rouault
Database: extra consistency checks
2021-04-06Database: nullify auth_name, code of usage tableEven Rouault
We never select by those columns, so don't set them. Reduce from 8.4 to 7.9 MB. Upgrade the minor version of the database layout. (that database can still be read by PROJ 8.0)