aboutsummaryrefslogtreecommitdiff
path: root/test/unit
AgeCommit message (Collapse)Author
2021-08-20Merge pull request #2818 from rouault/fix_2817Even Rouault
ConcatenatedOperation::fixStepsDirection(): fix bad chaining of steps…
2021-08-19Merge pull request #2814 from rouault/fix_2813Even Rouault
BoundCRS: accept importing/exporting in WKT2 and PROJJSON the scope/area/extent/id attributes (fixes #2813)
2021-08-16Merge pull request #2809 from rouault/preserve_proj4_crs_string_wkt2_remarksEven Rouault
WKT2 import/export: preserve PROJ.4 CRS extension string in REMARKS[]…
2021-08-16Merge pull request #2807 from rouault/fix_2804Even Rouault
createOperations(): fix missing deg<-->rad conversion when transforming with a CRS that has a fallback-to-PROJ4-string behaviour and is a BoundCRS of a GeographicCRS (fixes #2804)
2021-08-16Merge pull request #2805 from rouault/fix_2803Even Rouault
Implement promoteTo3D() / demoteTo2D() for DerivedGeographicCRS (fixes #2803)
2021-08-10Merge pull request #2795 from rouault/fix_ossfuzz_36751Even Rouault
Conversion::createUTM(): avoid integer overflow
2021-07-20Merge pull request #2782 from rouault/fix_crs_extent_use_noneEven Rouault
createOperations(): fix SourceTargetCRSExtentUse::NONE mode
2021-07-14Merge pull request #2780 from mwtoews/nlohmann_json_interface_libEven Rouault
CMake: remove external nlohmann_json from INTERFACE_LINK_LIBRARIES target
2021-07-08Merge pull request #2769 from rouault/fix_2768Even Rouault
createOperations(): make sure to associate an extent to the transform…
2021-07-01Merge pull request #2760 from rouault/fix_2759Even Rouault
test_factory.cpp: fix build, in particular on Alpine Edge (fixes #2759)
2021-06-19Database: update to EPSG v10.027Even Rouault
2021-06-10BoundCRS::identify(): avoid incompatible transformation for WKT1 / TOWGS84 ↵Even Rouault
export (fixes OSGeo/gdal#3958)
2021-06-03Check that database connection sharing properly worksEven Rouault
2021-06-03Make proj_context_set_autoclose_database() a no-op as it would defeat the ↵Even Rouault
purpose of the new database connection sharing
2021-06-03factory.cpp: preparation steps for global sqlite3* handle, but no functional ↵Even Rouault
change
2021-06-03test_c_api.cpp: avoid use of undefined .t componentEven Rouault
2021-05-27ConcatenatedOperation::fixStepsDirection(): remove recently introdued hack ↵Even Rouault
specific to EPSG:9731 now that is is deprecated
2021-05-16Database: update to EPSG v10.022Even Rouault
2021-05-12Fix export of transformation to PROJ string in a particular situation where ↵Even Rouault
CompoundCRS are involved (fixes #2720)
2021-05-04DOC: configure and add spelling wordlist; fix typos, apply Sphinx syntax (#2705)Mike Taves
2021-04-30CMake build: add a NLOHMANN_JSON_ORIGIN=auto/external/internal setting ↵Even Rouault
allowing to choose which nlohmann/json to use Co-authored-by: Mike Taves <mwtoews@gmail.com>
2021-04-24Improvements related to DerivedVerticalCRS using Change Unit and ↵Even Rouault
Height/Depth reversal methods - For instantiation from urn combined references, create a better name, using conventions of EPSG vertical CRS - For exportToWKT(), allow export in WKT < WKT2 for such DerivedVerticalCRS
2021-04-24test: test urn:ogc:def:ensemble: syntaxEven Rouault
2021-04-24Add proj_get_geoid_models_from_database() (#2681)Javier Jimenez Shaw
to list all geoid model names that apply to a vertical CRS
2021-04-23test_network.cpp: try to fix 'Please include winsock2.h before windows.h' ↵Even Rouault
warning with msys ``` In file included from D:/a/_temp/msys/msys64/mingw64/include/curl/system.h:422, from D:/a/_temp/msys/msys64/mingw64/include/curl/curl.h:38, from D:/a/PROJ/PROJ/test/unit/test_network.cpp:48: D:/a/_temp/msys/msys64/mingw64/x86_64-w64-mingw32/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h [-Wcpp] 15 | #warning Please include winsock2.h before windows.h | ^~~~~~~ ``` Seems to be what is described in https://curl.se/mail/lib-2016-12/0047.html
2021-04-23test_o.cpp: add more sensical example for DerivedVerticalCRS built from urn: ↵Even Rouault
syntax
2021-04-23Database: update to EPSG v10.019Even Rouault
Non-trivial updates: - some vertical CRS are now encoded as DerivedVerticalCRS. e.g EPSG:8228 "NAVD88 height (ft)", with base EPSG:5703 "NAVD88 height". As we don't have support in our PROJ db model for DerivedVerticalCRS, modify the import script to 'resolve' the derivation up to the original datum. - Method EPSG:1069 'Change of Vertical Unit' is no longer used. It is replaced by a generic-purpose EPSG:1104 method that doesn't take any conversion factor. And generic conversions EPSG:7812 and EPSG:7813 are now used in concatenated operations, which require code changes as well.
2021-04-20run reformat_cpp.sh to fix some leftoversJavier Jimenez Shaw
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-13createFromUserInput(): parse compound id with two authorities, like ↵Javier Jimenez Shaw
ESRI:103668+EPSG:5703 (#2669)
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-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-10Recognize OGC:84 as an alias of OGC:CRS84Even Rouault
2021-04-10createFromUserInput(): add support for WMS AUTO: syntaxEven 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-05createOperations(): make ↵Even Rouault
createBetweenGeodeticCRSWithDatumBasedIntermediates() reachable... ... and optimize its execution time by rewriting it completely. This code path was no longer triggered in tests since EPSG got a direct transformation for GDA94 to WGS 84 (G1762).
2021-04-03Add mapping between EPSG method 'Hyperbolic Cassini-Soldner' and +proj=cass ↵Even Rouault
+hyperbolic
2021-03-27Add mapping of ESRI Equal_Area projection method to EPSG (fixes #2610)Even Rouault
2021-03-20createOperations(): fix regression for the fix of #2588Even Rouault
Issue spotted by GDAL autotest suite.
2021-03-20createOperations(): fix Compound to Geog3D CRS computations in the case... ↵Even Rouault
(fixes #2588) when the source and target CRS share the same geog CRS, but the interpolation CRS of the vertical transformation isn't the same, and a Helmert transformation exists between them... For example, for "CH1903+ + EGM96" to CH1903+ 3D where the interpolation CRS is WGS84.