diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-03-18 15:18:48 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-03-18 15:18:48 +0100 |
| commit | 862cb97c22d5ddab3b91f44a4d1b2267c234bd0f (patch) | |
| tree | 437756ba4bff7f0ae3b1ff98c5dbb16e87f327a5 /docs/source/development/reference/cpp/index.rst | |
| parent | 1e4ad55fbe8f34228f0fd2bbab2e9dc57910621d (diff) | |
| download | PROJ-862cb97c22d5ddab3b91f44a4d1b2267c234bd0f.tar.gz PROJ-862cb97c22d5ddab3b91f44a4d1b2267c234bd0f.zip | |
createFromCRSCodesWithIntermediates(): improve perf when no match
createFromCRSCodesWithIntermediates() runs a rather costly self-join.
Only run it if the source and target CRS are the source/target of a
coordinate operation. This helps for the performance of
proj_create_crs_to_crs() when run on projected CRS for example that are
extremely unlikely to be the source/target of an operation (except
currently the Finish ones). For the EPSG:26915 to EPSG:3857 case of
https://github.com/OSGeo/gdal/issues/3470, this helps decreasing the
time of proj_create_crs_to_crs() from 18 ms to 10 ms.
Diffstat (limited to 'docs/source/development/reference/cpp/index.rst')
0 files changed, 0 insertions, 0 deletions
