Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 9.5] Database: ingest deprecated ESRI names to be able to better import old WKT ESRI #4285

Closed
wants to merge 26 commits into from

Conversation

rouault
Copy link
Member

@rouault rouault commented Oct 22, 2024

Backport of PR #4282

kbevers and others added 26 commits September 15, 2024 14:35
[Backport 9.5] affine.rst: Fixed second s21 that should say s22
…target CRS that have the same originating authority

Fixes https://lists.osgeo.org/pipermail/proj/2024-September/011531.html
i.e.
```
projinfo -s EPSG:4269 -t EPSG:6318 --3d --spatial-test intersects
```

The fix consists in making sure that we recognize that the 3d-promoted
object EPSG:4269 (NAD83(86)) is still linked to EPSG, and thus discard
ESRI 3D objects in findsOpsInRegistryWithIntermediate()

Fixes a "regression" of OSGeo#4244
(one could argue which of the results is the best, given that NAD83(86)
as a 3D geographic CRS has no solid foundation)
[Backport 9.5] findsOpsInRegistryWithIntermediate(): restrict to using known source/target CRS that have the same originating authority
[Backport 9.5] Database: update to EPSG v11.017
…sformations as time-dependent, only time-dependent ones...
[Backport 9.5] isTimeDependent(): do not mark 'static' Coordinate Frame helmert transformations as time-dependent, ...
…documentation]'

clang-19 -Wdocumentation is super pedantic and requires an explanation
for why we throw exceptions. You're so demanding clang-19! We are kind
enough to mention we throw... Doxygen doesn't even require us to justify
the circumstances in which we have to do that. Oh well, let's please you
to get peace back...
[Backport 9.5] Fix clang-19 'warning: empty paragraph passed to '@throw' command [-Wdocumentation]'
[Backport 9.5] Omit trailing blank line in `proj_create_crs_to_crs` portion of C quickstart
[Backport 9.5] WKT importer: fix nullptr dereference on invalid VERTCS[]
[Backport 9.5] Doc: use 'version_selector' instead of 'display_version' which is deprecated by sphinx-rtd-theme 3.0.0
It is show as the title of the proj.org, which sends a wrong message since this is in fact a proper released version.
Remove "-dev" from release version in Sphinx config
[Backport 9.5] Database: update to EPSG v11.019
Current proj.db build time is typically 50 to 60 seconds (and up to 7.5
hours on arm64 cross-compilation with full emulation!). Most of it is
due to running consistency checks. Those checks actually only need to run
once each time when we update the content of the database. When skipping
them, the build time is cut to 3 seconds or so.
So in data/CMakeLists.txt, let keep track of an expected md5sum
resulting from the concatenation of the data/sql/*.sql files. When
building proj.db, we check if the got and expected md5sum match. If they
do build proj.db by inserting the consistency check triggers after
having inserted data record. If there's a mismatch, do a one time build
with the triggers inserted before the data records, check that proj.db
builds fine with that, and if so, emit a CMake error message indicating
to the user that they must update the PROJ_DB_SQL_EXPECTED_MD5 variable
in data/CMakeLists.txt with the provided value. Next runs will go
through the fast build path, until content is updated again.
@rouault rouault added this to the 9.5.1 milestone Oct 22, 2024
@rouault rouault closed this Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants