aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-27ESRI WKT: add support for import/export of (non interrupted) Goode HomolosineEven Rouault
Issue found during https://github.com/OSGeo/gdal/pull/4355 when it was found that a WKT with Goode_Homolosine projection parsed as ESRI WKT was mapped wrongly to Interrupted Goode Homolosine
2021-08-27Doc: projjson.rst: update to PROJJSON v0.3Even Rouault
2021-08-27Merge pull request #2824 from rouault/fix_ossfuzz_37489Even Rouault
Pipeline instanciation: fix performance issues on huge (broken) strings...
2021-08-27Merge pull request #2823 from rouault/fix_8353Even Rouault
WKT importer: better detect ESRI WKT
2021-08-26Pipeline instanciation: fix performance issues on huge (broken) strings ↵Even Rouault
which managed somehow to cause nested pipelines not caught due to some non-roundtripability in parsing/serializing. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37489
2021-08-26WKT importer: better detect ESRI WKT on projected CRS (fixes #2822)Even Rouault
2021-08-26WKT importer: detect ESRI WKT even when datum name doesn't start with D_ ↵Even Rouault
(fixes #2822)
2021-08-23Merge pull request #2820 from rouault/fix_ossfuzz_37438Even Rouault
Fix O(n^2) performance patterns where n is the number of steps of a pipeline
2021-08-21PROJStringFormatter::toString(): fix potential O(n^2) performance. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37438
2021-08-21pipeline instanciation: fix potential O(n^2) performance. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37438
2021-08-20Merge pull request #2818 from rouault/fix_2817Even Rouault
ConcatenatedOperation::fixStepsDirection(): fix bad chaining of steps…
2021-08-20ConcatenatedOperation::fixStepsDirection(): fix bad chaining of steps when ↵Even Rouault
inverse map projection is involved in non-final step (fixes #2817)
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-19BoundCRS: accept importing/exporting in WKT2 and PROJJSON the ↵Even Rouault
scope/area/extent/id attributes (fixes #2813) For PROJJSON only, also accept the ``name`` attribute.
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 #2811 from OSGeo/busstoptaktik-patch-1Even Rouault
Spell the last name of R.E. Deakin correctly
2021-08-16Spell the last name of R.E. Deakin correctlyThomas Knudsen
It's spelled correctly in the references, so better also get it right in the source
2021-08-16Merge pull request #2810 from rouault/test_polar_stereoEven Rouault
test: more testing of Polar Stereographic variants
2021-08-16test: more testing of Polar Stereographic variantsEven Rouault
2021-08-16WKT2 import/export: preserve PROJ.4 CRS extension string in REMARKS[] (when ↵Even Rouault
the WKT2 representation isn't lossless)
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-16createOperations(): fix missing deg<-->rad conversion when transforming with ↵Even Rouault
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-16Implement promoteTo3D() / demoteTo2D() for DerivedGeographicCRS (fixes #2803)Even Rouault
2021-08-15factory.cpp: fix latest clang -Wstring-concatenation (false positive) warningEven Rouault
2021-08-15formatting fixEven Rouault
2021-08-15Add support for Degree Sign on input (#2791)Brendan Jurd
This commit adds support in dsmtor() for a Degree Sign (U+00B0), encoded as UTF-8 (`\xc2\xb0`) or as a single byte (`\xb0`) (in ISO 8859 parts 1-4, 7-10, 13, 15, 16, and several Windows code pages), as an alternative symbol to `D`/`d` to designate the degree unit. Fixes #2712.
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-13Inverse laea ellipsoidal: return ↵Even Rouault
PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN when appropriates (fixes OSGeo/gdal#4224)
2021-08-12Fix order of instructions for installing from source. (#2797)Brendan Jurd
The note about running autogen.sh was previously placed below the instructions to run configure.
2021-08-10Merge pull request #2795 from rouault/fix_ossfuzz_36751Even Rouault
Conversion::createUTM(): avoid integer overflow
2021-08-10Conversion::createUTM(): avoid integer overflow. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36751
2021-08-10build_db.py: improve error reporting [ci skip]Even Rouault
2021-08-05cmake: remove unused configure checks (#2789)Ben Boeckel
These results are just not used anywhere, so there's no need to check them (as the compiler will do it anyways).
2021-07-23Merge pull request #2787 from rouault/vgrid_perf_improvementsEven Rouault
GeoTIFF grid reading: perf improvements (fixes #2785)
2021-07-22GeoTIFF grid reading: perf improvements (fixes #2785)Even Rouault
With this commit, and the 2 previous ones, given mytest.cpp ``` int main() { PJ* pj = proj_create(nullptr, "+proj=vgridshift +grids=us_nga_egm96_15.tif"); for( int i = 0; i < 5*1000*1000; i++) { PJ_COORD coord; coord.lpz.lam = 0; coord.lpz.phi = 0; coord.lpz.z = 0; proj_trans(pj, PJ_FWD, coord); } return 0; } ``` we get a x2 speedup Before: ``` $ PROJ_LIB=data:$HOME/proj/PROJ-data/us_nga LD_LIBRARY_PATH=src/.libs hyperfine --warmup 1 'taskset -c 11 ./mytest' Benchmark #1: taskset -c 11 ./mytest Time (mean ± σ): 1.950 s ± 0.014 s [User: 1.945 s, System: 0.005 s] Range (min … max): 1.937 s … 1.971 s ``` After: ``` $ PROJ_LIB=data:$HOME/proj/PROJ-data/us_nga LD_LIBRARY_PATH=src/.libs hyperfine --warmup 1 'taskset -c 11 ./mytest' Benchmark #1: taskset -c 11 ./mytest Time (mean ± σ): 984.4 ms ± 3.1 ms [User: 977.0 ms, System: 7.2 ms] Range (min … max): 979.3 ms … 990.5 ms ```
2021-07-22pj_fwd()/pj_inv(): performance improvements through passing by ref and less ↵Even Rouault
function calls
2021-07-22Add pj_log_active() to determine if logging is activeEven Rouault
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-21Doc: fix links to :c:func:`proj_...` by specifying "h" as "c" domainMike Taves
2021-07-20Merge pull request #2782 from rouault/fix_crs_extent_use_noneEven Rouault
createOperations(): fix SourceTargetCRSExtentUse::NONE mode
2021-07-20createOperations(): fix SourceTargetCRSExtentUse::NONE modeEven Rouault
Fix issue reported in https://lists.osgeo.org/pipermail/proj/2021-July/010318.html
2021-07-20Formatting fix [ci skip]Even Rouault
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-14CMake: remove external nlohmann_json from INTERFACE_LINK_LIBRARIES targetMike Taves
2021-07-13Add S2 projection (#2749)marcus-elia
2021-07-12Merge pull request #2776 from rouault/fix_coverity_350886Even Rouault
ortho: remove useless and invalid log trace (CID 350886, 350887)
2021-07-11ortho: remove useless and invalid log trace (CID 350886, 350887)Even Rouault
2021-07-10Merge pull request #2774 from rouault/fix_2770Even Rouault
Logging: avoid some overhead when logging is not enabled (fixes #2770)
2021-07-08Logging: avoid some overhead when logging is not enabled (fixes #2770)Even Rouault