Skip to content

Commit ae4497b

Browse files
committed
Update PROJ to v9.7.1 and GDAL to v3.12.1
1 parent f0acfa7 commit ae4497b

3 files changed

Lines changed: 58 additions & 35 deletions

File tree

gdal/gdal

Submodule gdal updated 4019 files

gdal/gdal.patch

Lines changed: 56 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,47 @@
1-
diff -Naurw gdal-3.6.3/cmake/modules/FindPNG.cmake gdal/cmake/modules/FindPNG.cmake
2-
--- gdal-3.6.3/cmake/modules/FindPNG.cmake 1969-12-31 19:00:00.000000000 -0500
3-
+++ gdal/cmake/modules/FindPNG.cmake 2023-08-17 10:20:09.862683802 -0400
1+
diff -Naur gdal/apps/gdalalg_raster_tile.cpp GDAL_BLD/apps/gdalalg_raster_tile.cpp
2+
--- gdal/apps/gdalalg_raster_tile.cpp 2026-02-04 16:36:48.022371225 -0500
3+
+++ GDAL_BLD/apps/gdalalg_raster_tile.cpp 2026-02-04 16:36:21.803485814 -0500
4+
@@ -326,37 +326,6 @@
5+
.SetMaxValueIncluded(100)
6+
.SetCategory(ADVANCED_RESAMPLING_CATEGORY);
7+
8+
- constexpr const char *ADVANCED_RESAMPLING_CATEGORY = "Advanced Resampling";
9+
- auto &excludedValuesArg =
10+
- AddArg("excluded-values", 0,
11+
- _("Tuples of values (e.g. <R>,<G>,<B> or (<R1>,<G1>,<B1>),"
12+
- "(<R2>,<G2>,<B2>)) that must beignored as contributing source "
13+
- "pixels during (average) resampling"),
14+
- &m_excludedValues)
15+
- .SetCategory(ADVANCED_RESAMPLING_CATEGORY);
16+
- auto &excludedValuesPctThresholdArg =
17+
- AddArg(
18+
- "excluded-values-pct-threshold", 0,
19+
- _("Minimum percentage of source pixels that must be set at one of "
20+
- "the --excluded-values to cause the excluded value to be used as "
21+
- "the target pixel value"),
22+
- &m_excludedValuesPctThreshold)
23+
- .SetDefault(m_excludedValuesPctThreshold)
24+
- .SetMinValueIncluded(0)
25+
- .SetMaxValueIncluded(100)
26+
- .SetCategory(ADVANCED_RESAMPLING_CATEGORY);
27+
- auto &nodataValuesPctThresholdArg =
28+
- AddArg(
29+
- "nodata-values-pct-threshold", 0,
30+
- _("Minimum percentage of source pixels that must be set at one of "
31+
- "nodata (or alpha=0 or any other way to express transparent pixel"
32+
- "to cause the target pixel value to be transparent"),
33+
- &m_nodataValuesPctThreshold)
34+
- .SetDefault(m_nodataValuesPctThreshold)
35+
- .SetMinValueIncluded(0)
36+
- .SetMaxValueIncluded(100)
37+
- .SetCategory(ADVANCED_RESAMPLING_CATEGORY);
38+
-
39+
constexpr const char *PUBLICATION_CATEGORY = "Publication";
40+
AddArg("webviewer", 0, _("Web viewer to generate"), &m_webviewers)
41+
.SetDefault("all")
42+
diff -Naur gdal/cmake/modules/FindPNG.cmake GDAL_BLD/cmake/modules/FindPNG.cmake
43+
--- gdal/cmake/modules/FindPNG.cmake 1969-12-31 19:00:00.000000000 -0500
44+
+++ GDAL_BLD/cmake/modules/FindPNG.cmake 2026-02-04 16:28:57.601427168 -0500
445
@@ -0,0 +1,161 @@
546
+# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
647
+# file Copyright.txt or https://cmake.org/licensing for details.
@@ -164,21 +205,20 @@ diff -Naurw gdal-3.6.3/cmake/modules/FindPNG.cmake gdal/cmake/modules/FindPNG.cm
164205
+ REQUIRED_VARS PNG_LIBRARY PNG_PNG_INCLUDE_DIR
165206
+ VERSION_VAR PNG_VERSION_STRING)
166207
diff -Naur gdal/cmake/modules/packages/FindSQLite3.cmake GDAL_BLD/cmake/modules/packages/FindSQLite3.cmake
167-
--- gdal/cmake/modules/packages/FindSQLite3.cmake 2024-06-25 09:56:45.835498631 -0400
168-
+++ GDAL_BLD/cmake/modules/packages/FindSQLite3.cmake 2024-06-25 09:59:46.365399374 -0400
208+
--- gdal/cmake/modules/packages/FindSQLite3.cmake 2026-02-04 16:36:47.818372116 -0500
209+
+++ GDAL_BLD/cmake/modules/packages/FindSQLite3.cmake 2026-02-04 16:28:57.601427168 -0500
169210
@@ -57,7 +57,7 @@
170211
NAMES sqlite3.h
171212
HINTS ${PC_SQLITE3_INCLUDE_DIRS})
172213
find_library(SQLite3_LIBRARY
173214
- NAMES sqlite3 sqlite3_i
174215
+ NAMES sqlite3 sqlite3_i libsqlite3 libsqlite libsqlite3_i
216+
NAMES_PER_DIR
175217
HINTS ${PC_SQLITE3_LIBRARY_DIRS})
176218
endif()
177-
178-
# Extract version information from the header file
179-
diff -Naurw gdal-3.6.3/cmake/modules/packages/FindZLIB.cmake gdal/cmake/modules/packages/FindZLIB.cmake
180-
--- gdal-3.6.3/cmake/modules/packages/FindZLIB.cmake 1969-12-31 19:00:00.000000000 -0500
181-
+++ gdal/cmake/modules/packages/FindZLIB.cmake 2023-08-17 10:20:09.866683737 -0400
219+
diff -Naur gdal/cmake/modules/packages/FindZLIB.cmake GDAL_BLD/cmake/modules/packages/FindZLIB.cmake
220+
--- gdal/cmake/modules/packages/FindZLIB.cmake 1969-12-31 19:00:00.000000000 -0500
221+
+++ GDAL_BLD/cmake/modules/packages/FindZLIB.cmake 2026-02-04 16:28:57.601427168 -0500
182222
@@ -0,0 +1,123 @@
183223
+#.rst:
184224
+# FindZLIB
@@ -303,27 +343,10 @@ diff -Naurw gdal-3.6.3/cmake/modules/packages/FindZLIB.cmake gdal/cmake/modules/
303343
+ INTERFACE_INCLUDE_DIRECTORIES "${ZLIB_INCLUDE_DIRS}")
304344
+ endif()
305345
+endif()
306-
diff -Naur gdal/gcore/gdal_priv.h GDAL_BLD/gcore/gdal_priv.h
307-
--- gdal/gcore/gdal_priv.h 2024-06-26 17:01:06.199711566 -0400
308-
+++ GDAL_BLD/gcore/gdal_priv.h 2024-06-26 17:00:48.433037793 -0400
309-
@@ -96,6 +96,13 @@
310-
/* GDALMultiDomainMetadata */
311-
/************************************************************************/
312-
313-
+#if defined(_WIN32)
314-
+#define STRCASECMP(a, b) (_stricmp(a, b))
315-
+#else
316-
+/** Alias for strcasecmp() */
317-
+#define STRCASECMP(a, b) (strcasecmp(a, b))
318-
+#endif
319-
+
320-
//! @cond Doxygen_Suppress
321-
class CPL_DLL GDALMultiDomainMetadata
322-
{
323346
diff -Naur gdal/gdal.cmake GDAL_BLD/gdal.cmake
324-
--- gdal/gdal.cmake 2024-06-25 09:56:45.660500506 -0400
325-
+++ GDAL_BLD/gdal.cmake 2024-06-25 09:55:37.834206511 -0400
326-
@@ -379,12 +379,6 @@
347+
--- gdal/gdal.cmake 2026-02-04 16:36:47.825372086 -0500
348+
+++ GDAL_BLD/gdal.cmake 2026-02-04 16:28:57.602427164 -0500
349+
@@ -238,12 +238,6 @@
327350
set_property(TARGET ${GDAL_LIB_TARGET_NAME} PROPERTY PLUGIN_OUTPUT_DIR "${CMAKE_CURRENT_BINARY_DIR}/gdalplugins")
328351
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/gdalplugins")
329352

@@ -337,9 +360,9 @@ diff -Naur gdal/gdal.cmake GDAL_BLD/gdal.cmake
337360
set_target_properties(${GDAL_LIB_TARGET_NAME} PROPERTIES SUFFIX "-${GDAL_SOVERSION}${CMAKE_SHARED_LIBRARY_SUFFIX}")
338361
endif ()
339362
diff -Naur gdal/port/cpl_port.h GDAL_BLD/port/cpl_port.h
340-
--- gdal/port/cpl_port.h 2024-06-25 09:56:45.954497348 -0400
341-
+++ GDAL_BLD/port/cpl_port.h 2024-06-25 09:55:37.836206491 -0400
342-
@@ -1123,7 +1123,7 @@
363+
--- gdal/port/cpl_port.h 2026-02-04 16:36:47.823372095 -0500
364+
+++ GDAL_BLD/port/cpl_port.h 2026-02-04 16:28:57.603427159 -0500
365+
@@ -1019,7 +1019,7 @@
343366
#define TRUE 1
344367
#endif
345368

proj/PROJ

Submodule PROJ updated 295 files

0 commit comments

Comments
 (0)