From 7ce3ca16d63c33263aa218974178251b26c118834ac2f72aec18682fcbcb788e Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Tue, 9 Nov 2021 10:45:09 +0000 Subject: [PATCH] Accepting request 930016 from Application:Geo:Staging - Update to version 8.1.1 (data version: 1.7) * EPSG Database updated to version 10.028 (#2773) * Include algorithm header file to avoid build errors on Alpine Linux (#2769) * CMake: fix installation of executables on iOS (#2766) * Associate extents to transformations of CRS's that include GEOIDMODEL (#2769) * Logging: avoid some overhead when logging is not enabled (#2775) * ortho: remove useless and invalid log trace (#2777) * CMake: remove external nlohmann_json from INTERFACE_LINK_LIBRARIES target (#2781) * reateOperations(): fix SourceTargetCRSExtentUse::NONE mode (#2783) * GeoTIFF grid reading: perf improvements (#2788) * Conversion::createUTM(): avoid integer overflow (#2796) * Inverse laea ellipsoidal: return PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN when appropriates (#2801) * Make sure that proj_crs_promote_to_3D returns a derived CRS (#2806) * 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 (#2808) * WKT2 import/export: preserve PROJ.4 CRS extension string in REMARKS[] (#2812) * BoundCRS: accept importing/exporting in WKT2 and PROJJSON the scope/area/extent/id attributes (#2815) * ConcatenatedOperation::fixStepsDirection(): fix bad chaining of steps when inverse map projection is involved in non-final step (#2819) - Update to version 8.1.0 (data version: 1.7) * Version 8.1.0 - Update to EPSG v10.027 (#2751) - Decrease DB size by using WITHOUT ROWID tables (#2730) (#2647) - Add a ANALYZE step during proj.db creation allowing for faster lookups (#2729) - Added a PROJ.VERSION metadata entry (#2646) - Added NGO48 (EPSG:4273) to ETRS89 (EPSG:4258) triangulation-based transformation (#2554) - Additions to the norwegian NKG2020 transformation (#2548) - ESRI projection database updated to version 12.8 (#2717) - Added proj_get_geoid_models_from_database() function that returns a list of geoid models available for a given CRS (#2681) - Added proj_get_celestial_body_list_from_database that returns a list of celestial bodies in the PROJ database (#2667) - Added proj_get_celestial_body_name() (#2662) - proj_trans/cs2cs: If two operations have the same accuracy, use the one that is contained within a larger one (#2750) - Share SQLite database handle among all contexts (#2738) - Add proj/internal/mutex.hpp as compat layer for mingw32 for std::mutex (#2736) - projsync: make it filter out files not intended for the current version (#2725) - Improvements related to DerivedVerticalCRS using Change Unit and Height/Depth reversal methods (#2696) - Update internal nlohmann/json to 3.9.1, and add a CMake option to be able to use external nlohmann/json (#2686) - createFromUserInput(): change name of CRS built from URN combined references to match the convention of EPSG projected CRS (#2677) - Parse compound id with two authorities, like ESRI:103668+EPSG:5703 (#2669) - Added projinfo option --list-crs (supports --area) (#2663) - Added support for hyperbolic Cassini-Soldner (#2637) - Added capability to get SQL statements to add custom CRS in the database (#2577) - Fix 'Please include winsock2.h before windows.h' warning with msys (#2692) - Minor changes to address lint in geodesic.c (#2752) - BoundCRS::identify(): avoid incompatible transformation for WKT1 / TOWGS84 export (#2747) - proj_create(): do not open proj.db if string is a PROJ string, even if proj_context_set_autoclose_database() has been set (#2735) - Fix export of transformation to PROJ string in a particular situation where CompoundCRS are involved (#2721) * Version 8.0.1 - Database: update to EPSG v10.018 (#2636) - Add transformations for CHGeo2004, Swiss geoid model (#2604) - Additions to the norwegian NKG2020 transformation (#2600) - pj_vlog(): fix buffer overflow in case of super lengthy error message (#2693) - Revert "proj_create_crs_to_crs_from_pj(): do not use PROJ_SPATIAL_CRITERION_PARTIAL_INTERSECTION if area is specified" (#2679) - UTM: error out when value of +zone= is not an integer (#2672) - getCRSInfoList(): make result order deterministic (by increasing auth_name, code) (#2661) - createOperation(): make sure no to discard deprecated operations if the replacement uses an unknow grid (#2623) - Fix build on Solaris 11.4 (#2621) - Add mapping of ESRI Equal_Area projection method to EPSG (#2612) - Fix incorrect EPGS extent code for EPSG:7789>EPSG:4976 NKG transformation (#2599) - fix wrong capitalization of CHENyx06_ETRS.gsb (#2597) - createOperations(): improve handling of vertical transforms when when compound CRSs are used (#2592) - CRS::promoteTo3D(): propagate the extent from the 2D CRS (#2589) - createFromCRSCodesWithIntermediates(): improve performance when there is no match (#2583) - Fix proj_clone() to work on 'meta' coordinate operation PJ* objects that can be returned by proj_create_crs_to_crs() (#2582) - add PROJ_COMPUTE_VERSION, PROJ_VERSION_NUMBER, PROJ_AT_LEAST_VERSION macros (#2581) - Make proj_lp_dist() and proj_geod() work on a PJ* CRS object (#2570) - Fix gcc 11 -Wnonnull compilation warnings (#2559) - Fix use of uninitialized memory in gie tests (#2558) - createOperations(): fix incorrect height transformation between 3D promoted RGF93 and CH1903+ (#2555) * Version 8.0.0 - With the release of PROJ 8 the proj_api.h API is finally removed. - Several improvements has been made to the command line utilities. - Public header file proj_api.h removed (#837) - Improved accuracy of the Mercator projection (#2397) - Copyright statement wording updated (#2417) - Allow cct to instantiate operations via object codes or names (#2419) - Allow @filename syntax in cct (#2420) - Added geocentric->topocentric conversion (+proj=topocentric) (#2444) - Update GeographicLib to version 1.51 (#2445) - Added option to allow export of Geographic/Projected 3D CRS in WKT1_GDAL (#2450) - Added --area and --bbox options in cs2cs to restrict candidate coordinate operations (#2466) - Added build time option to make PROJ_LIB env var tested last (#2476) - Added --authority switch in cs2cs to control where coordinate operations are looked for. C API function proj_create_crs_to_crs_from_pj() updated accordingly (#2477) - Error codes revised and exposed in the public API (#2487) - Added --accuracy options to projinfo. C API function proj_create_crs_to_crs_from_pj() updated accordingly (#2488) - Added proj_crs_is_derived() function to C API (#2496) - Enabled linking against static cURL on Windows (#2514) - Updated ESRI CRS database to 12.7 (10.8.1/2.6) (#2519) - Allow a WKT BoundCRS to use a PROJ string transformation (#2521) - Update to EPSG v10.015 (#2539) - Default log level set to PJ_LOG_ERROR (#2542) - CMake installs a pkg-config file proj.pc, where supported (#2547) - Do not restrict longitude to [-90;90] range in spherical transverse Mercator forward projection (#2471) - createOperations(): fix Compound to Geog3D/Projected3D CRS with non-metre ellipsoidal height (#2500) - Avoid error messages to be emitted log level is set to PJ_LOG_NONE (#2527) - Close database connection when autoclose set to True (#2532) OBS-URL: https://build.opensuse.org/request/show/930016 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/proj?expand=0&rev=60 --- proj-7.2.1.tar.gz | 3 - proj-8.1.1.tar.gz | 3 + proj-data-1.4.tar.gz | 3 - proj-data-1.7.tar.gz | 3 + proj.changes | 131 +++++++++++++++++++++++++++++++++++++++++++ proj.spec | 13 +++-- 6 files changed, 145 insertions(+), 11 deletions(-) delete mode 100644 proj-7.2.1.tar.gz create mode 100644 proj-8.1.1.tar.gz delete mode 100644 proj-data-1.4.tar.gz create mode 100644 proj-data-1.7.tar.gz diff --git a/proj-7.2.1.tar.gz b/proj-7.2.1.tar.gz deleted file mode 100644 index 38e156c..0000000 --- a/proj-7.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b384f42e5fb9c6d01fe5fa4d31da2e91329668863a684f97be5d4760dbbf0a14 -size 5714666 diff --git a/proj-8.1.1.tar.gz b/proj-8.1.1.tar.gz new file mode 100644 index 0000000..96aa1fc --- /dev/null +++ b/proj-8.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:82f1345e5fa530c407cb1fc0752e83f8d08d2b98772941bbdc7820241f7fada2 +size 5797853 diff --git a/proj-data-1.4.tar.gz b/proj-data-1.4.tar.gz deleted file mode 100644 index 472a59d..0000000 --- a/proj-data-1.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:76960d34d635aa127058ce654d89ea0eff91e2e4f2036482e677af5a88669b08 -size 581536964 diff --git a/proj-data-1.7.tar.gz b/proj-data-1.7.tar.gz new file mode 100644 index 0000000..c811a68 --- /dev/null +++ b/proj-data-1.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa748aae86577460ca1afae93d35e59606009df4f292dffa3a07eaaac14b2196 +size 585899744 diff --git a/proj.changes b/proj.changes index 0843355..9e01f22 100644 --- a/proj.changes +++ b/proj.changes @@ -1,3 +1,134 @@ +------------------------------------------------------------------- +Sun Oct 24 17:31:24 UTC 2021 - D. Berge + +- Update to version 8.1.1 (data version: 1.7) + * EPSG Database updated to version 10.028 (#2773) + * Include algorithm header file to avoid build errors on Alpine Linux (#2769) + * CMake: fix installation of executables on iOS (#2766) + * Associate extents to transformations of CRS's that include GEOIDMODEL (#2769) + * Logging: avoid some overhead when logging is not enabled (#2775) + * ortho: remove useless and invalid log trace (#2777) + * CMake: remove external nlohmann_json from INTERFACE_LINK_LIBRARIES target (#2781) + * reateOperations(): fix SourceTargetCRSExtentUse::NONE mode (#2783) + * GeoTIFF grid reading: perf improvements (#2788) + * Conversion::createUTM(): avoid integer overflow (#2796) + * Inverse laea ellipsoidal: return PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN + when appropriates (#2801) + * Make sure that proj_crs_promote_to_3D returns a derived CRS (#2806) + * 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 (#2808) + * WKT2 import/export: preserve PROJ.4 CRS extension string in REMARKS[] (#2812) + * BoundCRS: accept importing/exporting in WKT2 and PROJJSON the + scope/area/extent/id attributes (#2815) + * ConcatenatedOperation::fixStepsDirection(): fix bad chaining of steps when + inverse map projection is involved in non-final step (#2819) + +------------------------------------------------------------------- +Sat Oct 23 20:04:52 UTC 2021 - D. Berge + +- Update to version 8.1.0 (data version: 1.7) + * Version 8.1.0 + - Update to EPSG v10.027 (#2751) + - Decrease DB size by using WITHOUT ROWID tables (#2730) (#2647) + - Add a ANALYZE step during proj.db creation allowing for + faster lookups (#2729) + - Added a PROJ.VERSION metadata entry (#2646) + - Added NGO48 (EPSG:4273) to ETRS89 (EPSG:4258) triangulation-based + transformation (#2554) + - Additions to the norwegian NKG2020 transformation (#2548) + - ESRI projection database updated to version 12.8 (#2717) + - Added proj_get_geoid_models_from_database() function that returns a list of + geoid models available for a given CRS (#2681) + - Added proj_get_celestial_body_list_from_database that returns a list + of celestial bodies in the PROJ database (#2667) + - Added proj_get_celestial_body_name() (#2662) + - proj_trans/cs2cs: If two operations have the same accuracy, + use the one that is contained within a larger one (#2750) + - Share SQLite database handle among all contexts (#2738) + - Add proj/internal/mutex.hpp as compat layer for mingw32 for std::mutex (#2736) + - projsync: make it filter out files not intended for the current version (#2725) + - Improvements related to DerivedVerticalCRS using Change Unit and + Height/Depth reversal methods (#2696) + - Update internal nlohmann/json to 3.9.1, and add a CMake option to + be able to use external nlohmann/json (#2686) + - createFromUserInput(): change name of CRS built from URN combined references to match + the convention of EPSG projected CRS (#2677) + - Parse compound id with two authorities, like ESRI:103668+EPSG:5703 (#2669) + - Added projinfo option --list-crs (supports --area) (#2663) + - Added support for hyperbolic Cassini-Soldner (#2637) + - Added capability to get SQL statements to add custom CRS in the database (#2577) + - Fix 'Please include winsock2.h before windows.h' warning with msys (#2692) + - Minor changes to address lint in geodesic.c (#2752) + - BoundCRS::identify(): avoid incompatible transformation for + WKT1 / TOWGS84 export (#2747) + - proj_create(): do not open proj.db if string is a PROJ string, + even if proj_context_set_autoclose_database() has been set (#2735) + - Fix export of transformation to PROJ string in a particular situation + where CompoundCRS are involved (#2721) + * Version 8.0.1 + - Database: update to EPSG v10.018 (#2636) + - Add transformations for CHGeo2004, Swiss geoid model (#2604) + - Additions to the norwegian NKG2020 transformation (#2600) + - pj_vlog(): fix buffer overflow in case of super lengthy error message (#2693) + - Revert "proj_create_crs_to_crs_from_pj(): do not use PROJ_SPATIAL_CRITERION_PARTIAL_INTERSECTION + if area is specified" (#2679) + - UTM: error out when value of +zone= is not an integer (#2672) + - getCRSInfoList(): make result order deterministic (by increasing auth_name, + code) (#2661) + - createOperation(): make sure no to discard deprecated operations if the + replacement uses an unknow grid (#2623) + - Fix build on Solaris 11.4 (#2621) + - Add mapping of ESRI Equal_Area projection method to EPSG (#2612) + - Fix incorrect EPGS extent code for EPSG:7789>EPSG:4976 NKG transformation (#2599) + - fix wrong capitalization of CHENyx06_ETRS.gsb (#2597) + - createOperations(): improve handling of vertical transforms when + when compound CRSs are used (#2592) + - CRS::promoteTo3D(): propagate the extent from the 2D CRS (#2589) + - createFromCRSCodesWithIntermediates(): improve performance when there is + no match (#2583) + - Fix proj_clone() to work on 'meta' coordinate operation PJ* objects that + can be returned by proj_create_crs_to_crs() (#2582) + - add PROJ_COMPUTE_VERSION, PROJ_VERSION_NUMBER, + PROJ_AT_LEAST_VERSION macros (#2581) + - Make proj_lp_dist() and proj_geod() work on a PJ* CRS object (#2570) + - Fix gcc 11 -Wnonnull compilation warnings (#2559) + - Fix use of uninitialized memory in gie tests (#2558) + - createOperations(): fix incorrect height transformation between 3D promoted RGF93 and CH1903+ (#2555) + * Version 8.0.0 + - With the release of PROJ 8 the proj_api.h API is finally removed. + - Several improvements has been made to the command line utilities. + - Public header file proj_api.h removed (#837) + - Improved accuracy of the Mercator projection (#2397) + - Copyright statement wording updated (#2417) + - Allow cct to instantiate operations via object codes or names (#2419) + - Allow @filename syntax in cct (#2420) + - Added geocentric->topocentric conversion (+proj=topocentric) (#2444) + - Update GeographicLib to version 1.51 (#2445) + - Added option to allow export of Geographic/Projected 3D CRS + in WKT1_GDAL (#2450) + - Added --area and --bbox options in cs2cs to restrict candidate + coordinate operations (#2466) + - Added build time option to make PROJ_LIB env var tested last (#2476) + - Added --authority switch in cs2cs to control where coordinate operations + are looked for. C API function proj_create_crs_to_crs_from_pj() updated + accordingly (#2477) + - Error codes revised and exposed in the public API (#2487) + - Added --accuracy options to projinfo. C API function + proj_create_crs_to_crs_from_pj() updated accordingly (#2488) + - Added proj_crs_is_derived() function to C API (#2496) + - Enabled linking against static cURL on Windows (#2514) + - Updated ESRI CRS database to 12.7 (10.8.1/2.6) (#2519) + - Allow a WKT BoundCRS to use a PROJ string transformation (#2521) + - Update to EPSG v10.015 (#2539) + - Default log level set to PJ_LOG_ERROR (#2542) + - CMake installs a pkg-config file proj.pc, where supported (#2547) + - Do not restrict longitude to [-90;90] range in spherical transverse Mercator + forward projection (#2471) + - createOperations(): fix Compound to Geog3D/Projected3D CRS with non-metre ellipsoidal height (#2500) + - Avoid error messages to be emitted log level is set to PJ_LOG_NONE (#2527) + - Close database connection when autoclose set to True (#2532) + ------------------------------------------------------------------- Sat Jan 23 15:06:32 UTC 2021 - Libor Pechacek diff --git a/proj.spec b/proj.spec index d0e338f..59bc026 100644 --- a/proj.spec +++ b/proj.spec @@ -16,11 +16,11 @@ # -%define data_version 1.4 -%define sover 19 +%define data_version 1.7 +%define sover 22 %define libname lib%{name}%{sover} Name: proj -Version: 7.2.1 +Version: 8.1.1 Release: 0 Summary: Cartographic projection software License: MIT @@ -80,7 +80,7 @@ Supplements: proj\ %files data-%{countrycode}\ %{wildcard}\ %{extrafile} - + %data_subpkg -c at -n Austria %data_subpkg -c au -n Australia %data_subpkg -c be -n Belgium @@ -98,6 +98,7 @@ Supplements: proj\ %data_subpkg -c jp -n Japan %data_subpkg -c nc -n %{quote:New Caledonia} %data_subpkg -c nl -n Netherlands +%data_subpkg -c no -n Norway %data_subpkg -c nz -n %{quote:New Zealand} %data_subpkg -c pt -n Portugal %data_subpkg -c se -n Sweden @@ -105,7 +106,6 @@ Supplements: proj\ %data_subpkg -c uk -n %{quote:United Kingdom} %data_subpkg -c us -n %{quote:United States} - %prep %setup -q @@ -120,6 +120,9 @@ Supplements: proj\ %make_install tar -C %{buildroot}%{_datadir}/%{name} -xf %{SOURCE1} find %{buildroot} -type f -name "*.la" -delete -print +# It would be good to find out where these extra files +# come from: +rm -rf %{buildroot}%{_datadir}/doc/${name} %check # Tests dont work on i586 and noone cares