diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-05-17 16:00:12 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-05-17 16:00:12 +0200 |
| commit | aee1709d6c02f466b88ea0aa44928e6820f45045 (patch) | |
| tree | bfec9295702fb428ad4b3f324c24c417cc9caee5 /data/sql | |
| parent | 5fe51fad2c0e5d8ff880b3c7f5c652be8a680381 (diff) | |
| download | PROJ-aee1709d6c02f466b88ea0aa44928e6820f45045.tar.gz PROJ-aee1709d6c02f466b88ea0aa44928e6820f45045.zip | |
projsync: make it filter out files not intended for the current version
* 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
Diffstat (limited to 'data/sql')
| -rw-r--r-- | data/sql/metadata.sql | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/data/sql/metadata.sql b/data/sql/metadata.sql index 9cce8251..d7cbf026 100644 --- a/data/sql/metadata.sql +++ b/data/sql/metadata.sql @@ -15,3 +15,7 @@ INSERT INTO "metadata" VALUES('EPSG.DATE', '2021-05-16'); -- The value of ${PROJ_VERSION} is substituted at build time by the actual -- value. INSERT INTO "metadata" VALUES('PROJ.VERSION', '${PROJ_VERSION}'); + +-- Version of the PROJ-data package with which this database is the most +-- compatible. +INSERT INTO "metadata" VALUES('PROJ_DATA.VERSION', '1.7'); |
