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

Database: ingest deprecated ESRI names to be able to better import old WKT ESRI #4282

Merged
merged 2 commits into from
Oct 22, 2024

Commits on Oct 16, 2024

  1. Speed-up dramatically proj.db build time.

    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 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    842240d View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. Configuration menu
    Copy the full SHA
    a6f5fa7 View commit details
    Browse the repository at this point in the history