aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-24Add more tests for testing +omit_fwd, +omit_inv and +invinverse-fixOskari Timperi
2022-03-23Steps with omit_inv are not considered when checking if inverse pipeline ↵Oskari Timperi
operation is possible
2022-03-19Merge pull request #3123 from rouault/fix_compound_crs_nad83_csrsEven Rouault
createOperations(): fix transformation involving CompoundCRS, ToWGS84 and PROJ4_GRIDS
2022-03-18createOperations(): fix transformation involving CompoundCRS, ToWGS84 and ↵Even Rouault
PROJ4_GRIDS Fix issue reported in https://lists.osgeo.org/pipermail/gdal-dev/2022-March/055587.html
2022-03-18SingleCRS::baseIsEquivalentTo(): fix potential crash that is triggered by ↵Even Rouault
fdf5111a9a790926aacec75a07d30508a8ed9c91 changes
2022-03-17Merge pull request #3119 from rouault/compound_to_2D_crsEven Rouault
Transformation: no longer do vertical trasnformation when doing compound CRS to 2D CRS / add --3d to cs2cs
2022-03-16Merge pull request #3118 from rouault/dynamic_datum_isequivalenttoEven Rouault
Fix comparison of GeodeticRefrenceFrame vs DynamicGeodeticReferenceFrame
2022-03-16Transformation: no longer do vertical trasnformation when doing compound CRS ↵Even Rouault
to 2D CRS / add --3d to cs2cs Previously, when computing transformation between a compound CRS and a geographic/projected 2D CRS, the behaviour was similar to implicitly promoting the 2D CRS to 3D CRS in the pipeline computation logic, hence a geoid model could be applied. But note that when doing a geographic 3D to geographic/projected 2D CRS transformation, we *did* not do this implicit promotion and if a Helmert transformation existed between the datums, it was done only in 2D. So this is a bit inconsistent and triggered the comment in https://github.com/OSGeo/PROJ/issues/2318#issuecomment-1068924513 With this commit, we no longer do any vertical transformation when doing compound CRS to the 2D CRS, but just take the transformation of the horizontal part of the compound CRS to the 2D CRS. Said otherwise, NAD83+NAVD88 to NAD83 will no longer lead to the application of the geoid model. Unless you explicitly ask for the promotion NAD83 to 3D. Also related, in https://github.com/OSGeo/PROJ/issues/1563 that went to 6.3.0, I changed cs2cs to automatically promote to 3D the CRS as soon as one of them was compound, for the sake of being consistent with the past behaviour. But it then becomes difficult to predict PROJ behaviour depending on which level of it you consider... This commit undoes that and adds an explicit --3d switch to cs2cs, similarly to projinfo, to ask for promotion. Other bug fix found in the process, when using legacy syntax, +init=epsg:4979, (WGS 84 3D), the resulting CRS was 2D and not 3D.
2022-03-16Fix comparison of GeodeticRefrenceFrame vs DynamicGeodeticReferenceFrameEven Rouault
If comparing a DynamicGeodeticReferenceFrame object and its export to WKT1, which is a simple DATUM object, currently in non-strict comparison mode, we'd consider the datum to be equivalent to the dynamic datum, but not the reverse, which breaks the symmetric property of the isEquivalentTo() operation. So fix this, to consider both equivalent whatever the operand order. (in strict mode, the objects will be considered different of course) Spotted in the GDAL GeoTIFF CRS reader code: https://github.com/OSGeo/gdal/blob/f9d48bdcc8c90df20e53b5af5785f1e5d78910db/frmts/gtiff/gt_wkt_srs.cpp#L832 Do same change for vertical datum vs dynamic vertical datum.
2022-03-14Merge pull request #3111 from direvus/1483-round-to-dateKristian Evers
unitconvert: round to nearest date when converting to yyyymmdd.
2022-03-14Merge pull request #3115 from erykoff/fix-gnom-docKristian Evers
DOC: Add missing lat_0 parameter to gnomonic documentation.
2022-03-14DOC: Add missing lat_0 parameter to gnomonic documentation.Eli Rykoff
2022-03-11Rename variable per PR feedback on #3111.Brendan Jurd
2022-03-11Merge pull request #3112 from direvus/2540-doxygen-missing-funcsKristian Evers
DOCS: add missing functions from filemanager.cpp
2022-03-11DOCS: add missing functions from filemanager.cppBrendan Jurd
Add doxygen entries for: - proj_context_set_file_finder - proj_context_set_ca_bundle_path Fixes #2540
2022-03-11unitconvert: round to nearest date when converting to yyyymmdd.Brendan Jurd
This resolves an issue where converting from a low-precision decimalyear to yyyymmdd gave the wrong result, due to mjd_to_yyyymmdd() truncating away the fractional time component. This commit changes the behaviour of mjd_to_yyyymmdd() to round to the nearest date, instead of truncating. Refs #1483
2022-03-10Merge pull request #3108 from rouault/fix_3095Even Rouault
createOperations(): fix issue in transformation northing,easting projected CRS -> +proj=longlat +lon_wrap (fixes #3095)
2022-03-09Merge pull request #3099 from rouault/fix_3078Even Rouault
CMake: fix installation of proj.pc on Windows (fixes #3078)
2022-03-09createOperations(): fix issue in transformation northing,easting projected ↵Even Rouault
CRS -> +proj=longlat +lon_wrap (fixes #3095)
2022-03-09Merge pull request #3106 from rouault/update_nkg_gieEven Rouault
nkg.gie: update results due to https://github.com/OSGeo/PROJ-data/pull/79
2022-03-09windows.yml: fix issue with sqlite3 binary and vcpkgEven Rouault
2022-03-09nkg.gie: update results due to https://github.com/OSGeo/PROJ-data/pull/79Even Rouault
2022-03-09Merge pull request #3102 from rouault/fix_3076Even Rouault
Fix issues with WKT of concatenated operations (#3076)
2022-03-09Merge pull request #3103 from rouault/epsg_10_055Even Rouault
Database: update to EPSG v10.055
2022-03-09Database: update to EPSG v10.055Even Rouault
2022-03-09PROJBasedOperation PROJJSON export: issues an empty 'parameters' array if ↵Even Rouault
needed (refs #3076)
2022-03-09Fix import of WKT of concatenated operation with inverse conversion of a ↵Even Rouault
compound CRS of a projected CRS (fixes #3076)
2022-03-09Merge pull request #3098 from rouault/fix_gdal_5408Even Rouault
Fix issue when transforming from/to BoundCRS of 3D CRS with non-Green…
2022-03-08CMake: fix installation of proj.pc on Windows (fixes #3078)Even Rouault
2022-03-08Fix issue when transforming from/to BoundCRS of 3D CRS with non-Greenwhich ↵Even Rouault
prime meridian, created from WKT (fixes OSGeo/gdal#5408)
2022-03-09DOC: improve CMake integration example; remove CMake <3 detail (#3093)Mike Taves
2022-03-08Merge pull request #3087 from mwtoews/cmake-list-remove-item-fixEven Rouault
CMake: handle potentially undefined value in list function
2022-03-07CMake: handle potentially undefined value in list functionMike Taves
2022-03-07Use CMAKE_INSTALL_MANDIR to override default (#3081)Mike Taves
2022-03-06Merge pull request #3089 from rouault/fix_3077Even Rouault
Fix wrong results with SQLite 3.38.0 (fixes #3077)
2022-03-06Fix wrong results with SQLite 3.38.0 (fixes #3077)Even Rouault
2022-03-05Increase MAX_ITER so Mollweide forward projection works near the poles. (#3082)erykoff
2022-03-04CI: use `ctest --output-on-failure` option (#3084)Mike Taves
2022-03-03Also bump version number in CMakeLists.txt for 9.1.0 releaseMike Taves
2022-03-02docs: fix syntax errors on news siteKristian Evers
2022-03-01Bump version numbers in preparation for 9.1.0 releaseKristian Evers
2022-03-01Update website for 9.0 websiteKristian Evers
2022-03-01Update website forr 8.2.1 releaseKristian Evers
2022-02-23Simple SOVERSION (#3066)9.0.0Mike Taves
Co-authored-by: Bas Couwenberg <sebastic@xs4all.nl>
2022-02-23Rename "Kavraisky" to transliteration "Kavrayskiy" used by Snyder1993 (#3071)Mike Taves
2022-02-22Merge pull request #3072 from rouault/coverity_scanEven Rouault
Fix various issues found by Coverity scan
2022-02-22geog3DToVertTryThroughGeog2D(): avoid potential nullptr deref (CID 383355)Even Rouault
2022-02-22WKTParser::Private::buildProjectedCRS(): avoid potential nullptr deref (CID ↵Even Rouault
383362)
2022-02-22ProjectedCRS::_exportToWKT(): avoid false positive warning about nullptr ↵Even Rouault
deref (CID 383356)
2022-02-22UnitOfMeasure::operator=(UnitOfMeasure &&): avoid use of moved member (CID ↵Even Rouault
383358)