aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-08-26Update version numbers for 8.1.1 releaseKristian Evers
2021-08-26Update ABI numbers for 8.1.1 releaseKristian Evers
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-15factory.cpp: fix latest clang -Wstring-concatenation (false positive) warningEven Rouault
2021-08-13Merge pull request #2800 from rouault/fix_gdal_4224Even Rouault
Inverse laea ellipsoidal: return PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN when appropriates (fixes OSGeo/gdal#4224)
2021-08-10Merge pull request #2795 from rouault/fix_ossfuzz_36751Even Rouault
Conversion::createUTM(): avoid integer overflow
2021-07-23Merge pull request #2787 from rouault/vgrid_perf_improvementsEven Rouault
GeoTIFF grid reading: perf improvements (fixes #2785)
2021-07-22Merge pull request #2784 from mwtoews/docs-fixEven Rouault
Doc: fix links to :c:func:`proj_...` by specifying "h" as "c" domain
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-12Merge pull request #2776 from rouault/fix_coverity_350886Even Rouault
ortho: remove useless and invalid log trace (CID 350886, 350887)
2021-07-10Merge pull request #2774 from rouault/fix_2770Even Rouault
Logging: avoid some overhead when logging is not enabled (fixes #2770)
2021-07-08Merge pull request #2769 from rouault/fix_2768Even Rouault
createOperations(): make sure to associate an extent to the transform…
2021-07-05Merge pull request #2764 from SpaceIm/fix/install-exec-iosEven Rouault
CMake: fix installation of executables on iOS
2021-06-25Update ABI numbers for 8.1.0 releaseKristian Evers
2021-06-22Minor changes to address lint in geodesic.c (courtesy of Marc Emery ↵Charles Karney
<memery@myotest.com>)
2021-06-17proj_trans/cs2cs: If two operations have the same accuracy, use the one that ↵Even Rouault
is contained within a larger one Relates to https://github.com/OSGeo/gdal/issues/3998 Before that change, cs2cs on a NAD83(HARN) to WGS84 transformation would use the "NAD83(HARN) to WGS 84 (1)" transformation (a null Helmert shift) that is valid for whole US, including non-CONUS areas, even when used on points located on CONUS that has a "NAD83(HARN) to WGS 84 (3)" transformation (non-null Helmert shift) with same accuracy (1m). But if doing EPSG:2874 "NAD83(HARN) / California zone 5 (ftUS)" to WGS84, we would use this later "NAD83(HARN) to WGS 84 (3)" transformation because the area of use of EPSG:2874 restricts to CONUS. This isn't consistant. With that change, we now have more consistent behavior, even if it can be argued which of the 2 transformations is the best... $ echo 34 -120 | src/cs2cs -d 8 EPSG:4326 "NAD83(HARN)" | src/cs2cs "NAD83(HARN)" EPSG:2874 5955507.74 1828410.98 0.00 $ echo 34 -120 | src/cs2cs EPSG:4326 EPSG:2874 5955507.74 1828410.98 0.00
2021-06-14Fix build with -DPROJ_INTERNAL_CPP_NAMESPACEEven Rouault
2021-06-10BoundCRS::identify(): avoid incompatible transformation for WKT1 / TOWGS84 ↵Even Rouault
export (fixes OSGeo/gdal#3958)
2021-06-03factory.cpp: lint: make memoryHandle_ a unique_ptrEven Rouault
2021-06-03Run database layout checks only at first DB openingEven Rouault
2021-06-03proj_cleanup(): make sure it frees the database context of the default ↵Even Rouault
PJ_CONTEXT
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-03Database: use shared sqlite handleEven Rouault
2021-06-03factory.cpp: preparation steps for global sqlite3* handle, but no functional ↵Even Rouault
change
2021-06-02Merge pull request #2736 from rouault/cleanup_mutexEven Rouault
Cleanup: add proj/internal/mutex.hpp as compat layer for mingw32 for std::mutex
2021-06-02Cleanup: add proj/internal/mutex.hpp as compat layer for mingw32 for std::mutexEven Rouault
2021-06-02proj_create(): do not open proj.db if string is a PROJ string, even if ↵Even Rouault
proj_context_set_autoclose_database() has been set (fixes #2734)
2021-05-27ConcatenatedOperation::fixStepsDirection(): remove recently introdued hack ↵Even Rouault
specific to EPSG:9731 now that is is deprecated
2021-05-24DatabaseContext::getTransformationsForGridName(): make it work properly when ↵Even Rouault
different EPSG grid names map to the same PROJ grid name
2021-05-24Merge pull request #2729 from rouault/analyze_dbEven Rouault
Database: add a ANALYZE step during proj.db creation
2021-05-23projinfo: fix error message regarding --output-idEven Rouault
2021-05-23Database: add a ANALYZE step during proj.db creationEven Rouault
This will create the sqlite_stat* table (generally sqlite_stat1). This speeds up a bit the test suite. Runtime of ``make test_cpp_api-check`` goes from the range [14.0 s, 14.6 s] to [13.0s, 13.5s] on my machine.
2021-05-23code formatting fixEven Rouault
2021-05-17projsync: make it filter out files not intended for the current versionEven Rouault
* Add a PROJ_DATA.VERSION in proj.db to indicate the target PROJ-data package version * Make projsync use that information and the version_added and version_removed properties added in https://github.com/OSGeo/PROJ-data/pull/67 to filter out files that are not relevant * Add --no-version-filtering and --verbose switches
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-12Formatting fixesEven Rouault
2021-05-07Merge pull request #2708 from mwtoews/stereographicEven Rouault
Fix typo: "Mod. Stererographics" -> "Modified Stereographic"
2021-05-07Doc: fix URLEven Rouault
2021-05-07Doc: update GDAL versionEven Rouault
2021-05-04Fix typo: "Mod. Stererographics" -> "Modified Stereographic"Mike Taves
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-24getInsertStatementsFor(): replace while with if (master only, CID 320133)Even Rouault