aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-10-16CMake: fix invproj/invgeod generation on Windows when building with an ↵Even Rouault
explicit configuration
2021-10-12Geographic 3D CRS: allow to export to WKT1:ESRI if only the GEOGCS is known ↵Even Rouault
(and thus extrapolating a VERTCS) (fixes #2757)
2021-10-12Fix export to WKT1:ESRI of CRS, datum, ellipsoids name that don't have a ↵Even Rouault
EPSG equivalent and have parentheses in their name
2021-10-12Merge pull request #2897 from rouault/fix_2852Even Rouault
CMake build: generate invproj/invgeod binaries (symlinks on Unix, copy otherwise) (fixes #2852)
2021-10-12Merge pull request #2900 from rouault/cmake_wkt_parserEven Rouault
CMake build: add generate_wkt1_parser and generate_wkt2_parser manual target, and logic to detect when they must be run
2021-10-11Merge pull request #2895 from rouault/cmake_BUILD_PROGRAMSEven Rouault
CMake: add a BUILD_APPS to be able to disable build of all applications
2021-10-11CMake build: add generate_wkt1_parser and generate_wkt2_parser manual ↵Even Rouault
target, and logic to detect when they must be run
2021-10-11CMake: Always build gie if testing is requested (#2899)Mike Taves
Co-authored-by: Even Rouault <even.rouault@spatialys.com>
2021-10-10proj_crs_get_datum_forced(): catch potential exception (fixes CID 358433, ↵Even Rouault
358434, 358435)
2021-10-10CMake: add a BUILD_APPS to be able to disable build of all programsEven Rouault
This makes it easier to turn off all programs, rather than individually. Useful for example to avoid https://github.com/OSGeo/gdal/blob/master/gdal/fuzzers/build.sh#L138
2021-10-09geod / proj: accept lt-inv[geod/proj] name for older libtool versionsEven Rouault
2021-10-09autoconf build: build invproj and invgeod in build directoryEven Rouault
Due to libtool wrapper scripts, it is easier to build fully fledged binaries. The installed binaries will be symlinks, as before.
2021-10-09CMake build: generate invproj/invgeod binaries (symlinks on Unix, copy ↵Even Rouault
otherwise) (fixes #2852)
2021-10-08WKT1 parser: recognize Lambert_Conformal_Conic as projection name for LCC ↵Even Rouault
1SP or 2SP (fixes #2892)
2021-10-08WKT concatenated operation parsing: fix when a axis order reversal ↵Even Rouault
conversion is the first or last operation (fixes #2890)
2021-10-07cmake build: install proj_symbol_rename.hEven Rouault
2021-10-06CRS::_isEquivalentTo(): be tolerant to different order of PROJ step options ↵Even Rouault
(fixes #2886)
2021-10-06ProjectedCRS::_isEquivalentTo(): ignore base CRS axis order even in ↵Even Rouault
EQUIVALENT mode if one of them is lacking an explicit CS order (refs #2886)
2021-10-06proj_create_crs_to_crs() + proj_trans(): fix when non-Greenwich prime ↵Even Rouault
meridian is involved This fixes a regression introduced in 7af1d5741da08d9546b907e0da2c21c54c61b27 / PROJ 7.2.0 where reprojection of area of use was broken when the source/target CRS did not use Greenwich as prime meridian. Fixes https://lists.osgeo.org/pipermail/gdal-dev/2021-October/054764.html Now with the fix: - using grid: $ echo 286415 431434 | PROJ_NETWORK=ON src/cs2cs -d 4 EPSG:20790 EPSG:3763 86412.4262 131434.1706 0.0000 - not using it: $ echo 286415 431434 | src/cs2cs -d 4 EPSG:20790 EPSG:3763 86412.5265 131433.8561 0.0000
2021-10-05Add proj_trans_bounds to compute the image of a input bounding box through a ↵Alan D. Snow
transformation (#2882) Fixes #2779
2021-10-05Merge pull request #2876 from rouault/iauEven Rouault
Add IAU_2015 CRS definitions
2021-10-05Merge pull request #2868 from rouault/proj_factors_with_projected_crsEven Rouault
proj_factors(): accept P to be a projected CRS (fixes #2854)
2021-09-30proj_factors(): accept P to be a projected CRS (fixes #2854)Even Rouault
Updated doc: Starting with PROJ 8.2, the P object can be a projected CRS, for example instantiated from a EPSG CRS code. The factors computed will be those of the map projection implied by the transformation from the base geographic CRS of the projected CRS to the projected CRS. The input geodetic coordinate lp should be such that lp.lam is the longitude in radian, and lp.phi the latitude in radian (thus independently of the definition of the base CRS, if P is a projected CRS).
2021-09-29CRS::identify(): fix ignoring CS order when identifying a geodetic CRS by a ↵Even Rouault
PROJ string with just the ellipsoid
2021-09-28CRS::extractGeodeticCRS(): implement for DerivedProjectedCRS (related to ↵Even Rouault
refs OSGeo/gdal#3927)
2021-09-28projinfo --list-crs / proj_get_crs_info_list_from_database(): make it work ↵Even Rouault
with IAU generic authority name
2021-09-28PROJStringFormatter: add optimizations useful for IAU CRS transformation ↵Even Rouault
pipelines
2021-09-28Add a mapping for versioned authorities, so that one can use IAU:xxxx or ↵Even Rouault
IAU_2015:xxxx transparently
2021-09-28Database: add IAU_2015 CRSEven Rouault
2021-09-28AuthorityFactory::createGeodeticCRS(): use description column for remarksEven Rouault
2021-09-28Database reading: implement reading a GeodeticCRS with a Spherical CSEven Rouault
2021-09-24cmake: check the right variable for `libdl`Ben Boeckel
2021-09-24proj_normalize_for_visualization(): set input and output units when there ↵Even Rouault
are several alternative transformations (fixes #2866)
2021-09-20Update proj_symbol_rename.hEven Rouault
2021-09-20Conversion::inverse(): avoid harmless division by zero. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=39033
2021-09-19networkfilemanager.cpp: fix compiler warnings on 32-bit systems where time_t ↵Even Rouault
is 32-bit
2021-09-18Optimize pipelines of planetary CRS (geocentric latitude, west-positive ↵Even Rouault
longitude)
2021-09-17Database: add a 'anchor' field to geodetic_datum and vertical_datum tablesEven Rouault
Update database layout version number to 1.2 consequently This new capability will be used by IAU planetary CRS (refs #2601)
2021-09-16Merge pull request #2851 from rouault/epsg_10_035Even Rouault
Database: update to EPSG v10.035
2021-09-15Inverse ortho ellipsoidal oblique: address a few remarks from ↵Even Rouault
https://github.com/OSGeo/PROJ/issues/2844#issuecomment-920138371
2021-09-15Inverse ellipsoidal orthographic projection (oblique case): fix convergence ↵Even Rouault
at pole
2021-09-15Fix error in implementation of Inverse ellipsoidal orthographic projection ↵Even Rouault
(oblique case) that cause convergence to sometimes fail (fixes #2844)
2021-09-15Database: update to EPSG v10.035Even Rouault
This seriously impacts French CRS users with the introduction of new datums, geodetic CRS and projected CRS based on "RGF 93 v2" and "RGF 93 v2b", and the previous single "RGF 93" being renamed as "RGF 93 v1". To be noted too, the addition of a null transformation between NAD83(2011) and WGS 84, which impacts a number of tests in the test suite.
2021-09-15isEquivalentTo(): improve comparison of datum names based on official name ↵Even Rouault
and aliases (preparation for EPSG v10.035 update)
2021-09-14PROJJSON: support additional properties allowed in id object (version, ↵Even Rouault
authority_citation, uri) for parity with WKT2:2019
2021-09-14Merge pull request #2847 from rouault/spherical_ocentricEven Rouault
Add support for GeodeticCRS using a Spherical ocentric coordinate system
2021-09-08createOperations(): use an explicit conversion operation for geodetic <--> ↵Even Rouault
geocentric latitude
2021-09-08createConversion(): avoid nullptr dereference on a method without parametersEven Rouault
2021-09-08createOperations(): deal with spherical planetocentric geodetic CRSEven Rouault
This also fixes conversion between geocentric latlong and geodetic latlong with cs2cs. This was dealt with in PR 1093, but in the wrong direction (the geocentric latitude must be <= in absolute value to the geodetic one) The issue here was linked to the semantics of the +geoc specifier, which affects the semantics of the input coordinates in the forward direction (+geoc means that the input coordinate is is a geocentric latitude), which defeats the logic of doing A to B by using the inverse path of A and the forward path of B.
2021-09-08Merge pull request #2845 from rouault/fix_2843Even Rouault
Fix database access across fork() when SQLite3 doesn't use pread[64]() (fixes #2843)