aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-10-08Add DatumEnsemble::asDatum() and use it in exportToWkt()Even Rouault
to allow exporting DatumEnsemble to WKT < 2019.
2020-10-08Add a AuthorityFactory::createDatumEnsemble() method, and make it inherit ↵Even Rouault
from ObjectUsage as mandated by ISO 19111:2019
2020-10-08Database: add aliases for 'old' names of WGS84 and ETRS89 datums, and remove ↵Even Rouault
one hack
2020-10-08getCRSInfoList(): make it use area descriptionEven Rouault
2020-10-08Database: use extended description for extent/area of use, as done by ↵Even Rouault
epsg.org WKT export
2020-10-06Database: instanciate DynamicGeodeticReferenceFrame (things like ITRFxxx, ↵Even Rouault
WGS 84 (Gxxxx), etc.) when possible
2020-10-06Database: "minimal" update to EPSG v10.003Even Rouault
Content mostly unchanged since v9.9 This update is "minimal" in that it mostly reflects the removal of the 'area' table, replaced now by 'extent', 'scope' and 'usage' Other new aspects of EPSG v10 are left aside.
2020-10-05proj_crs_create_bound_crs_to_WGS84(): make it work on ↵Even Rouault
verticalCRS/compoundCRS such as EPSG:4326+5773 and EPSG:4326+3855
2020-10-02createOperations(): avoid elimination of ballpark transformation that can ↵Even Rouault
help for NAD83->WGS84->NAD83(2011) hops
2020-10-02createOperations(): when combining transformations, reject those with a ↵Even Rouault
non-intersecting area of validity
2020-10-02CoordinateOperation: fix issue with ballpark flag not being copied with ↵Even Rouault
shallowClone() which affected result sorting
2020-09-30Merge pull request #2361 from rouault/ortho_ellipsoidalEven Rouault
Implement ellipsoidal formulation of +proj=ortho (fixes #397)
2020-09-30Merge pull request #2344 from rouault/tinshiftEven Rouault
Add a +proj=tinshift for triangulation-based transformations
2020-09-30Add a +proj=tinshift for triangulation-based transformationsEven Rouault
Implements RFC-6
2020-09-30ortho.cpp: more precise reference to guidance noteEven Rouault
2020-09-27tmerc: setup_exact(): do not recompute third flattening already available as ↵Even Rouault
P->n
2020-09-27Ortho ellipsoidal inverse: improve accuracy in polar case with (x,y) close ↵Even Rouault
to (0,0)
2020-09-27Ortho ellipsoidal inverse: add domain check for oblique case, and slighly ↵Even Rouault
improve initial guessing
2020-09-26Ortho ellipsoidal inverse: add non iterative implementations for polar and ↵Even Rouault
equatorial
2020-09-26Ortho: add visibility condition for ellipsoidal case. Credits to @cffkEven Rouault
2020-09-26Implement ellipsoidal formulation of +proj=ortho (fixes #397)Even Rouault
- Map ESRI 'Local' to +proj=ortho when Scale_Factor = 1 and Azimuth = 0 - Map ESRI 'Orthographic' to a PROJ WKT2 'Orthographic (Spherical)' which maps to +proj=ortho +f=0 to froce spherical evaluation
2020-09-17createOperations(): tune sorting of transformations so that the ones with ↵Even Rouault
greater 'version numbers' are prefered over other ones, when all other comparison criteria are equal. Helps with Amersfoort RD New to EPSG:4326
2020-09-17Adjust createBoundCRSToWGS84IfPossible() and operation filtering (for POSGAR ↵Even Rouault
2007 to WGS84 issues) (fixes #2356) - We make createBoundCRSToWGS84IfPossible() more restrictive. If there are more than one Helmert transformation from the CRS to WGS 84 covering the area of use of the CRS, we do not create a BoundCRS / +towgs84 - In createOperations() filtering, we are less aggressive in discarding operations that have the same area of use but worse accuracy. We do it only if they involve more transformation steps. We now get: ``` $ projinfo EPSG:5340 -o PROJ PROJ.4 string: +proj=longlat +ellps=GRS80 +no_defs +type=crs $ projinfo -s EPSG:5340 -t EPSG:4326 --spatial-test intersects --summary Candidate operations found: 2 EPSG:9264, POSGAR 2007 to WGS 84 (2), 0.5 m, Argentina EPSG:5351, POSGAR 2007 to WGS 84 (1), 1.0 m, Argentina ```
2020-09-10proj_trans(): reset errno before attemptying a retry with a new coordinate ↵Even Rouault
operation (fixes #2352)
2020-09-10Merge pull request #2351 from rouault/update_to_epsg_9_9Even Rouault
Database: update to EPSG 9.9
2020-09-09Map EPSG:1083 'Geog3D to Geog2D+Vertical (AUSGeoid v2)' method to ↵Even Rouault
+proj=vgridshift
2020-09-04Fix compiling warnings when using GCC 4.8.xAlexander Saprykin
2020-09-04DOC: Fix reference to proj_get_codes_from_database in ↵Alan D. Snow
proj_get_crs_info_list_from_database docstring (#2345)
2020-08-26proj_create_vertical_crs_ex(): add a ACCURACY option to provide an explicit ↵Even Rouault
accuracy, or derive it from the grid name if it is known
2020-08-23lcc: avoid harmless division by zero in untypical case. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24442
2020-08-21createObjectsFromName(): add back case insensitivity when comparing namesEven Rouault
Fixes #2332 Didn't affect released versions
2020-08-21Helmert: fix regression when rotation terms are 0, but scale is notEven Rouault
Fixes #2333 Was due to 3dc92ad7014e1cf20a3bc95c8c21a34a371fcb78 Doesn't affect released versions
2020-08-20projCtx_t: Copy ini file settings, proj4_init_rules, etc.. when initializing ↵Alan D. Snow
context from global (#2331)
2020-08-19Code reformattingEven Rouault
2020-08-19Add methods to ensure safer interactions with cpp_contextsnowman2
2020-08-19Clone projCppContext context when copying projCtx_t (#2324)Alan D. Snow
2020-08-19Revert compiler generated Fused Multiply Addition optimized routines (#2327)Even Rouault
Fixes #2326 Partially reverts commit b84c9d0cb61f3bd561da6092e15e294ae7e410e0 to remove the use of the gcc 6 mechanism of generated multiple versions of functions with different optimization flags, which was found to causes crashes when dlopen'ing PROJ on CentOS 7.8 with gcc 8.3.1
2020-08-16ENH: Add support for custum CA Bundle path (#2323)Alan D. Snow
Fixes #2320
2020-08-13WKT importer: tune for Oracle WKT and 'Lambert Conformal Conic' (#2321)Even Rouault
Fixes https://github.com/qgis/QGIS/issues/37898
2020-08-11WKT parser: avoid null pointer dereference on corrupted WKTEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24809
2020-08-07ProjectedCRS::identify(): fix to be able to identify EPSG:2154 as a ↵Even Rouault
candidate for 'RGF93_Lambert_93' (contributes to fixes https://github.com/qgis/QGIS/issues/32255) (#2315)
2020-07-30PROJ CRS string ingestion: fix typo in identification of projection steps ↵Even Rouault
(fixes #2307)
2020-07-24Helmert 2D: do not require a useless convention= parameterEven Rouault
2020-07-09Transverse Mercator South Orientated: restrict export to PROJ string to ↵Even Rouault
cases where false_easting and false_northing are 0
2020-07-09PROJ string export of +proj=krovak +czech: make sure we export +czech ↵Even Rouault
instead of +axis=swu (fixes #2299)
2020-07-07CMake build: Check "target_clones" before useKai Pastor
gcc's "target_clones" and "ifunc" function attributes rely on extensions to the ELF standard. Using them on MinGW causes "error: the call requires 'ifunc', which is not supported by this target". Amends 5396b72.
2020-07-06Merge pull request #2274 from snowman2/pjtypeEven Rouault
ENH: Added temporal, engineering, and parametric datum PJ_TYPE enumerations
2020-07-04C API: missing a few SANITIZE_CTX() in entry points (#2292)Even Rouault
Found when investigating https://github.com/OSGeo/gdal/issues/2744 but the root cause of the GDAL issue is different.
2020-07-02Parse '+proj=something_not_latlong +vunits=' without +geoidgrids as a ↵Even Rouault
Projected3D CRS and not a compound CRS with a unknown datum (fixes #2287) (#2288)
2020-07-01WKT parser: do not raise warning when parsing a WKT2:2015 TIMECRS whose ↵Even Rouault
TIMEUNIT is at the CS level, and not inside (#2276) Adresses testTemporal() and testCompoundWithTime() cases of https://github.com/OSGeo/PROJ/issues/2275#issuecomment-650765730