Compare commits
10 Commits
Author | SHA256 | Date | |
---|---|---|---|
d12137fd5d | |||
|
33acbd661e | ||
afc330285d | |||
|
873f33bbd4 | ||
785c9f718a | |||
|
3d861288ea | ||
86590e1ff2 | |||
|
041d6c26e7 | ||
1d9c265be0 | |||
|
a842c2b08c |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ffe20170ee2b952207adf8a195e2141eab12cda181e49fdeb54425d98c7171d7
|
||||
size 5665272
|
3
proj-9.6.0.tar.gz
Normal file
3
proj-9.6.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d8cae521c311c39513193657e75767f7cfbf2f91bd202fcd4a200028d3b57e14
|
||||
size 5830688
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bc18bfe967f51eb05bb2fd61cb7045548d992d20842d2c38f4cbc37d904dfd50
|
||||
size 735652646
|
3
proj-data-1.21.tar.gz
Normal file
3
proj-data-1.21.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:687e1b9086ed517091daeb0341042fdaa6212f114c7c191b3a39b25d8dcce9c0
|
||||
size 783860304
|
177
proj.changes
177
proj.changes
@@ -1,3 +1,180 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 21 21:58:59 UTC 2025 - Libor Pechacek <lpechacek@gmx.com>
|
||||
|
||||
- update to 9.6.0:
|
||||
o projinfo: display whether an operation is time-dependent
|
||||
(#4255)
|
||||
o Add CMake options EMBED_RESOURCE_FILES and
|
||||
USE_ONLY_EMBEDDED_RESOURCE_FILES for proj.db and proj.ini
|
||||
embedding (#4265, #4274)
|
||||
o Database: ingest deprecated ESRI names to be able to better
|
||||
import old WKT ESRI (#4282)
|
||||
o proj_factors(): enhance speed when called repeatedly on same
|
||||
compound or projected CRS (#4289)
|
||||
o Add Airocean projection (formerly Dymaxion) (#4303)
|
||||
o createOperations(): Optimization by avoiding database lookups
|
||||
for CRS (typically PROJ strings) using unknown datums (#4320)
|
||||
o PROJJSON export: for a Projected CRS, add an explicit
|
||||
type=GeographicCRS/GeodeticCRS members to the base_crs member
|
||||
(#4331)
|
||||
o proj_trans_bounds(): make it work when target CRS is a
|
||||
CompoundCRS (#4333)
|
||||
o createOperations(): do Helmert transformation in 2D when one
|
||||
of source or target CRS is compound (#4337)
|
||||
o Map EPSG method 'Vertical Offset by Grid Interpolation (asc)'
|
||||
to +proj=vgridshift (#4344)
|
||||
o Add support for 'Coordinate Frame rotation full matrix
|
||||
(geocen)' and Coordinate Frame rotation full matrix (geog2D)'
|
||||
methods (#4348)
|
||||
o Add a CMake EMBED_RESOURCE_DIRECTORY option to embed
|
||||
.tif/.json files in to libproj (#4349, #4373)
|
||||
o Take into account new EPSG methods 'Cartesian Grid Offsets by
|
||||
TIN Interpolation (JSON)' and 'Vertical Offset by TIN
|
||||
Interpolation (JSON)' (#4353)
|
||||
o Added an option native_ca to proj.ini and an environment
|
||||
variable PROJ_NATIVE_CA to be able to configure curl to use
|
||||
the operating system CA store. (#4356)
|
||||
o Database: add an optional step_direction column to the
|
||||
concatenated_operation_step table (#4357)
|
||||
o Database: replicate EGM2008 grid transformation record to
|
||||
WGS 84 realizations (#4363)
|
||||
o Improve ETRFxxx to ETRFyyy, and WGS 84 (xxx) to WGS 84 (yyy)
|
||||
(#4364)
|
||||
o Build: Update to C++17 version (#4366, #4369)
|
||||
o Add bash completion script for projinfo (#4371)
|
||||
o Dispatch content of 4D_api.cpp into multiple .cpp files
|
||||
(#4393)
|
||||
o Add proj_trans_bounds_3D() (#4394)
|
||||
o Database: add a engineering_datum and engineering_crs tables;
|
||||
import few related EPSG records (#4396)
|
||||
o NKG transformations: Add support for EUREF-FIN in Finish
|
||||
transformations (#4399)
|
||||
o Add Spilhaus projection (#4401)
|
||||
o Export ESRI:54099 WGS_1984_Spilhaus_Ocean_Map_in_Square as
|
||||
PROJ string (#4402)
|
||||
o Database: update to EPSG v12.004 (#4413)
|
||||
o proj_download_file(): invalidate in-memory caches related to
|
||||
downloaded file (for the current context) (#4414)
|
||||
* createObjectsFromName(): be more tolerant about N/S vs
|
||||
North/South, absence of zone or height (#4318)
|
||||
* createFromPROJString: avoid repeated openings of proj.db and
|
||||
proj.ini and lookup of 'epsg' (#4334)
|
||||
* Debugging/internals: append sub-grid index to grid name when
|
||||
opening a multi-grid TIFF file (#4381)
|
||||
* createOperations(): use more appropriate operation when using
|
||||
a 'PROJ {grid_name}' geoid model, based on matching the
|
||||
vertical datum (#4379)
|
||||
* proj_clone(): properly propagate
|
||||
errorIfBestTransformationNotAvailable and other flags from
|
||||
source object (#4382)
|
||||
* Inverse +proj=cass: fix non-convergence on inputs where
|
||||
easting=false_easting or northing=false_northing (#4386)
|
||||
* Fix typo in parameter for ITRF97 in ITRF2014 file (#4408)
|
||||
* Retry on "SSL connection timeout" (#4419)
|
||||
- update data to 1.21:
|
||||
* Finish geoid models (#131)
|
||||
* French grid fr_ign_RGM04versRGM23.tif for RGM04 -> RGM23
|
||||
datum shift (Mayotte) (#132)
|
||||
* Latvian LGIA geoid grid (#134)
|
||||
- added patch v9.6.0-fix-build.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 2 18:16:48 UTC 2024 - Libor Pechacek <lpechacek@gmx.com>
|
||||
|
||||
- update to 9.5.1:
|
||||
o Database: update to EPSG v11.022 (#4254, #4275, #4297, #4312)
|
||||
o Speed-up dramatically proj.db build time (#4280)
|
||||
o Database: ingest deprecated ESRI names to be able to better
|
||||
import old WKT ESRI (#4282)
|
||||
* findsOpsInRegistryWithIntermediate(): Restrict to using known
|
||||
source/target CRS that have the same originating authority
|
||||
(#4252)
|
||||
* isTimeDependent(): Do not mark "static" Coordinate Frame
|
||||
helmert transformations as time-dependent, only
|
||||
time-dependent ones (#4259)
|
||||
* Fix clang-19 "warning: empty paragraph passed to '@throw'
|
||||
command [-Wdocumentation]" (#4263)
|
||||
* WKT importer: fix nullptr dereference on invalid VERTCS[]
|
||||
(#4266)
|
||||
* Fixed sql_filelist.cmake relative path issue (#4296)
|
||||
* Fail consistently on network error and grid transformations
|
||||
(#4302)
|
||||
* Fix -Wshadow warnings between parammappings.cpp and
|
||||
singleoperation.cpp with unity builds (#4304)
|
||||
* Removed leftover setting of CMAKE_REQUIRED_FLAGS (#4322)
|
||||
* WKT1 ESRI export: fix wrong mapping of Lambert Cylindrical
|
||||
Equal Area to Behrmann (#4328)
|
||||
* Numerous documentation fixes (#4248, #4267, #4291, #4293)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 27 14:24:13 UTC 2024 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
- Update data to version 1.19
|
||||
- Bump gcc version used for Leap building to 13
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 31 21:50:45 UTC 2024 - Libor Pechacek <lpechacek@gmx.com>
|
||||
|
||||
- update to 9.5.0:
|
||||
o Database: add constraint for unicity of CRS and operation
|
||||
names (#4071)
|
||||
o Make a few more functions that accept a PJ* to actually
|
||||
acccept a const PJ* (#4074)
|
||||
o Database: Increase consistency in trigger checks (#4080)
|
||||
o Speed-up +proj=cart +inv (#4087)
|
||||
o Added EPSG:9656 "Cartesian Grid Offsets" operation method,
|
||||
and imported related records (#4094)
|
||||
o Add a WKTParser::grammarErrorList() method so that
|
||||
proj_create_from_wkt() can behave as documented (#4108)
|
||||
o CRS::stripVerticalComponent(): Redirect it to
|
||||
demoteTo2D(std::string(), nullptr) (#4127)
|
||||
o Add proj_context_set_user_writable_directory() to public
|
||||
API (#4144)
|
||||
o CMake: for Windows builds, defaults PROJ DLL to be just
|
||||
proj_${PROJ_MAJOR_VERSION}.dll (#4167)
|
||||
o Add toWGS84AutocorrectWrongValues() method and use it in
|
||||
PROJ.4 and WKT1 CRS import (#4172)
|
||||
o WKT import: add support for Oracle WKT
|
||||
"Albers_Conical_Equal_Area" spelling (#4181)
|
||||
o Limit number of C++ exceptions thrown & caught
|
||||
internally (#4183)
|
||||
o Database: update to EPSG 11.016 (#4241)
|
||||
o CMake: add option EMBED_PROJ_DATA_PATH (#4207)
|
||||
o Add SEA Inverse projection (#4211)
|
||||
o projinfo: Add 2 args equivalent to usage of -s and -t (#4218)
|
||||
o CMake: add TESTING_USE_NETWORK configure option (#4220)
|
||||
o Add PROJ_ERR_COORD_TRANSFM_MISSING_TIME and
|
||||
proj_coordoperation_requires_per_coordinate_input_time() (#4221)
|
||||
o Add new Conversion "Local Orthographic" (#4228, #4229)
|
||||
o Add data/ITRF2020 with ITRF2020 to ITRFother, and ITRF2020
|
||||
plate motion models (#4235)
|
||||
* Fix imoll and imoll_o zone calculations to correct inverse
|
||||
transformations near the "seams" (#4159)
|
||||
* Fix wrong EPSG conversion code for UTM south (#4166)
|
||||
* BoundCRS::exportToPROJ(): handle case of NADCON conus
|
||||
grid (#4168)
|
||||
* +proj=gridshift: make projected grids work with
|
||||
PROJ_NETWORK=ON (#4174)
|
||||
* createOperations(): make it work when transforming from/to a
|
||||
CompoundCRS with a DerivedVerticalCRS with ellipsoidal
|
||||
height (#4176)
|
||||
* Support default context as nullptr in
|
||||
CoordinateTransformer (#4177)
|
||||
* cct: emit error message and return error code when not being
|
||||
able to open input file (#4200)
|
||||
* Fix race condition surrounding DB reopening during
|
||||
fork (#4231)
|
||||
* GeographicBoundingBox::create(): accept degenerate bounding
|
||||
box reduced to a point or a line (#4237)
|
||||
* createOperation(): tune so that ITRF2000->ETRS89 does not
|
||||
return only NKG grid based operations but also time-dependent
|
||||
Helmert (#4244)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 21 14:38:33 UTC 2024 - Manfred Schwarb <manfred99@gmx.ch>
|
||||
|
||||
- Leap 16.0 (suse_version==1600) has GCC 13 as default compiler
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 3 19:55:43 UTC 2024 - Stephan Hemeier <Sauerlandlinux@gmx.de>
|
||||
|
||||
|
27
proj.spec
27
proj.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package proj
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,11 +16,11 @@
|
||||
#
|
||||
|
||||
|
||||
%define data_version 1.18
|
||||
%define data_version 1.21
|
||||
%define sover 25
|
||||
%define libname lib%{name}%{sover}
|
||||
Name: proj
|
||||
Version: 9.4.1
|
||||
Version: 9.6.0
|
||||
Release: 0
|
||||
Summary: Cartographic projection software
|
||||
License: MIT
|
||||
@@ -28,9 +28,10 @@ URL: https://proj.org/
|
||||
# Download from GitHub, osgeo.org appears to be slow and flaky at the moment
|
||||
Source0: https://github.com/OSGeo/PROJ/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: https://github.com/OSGeo/PROJ-data/releases/download/%{data_version}.0/%{name}-data-%{data_version}.tar.gz
|
||||
Patch0: v9.6.0-fix-build.patch
|
||||
BuildRequires: cmake >= 3.16
|
||||
%if 0%{?suse_version} <= 1650
|
||||
BuildRequires: gcc11-c++
|
||||
%if 0%{?suse_version} < 1600
|
||||
BuildRequires: gcc13-c++
|
||||
%else
|
||||
BuildRequires: gcc-c++
|
||||
%endif
|
||||
@@ -101,7 +102,9 @@ License: MIT
|
||||
%data_subpkg -c fi -n Finland
|
||||
%data_subpkg -c fo -n %{quote:Faroe Island} -e FO -s 1
|
||||
%data_subpkg -c fr -n France
|
||||
%data_subpkg -c hu -n Hungary
|
||||
%data_subpkg -c is -n Island -e ISL
|
||||
%data_subpkg -c lv -n Latvia
|
||||
%data_subpkg -c jp -n Japan
|
||||
%data_subpkg -c mx -n Mexico
|
||||
%data_subpkg -c nc -n %{quote:New Caledonia}
|
||||
@@ -117,16 +120,16 @@ License: MIT
|
||||
%data_subpkg -c za -n %{quote:South Africa}
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} <= 1650
|
||||
export CC=gcc-11
|
||||
export CXX=g++-11
|
||||
%if 0%{?suse_version} < 1600
|
||||
export CC=gcc-13
|
||||
export CXX=g++-13
|
||||
%endif
|
||||
# c++14 needed to build tests using gtest >= 1.14
|
||||
%cmake \
|
||||
%if 0%{?suse_version} >= 1650
|
||||
%if 0%{?suse_version} >= 1600
|
||||
-DCMAKE_CXX_STANDARD=14 \
|
||||
%endif
|
||||
%{nil}
|
||||
@@ -149,7 +152,7 @@ rm -rf %{buildroot}%{_datadir}/doc/${name}
|
||||
%ldconfig_scriptlets -n %{libname}
|
||||
|
||||
%files
|
||||
%doc NEWS AUTHORS README ChangeLog
|
||||
%doc NEWS.md AUTHORS.md README.md ChangeLog
|
||||
%defattr(0755,root,root)
|
||||
%{_bindir}/cs2cs
|
||||
%{_bindir}/cct
|
||||
@@ -176,6 +179,7 @@ rm -rf %{buildroot}%{_datadir}/doc/${name}
|
||||
%{_datadir}/%{name}/ITRF2000
|
||||
%{_datadir}/%{name}/ITRF2008
|
||||
%{_datadir}/%{name}/ITRF2014
|
||||
%{_datadir}/%{name}/ITRF2020
|
||||
%{_datadir}/%{name}/README.DATA
|
||||
%{_datadir}/%{name}/cz_cuzk_CR-2005.tif
|
||||
%{_datadir}/%{name}/cz_cuzk_README.txt
|
||||
@@ -190,6 +194,7 @@ rm -rf %{buildroot}%{_datadir}/doc/${name}
|
||||
%{_datadir}/%{name}/world
|
||||
%{_datadir}/%{name}/si_gurs_README.txt
|
||||
%{_datadir}/%{name}/si_gurs_SLO-VRP2016-Koper.tif
|
||||
%{_datadir}/bash-completion/completions/projinfo
|
||||
|
||||
%files -n %{libname}
|
||||
%license COPYING
|
||||
|
21
v9.6.0-fix-build.patch
Normal file
21
v9.6.0-fix-build.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
--- a/src/crs_to_crs.cpp
|
||||
+++ b/src/crs_to_crs.cpp
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <math.h>
|
||||
|
||||
#include <algorithm>
|
||||
+#include <limits>
|
||||
|
||||
#include "proj/internal/internal.hpp"
|
||||
|
||||
--- a/src/trans.cpp
|
||||
+++ b/src/trans.cpp
|
||||
@@ -33,6 +33,8 @@
|
||||
#include "proj_internal.h"
|
||||
#include <math.h>
|
||||
|
||||
+#include <limits>
|
||||
+
|
||||
#include "proj/internal/io_internal.hpp"
|
||||
|
||||
inline bool pj_coord_has_nans(PJ_COORD coo) {
|
Reference in New Issue
Block a user