aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-05-13identify(): take into account the authority passed in (fixes #1465)Even Rouault
When identifying an object that has already a code with authority A but the authority of interest passed was B, then it was not checking that A != B, and did not try to search in the objects of B.
2019-05-12Fix doc of proj_identify()Even Rouault
2019-05-12Fix identification of GeodeticCRS expressed by PROJ string for EPSG authorityEven Rouault
2019-05-09pj_release: Use correct release date for 6.1.0Kristian Evers
2019-05-08proj_normalize_for_visualization(): fix crash when ctx == nullptrEven Rouault
2019-05-08proj_normalize_for_visualization(): fix when there are coordinate operation ↵Even Rouault
alternatives
2019-05-06createOperations(): for 'Amersfoort / RD New + NAP height' (EPSG:7415) to ↵Even Rouault
ETRS89 (EPSG:4937), make sure that the vgridshift is applied first (ie on Amersfoort datum) before the hgridshift
2019-05-06createOperations(): fix case of ETRS89 3D to proj string with nadgrids and ↵Even Rouault
geoidgrids Fixes https://lists.osgeo.org/pipermail/proj/2019-May/008519.html
2019-05-06Fix spelling errors.Bas Couwenberg
* unknow -> unknown
2019-05-06Update ABI version number for 6.1.0Kristian Evers
2019-05-05geos: avoid division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14602 Credit to OSS Fuzz
2019-05-03cs2cs: set time value to HUGE_VAL if not explicitly specifiedEven Rouault
2019-05-02lagrng: avoid division by zero when latitude is very close to 90Even Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14477 Credit to OSS Fuzz
2019-05-01Reduce database size (#1438)Kristian Evers
Reduce database size
2019-05-01Merge pull request #1444 from rouault/disambguish_forward_inverse_namesKristian Evers
Prefix inverse and forward functions by their projection names
2019-05-01Merge pull request #1437 from mwtoews/cmakeKristian Evers
CMake: enable LTO/IPO using a manual flag or property method
2019-05-01Merge pull request #1425 from mwtoews/defineKristian Evers
Remove `PROJ_COMPILATION=1` definition
2019-04-30WKT importer: accepts PROJ-based COORDINATEOPERATIONEven Rouault
2019-04-30createOperations(): in SourceTargetCRSExtentUse::INTERSECTION mode, early ↵Even Rouault
return if the intersection of the areas is empty
2019-04-30Propagate ballpark transformation flag to inverse coordinate operationsEven Rouault
2019-04-28Fix false-positive -Wnull-dereference GCC 8 warningEven Rouault
2019-04-26Prefix inverse and forward functions by their projection namesEven Rouault
This is mostly to have better OSSFuzz report. Currently a lot of bug summaries are like `proj4/standard_fuzzer: Divide-by-zero in s_inverse` By prefixing the projection name, we will get better reports, like `Divide-by-zero in airy_s_inverse` This also makes it slightly easier to set a breakpoint by function name.
2019-04-26aitof: fix division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14447 Credit to OSS Fuzz
2019-04-26aitoff.cpp: fix indentationEven Rouault
2019-04-25gs50 and other mod_ster projections: avoid divison by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14421 Credit to OSS Fuzz
2019-04-23Merge pull request #1441 from rouault/support_compound_crs_urnEven Rouault
proj_create(): add support for compoundCRS and concatenatedOperation named from their components
2019-04-23Merge pull request #1434 from rouault/valid_format_stringEven Rouault
proj/cs2cs: validate value of -f parameter to avoid potential crashes (fixes #124)
2019-04-22Merge pull request #1440 from rouault/ossfuzz_14410Even Rouault
airy: avoid division by zero
2019-04-22proj_create(): add support for compoundCRS and concatenatedOperation named ↵Even Rouault
from their components Support following syntaxes: - OGC URN combining references for compoundCRS: e.g. "urn:ogc:def:crs,crs:EPSG::2393,crs:EPSG::5717" - its GDAL shortcut: e.g. "EPSG:2393+5717" - OGC URN combining references for concatenated operations: e.g. "urn:ogc:def:coordinateOperation,coordinateOperation:EPSG::3895,coordinateOperation:EPSG::1618"
2019-04-22code format fixEven Rouault
2019-04-22airy: avoid division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14410 Credit to OSS Fuzz
2019-04-22Tweak morphNameToESRI() to reflect current ESRI practice regarding a few ↵Even Rouault
'(foo)' suffixes
2019-04-22Database: import common projections from ESRI projected CRS in structured formEven Rouault
That is Transverse_Mercator/Gauss_Kruger, Lambert_Conformal_Conic and Hotine_Oblique_Mercator_Azimuth_Natural_Origin Decreases proj.db from 5 853 184 bytes to 5 189 632 bytes.
2019-04-22ESRI_WKT: preserve Gauss_Kruger in conversion name for round-trippingEven Rouault
2019-04-22Database: make conversion & helmert_transformation updatable viewsEven Rouault
- Transform conversion as a view, and when inserting into it, actually insert into 3 tables: conversion_table, conversion_method and conversion_param, so that method and parameter names are not repeated each time. - Similarly for helmert_tranformation, insert into helmert_transformation_tabl and coordinate_operation_method. This reduces the db size from 6 344 704 bytes to 5 853 184 bytes, without significant slowdown for queries.
2019-04-21CMake: enable LTO using a flag or property methodMike Taves
2019-04-20omerc: validate lat_1 and lat_2 to avoid divison by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14384 Credit to OSS Fuzz
2019-04-20proj/cs2cs: validate value of -f parameter to avoid potential crashes (fixes ↵Even Rouault
#124)
2019-04-19Inverse cart: better deal with x,y,z equal of very close to zeroEven Rouault
In that case, for a non-spherical ellipsoid, a phi = 180deg was returned, which caused a division by zero in the foward path of moll.cpp Fixup the latitude to be 0 when that happens. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14348 Credit to OSS Fuzz
2019-04-18tpers: avoid division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14342 Credit to OSS Fuzz
2019-04-18isea: avoid invalid integer shiftEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14286 Credit to OSS Fuzz
2019-04-18Merge pull request #1429 from rouault/vgridshift_full_worldEven Rouault
vgridshift: handle longitude wrap-around for grids with 360deg longitude extent
2019-04-18Merge pull request #1426 from mwtoews/intelEven Rouault
CMake: better support for Intel compiler
2019-04-18Merge pull request #1427 from rouault/fix_geog2D_to_geog3D_same_datumEven Rouault
createOperations(): do not attempt using a unrelated datum intermediate when doing geog2D<-->geog3D conversions of same datum
2019-04-18Improve doc of proj_coordoperation_get_towgs84_values() (fixes #1430)Even Rouault
2019-04-16vgridshift: handle longitude wrap-around for grids with 360deg longitude extentEven Rouault
Like egm96_15.gtx Fixes #1415 Technically, a similar fix could be done for horizontal grids, but world extent is less common for them.
2019-04-16omerc: avoid division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14279 Credit to OSS Fuzz
2019-04-16createOperations(): do not attempt using a unrelated datum intermediate when ↵Even Rouault
doing geog2D<-->geog3D conversions of same datum Seen when testing transformations between "CR 05" (EPSG:5365) and "CR-SIRGAS" (EPSG:8907) which require going through their corresponding 3D GeogCRS to find a Helmert transformation.
2019-04-16CMake: better support for Intel compilerMike Taves
2019-04-16Remove `PROJ_COMPILATION=1` definitionMike Taves