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

[pull] master from OSGeo:master #83

Open
wants to merge 1,408 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1408 commits
Select commit Hold shift + click to select a range
c637701
Merge pull request #10799 from rouault/recode_improvements
rouault Sep 16, 2024
0db013b
Merge pull request #10798 from rouault/tiledb_identify
rouault Sep 16, 2024
79577b1
S102: add support for IHO S102 v3.0 specification (#10779)
rouault Sep 16, 2024
ce6bae8
Merge pull request #10771 from rouault/invisible_vsimem
rouault Sep 16, 2024
596f7d2
VRTSourcedRasterBand::IRasterIO(): initialize output buffer to nodata…
rouault Sep 16, 2024
47bc43b
VRTComplexSource::RasterIO(): use double working data type for more s…
rouault Sep 16, 2024
99a17e5
VRTComplexSource::RasterIO(): speed-up pixel copy in more cases
rouault Sep 16, 2024
b8e608f
GDALCreateGeoLocTransformer(): fix inverted logic to decide for a deb…
rouault Sep 16, 2024
a93a76c
GDALCreateGeoLocTransformer(): increase threshold to use GTiff geoloc…
rouault Sep 16, 2024
642f7cc
GDALGeoLocDatasetAccessors: use smaller, but more, cached tiles
rouault Sep 16, 2024
60eccc5
Merge pull request #10698 from rouault/ogr_sqlite_median_mode
rouault Sep 16, 2024
6ccf77f
Merge pull request #10711 from rouault/doc_android
rouault Sep 16, 2024
2742d2b
Merge pull request #10716 from rouault/transformWithOptions
rouault Sep 16, 2024
37777a3
Parquet: fix crash when using SetIgnoredFields() + SetSpatialFilter()…
rouault Sep 16, 2024
eff841f
/vsitar/: fix support of /vsitar/ of /vsitar/
rouault Sep 17, 2024
7f674a8
gdalwarp: fix crash/infinite loop when using -tr one a 1x1 blank rast…
rouault Sep 17, 2024
ec3f277
MakeValid(METHOD=STRUCTURE): make sure to return a MULTIPOLYGON if in…
rouault Sep 17, 2024
262ffc2
viewshed_executor.cpp: use correct mutex
rouault Sep 17, 2024
0c4395b
CPLWorkerThreadPool: fix locking in GetNextJob() to make 'valgrind --…
rouault Sep 17, 2024
8b9376f
viewshed: add explicit ~Cumulative() destructor, to avoid redefinitio…
rouault Sep 18, 2024
cde7a4d
Merge pull request #10822 from rouault/fix_gdalwarp_one_one_blank_edge
rouault Sep 18, 2024
e5bb066
Merge pull request #10826 from rouault/fix_10825
rouault Sep 18, 2024
212543d
Python bindings: silence SWIG 'detected a memory leak' message
rouault Sep 18, 2024
c8a0113
Merge pull request #10824 from rouault/fix_10821
rouault Sep 18, 2024
ce8b294
LIBKML: dump feature when its geometry cannot be written
rouault Sep 18, 2024
a290af1
gdalwarper.cpp: more details about OPTIMIZE_SIZE
rouault Sep 16, 2024
9d7f03e
Merge pull request #10817 from rouault/fix_10813
rouault Sep 18, 2024
300ceb8
EEDA/EEDAI drivers: add a VSI_PATH_FOR_AUTH open option to allow usin…
rouault Sep 18, 2024
c558e98
Warped VRT: instantiate overview bands in a lazy fashion for faster e…
rouault Sep 18, 2024
94ede75
Merge pull request #10717 from rouault/ogr2ogr_arrow_reproj
rouault Sep 18, 2024
34cca5d
Merge pull request #10720 from rouault/GDALRegenerateOverviewsMultiBa…
rouault Sep 18, 2024
84db033
Merge pull request #10724 from rouault/parquet_dataset_close
rouault Sep 18, 2024
217e342
Merge pull request #10733 from rouault/fix_10732
rouault Sep 18, 2024
42e4237
Merge pull request #10737 from rouault/doc_rasterio_window
rouault Sep 18, 2024
7ca9ed0
Merge pull request #10749 from rouault/arrow_read_stringview
rouault Sep 18, 2024
86cfe19
Merge pull request #10751 from rouault/tiff_jpeg_error_msg
rouault Sep 18, 2024
5dfd063
Merge pull request #10754 from rouault/OGRJSONFGGetOGRGeometryType
rouault Sep 18, 2024
3120e32
Merge pull request #10755 from rouault/gensql_fast_arrow
rouault Sep 18, 2024
6c1d64a
Merge pull request #10761 from rouault/fix_10758
rouault Sep 18, 2024
0178ae6
Merge pull request #10794 from rouault/fix_geojson_update_feature
rouault Sep 18, 2024
8ffe534
Merge pull request #10806 from rouault/gmlas_nas_billion_laugh
rouault Sep 18, 2024
e2a3b9f
Merge pull request #10815 from rouault/fix_qgis_58086
rouault Sep 18, 2024
b45a3d3
GTiff: when reading a unrecognized value of color interpretation in t…
rouault Sep 3, 2024
6123db2
Add new GCI_ constants in particular for InfraRed, and 'standardize' …
rouault Sep 3, 2024
f2eb859
GTiff: make sure CreateCopy() copies the band IMAGERY metadata domain…
rouault Sep 4, 2024
804bc11
Doc: enhance doc about band IMAGERY metadata
rouault Sep 4, 2024
66d2068
GDALColorInterp: add GCI_SAR_[Ka|K|Ku|X|C|S|L|P_Band], as well as GCI…
rouault Sep 4, 2024
39c1842
Merge pull request #10831 from rouault/workaround_4907
rouault Sep 18, 2024
7567141
Merge pull request #10823 from rouault/fix_10819
rouault Sep 18, 2024
26b3394
CI: disable MSSQL Docker based testing
rouault Sep 19, 2024
6d22276
Doc: add a page about security issues
rouault Sep 19, 2024
c814fd3
Merge pull request #10843 from rouault/ci_disable_mssql
rouault Sep 19, 2024
9ada0c8
Merge pull request #10721 from rouault/new_gci_values
rouault Sep 19, 2024
772c3c2
CI: skip test_vsiaz_fake_write() as too flaky [ci skip]
rouault Sep 19, 2024
40c3212
CI: skip test_vsioss_6() as flaky [ci skip]
rouault Sep 19, 2024
d324122
OGR Idrisi: remove use of OGRSFDriver and OGRDataSource
rouault Sep 19, 2024
e8c93b6
EDIGEO: remove use of OGRDataSource
rouault Sep 19, 2024
2086df3
CSW: remove use of OGRDataSource
rouault Sep 19, 2024
a91859d
OGR VRT: remove use of OGRDataSource
rouault Sep 19, 2024
f2bd381
OGR SDTS: remove use of OGRDataSource
rouault Sep 19, 2024
07a4e9d
GML: remove use of OGRDataSource
rouault Sep 19, 2024
9d3b4d6
IDB: remove use of OGRDataSource
rouault Sep 19, 2024
13b9edf
NAS: remove use of OGRDataSource
rouault Sep 19, 2024
e68c1a7
OSM: remove use of OGRDataSource
rouault Sep 19, 2024
abd1486
DGN: remove use of OGRDataSource
rouault Sep 19, 2024
f443175
S57: remove use of OGRDataSource
rouault Sep 19, 2024
071af6a
SOSI: remove use of OGRDataSource
rouault Sep 19, 2024
87a0478
GPSBabel: remove use of OGRDataSource
rouault Sep 19, 2024
d9c7ba1
OGRMutexDataSource/OGREmulatedTransaction: change to use GDALDataset;…
rouault Sep 19, 2024
76de10f
AVC: remove use of OGRDataSource
rouault Sep 19, 2024
9799716
TIGER: remove use of OGRDataSource
rouault Sep 19, 2024
eb9fb15
Geoconcept: remove use of OGRDataSource and OGRSFDriver
rouault Sep 19, 2024
09c58b2
DWG: remove use of OGRDataSource
rouault Sep 19, 2024
e901e6e
AmigoCloud: remove use of OGRDataSource
rouault Sep 19, 2024
a0f7fa9
OGR GMT: remove use of OGRDataSource
rouault Sep 19, 2024
58d3401
GeoJSON: remove use of OGRDataSource
rouault Sep 19, 2024
adc3174
OGR Memory: remove use of OGRDataSource and OGRSFDriver
rouault Sep 19, 2024
01aab02
GeoRSS: remove use of OGRDataSource
rouault Sep 19, 2024
0081bb9
KML: remove use of OGRDataSource
rouault Sep 19, 2024
5214fd9
ODBC: remove use of OGRDataSource
rouault Sep 19, 2024
9fb0a99
SXF: remove use of OGRDataSource and OGRSFDriver
rouault Sep 19, 2024
e6947c3
OGR PDS: remove use of OGRDataSource
rouault Sep 19, 2024
9cad9d7
OCI: remove use of OGRDataSource
rouault Sep 19, 2024
e6023e6
LIBKML: remove use of OGRDataSource
rouault Sep 19, 2024
f78e1e8
PGeo: remove use of OGRDataSource
rouault Sep 19, 2024
9403b27
MITAB: remove use of OGRDataSource
rouault Sep 19, 2024
0ad2026
MSSQLSpatial: remove use of OGRDataSource
rouault Sep 19, 2024
d2cfe6c
NTF: remove use of OGRDataSource
rouault Sep 19, 2024
bf3adbc
OpenFileGDB: remove use of OGRDataSource
rouault Sep 19, 2024
e720de5
SVG: remove use of OGRDataSource
rouault Sep 19, 2024
6dbb53a
OGDI: remove use of OGRDataSource
rouault Sep 19, 2024
6389690
DXF: remove use of OGRDataSource
rouault Sep 19, 2024
d599ac2
WASP: remove use of OGRDataSource and OGRSFDriver
rouault Sep 19, 2024
9fa2385
PG: remove use of OGRDataSource
rouault Sep 19, 2024
003a4ad
VFK: remove use of OGRDataSource
rouault Sep 19, 2024
707835c
XLS: remove use of OGRDataSource
rouault Sep 19, 2024
54fa553
Shape: remove use of OGRDataSource
rouault Sep 19, 2024
abc40b7
Carto: remove use of OGRDataSource
rouault Sep 19, 2024
973dca9
MySQL: remove use of OGRDataSource
rouault Sep 19, 2024
3bc0e06
CSV: remove use of OGRDataSource
rouault Sep 19, 2024
8cdae19
Selafin: remove use of OGRDataSource
rouault Sep 19, 2024
21dcf73
WFS: remove use of OGRDataSource
rouault Sep 19, 2024
17ebd1e
ILI1 and ILI2: remove use of OGRDataSource
rouault Sep 19, 2024
0f66a48
ogr_geocoding.cpp: remove use of OGRDataSource
rouault Sep 19, 2024
6bdf336
Remove unused ogr/ogr_capi_test.c
rouault Sep 19, 2024
f0817cb
SQLite: remove use of OGRDataSource
rouault Sep 19, 2024
ddbeda2
MBTiles: remove use of OGRDataSourceH
rouault Sep 19, 2024
fbe7275
Rasterlite: remove use of OGRDataSourceH
rouault Sep 19, 2024
762fe15
PDF: remove use of OGRDataSourceH
rouault Sep 19, 2024
f1ef574
NITF: remove use of OGRDataSourceH
rouault Sep 19, 2024
983fdeb
RFC 101 text: update status
rouault Sep 19, 2024
817899c
Merge pull request #10676 from rouault/rfc101_text
rouault Sep 19, 2024
4515651
Make GDALRasterBand::InterpolateAtPoint() method virtual
rouault Aug 27, 2024
86d8526
Make GDALRasterBand::EnablePixelTypeSignedByteWarning() method virtual
rouault Aug 28, 2024
027e957
Make GDALRasterBand::GetLockedBlockRef/TryGetLockedBlockRef/FlushBloc…
rouault Aug 28, 2024
70b0143
GDALRasterBand: tag more methods as const
rouault Aug 28, 2024
7ac2d7d
Python bindings: Dataset.Close(): invalidate children before closing …
rouault Aug 29, 2024
8823ea4
[RFC 101] Add GDALGetThreadSafeDataset() and GDAL_OF_THREAD_SAFE
rouault Aug 28, 2024
80f785d
OGRSpatialReference: add a AssignAndSetThreadSafe() method
rouault Sep 9, 2024
b4999bb
GDALDataset::GetProjectionRef() and GetGCPProjection(): add locking o…
rouault Sep 9, 2024
580c610
GDALThreadSafeDataset: handle the case of methods that return non pri…
rouault Sep 9, 2024
927be3f
Merge pull request #10746 from rouault/raster_multi_thread
rouault Sep 19, 2024
518c2e2
LIBKML: report XML id attribute as 'id' field; implement SetFeature()…
rouault Sep 18, 2024
63f2bf8
PDF: remove use of OGRDataSourceH
rouault Sep 19, 2024
9bb7aa7
PDF: enable -Weffc++ and -Wold-style-cast
rouault Sep 20, 2024
60fc9c5
PDF: rename ROUND_TO_INT_IF_CLOSE() function
rouault Sep 20, 2024
d5ed936
PDF: avoid 'Non closed ring detected' warning when reading neatlines …
rouault Sep 20, 2024
14faa95
appslib: enable -Weffc++
rouault Sep 20, 2024
2545a2c
Doc: Add more detail to THRESHOLD config option
dbaston Sep 20, 2024
5ff357b
Merge pull request #10852 from dbaston/doc-threshold
rouault Sep 20, 2024
fe5137f
ogr_wkb.h: add missing include
rouault Sep 22, 2024
5808d8d
Fix build issue with libgeotiff < 1.6 and VICAR driver as a plugin
rouault Sep 22, 2024
123930a
Make OGR_VRT driver optional and buildable as plugin
rouault Sep 21, 2024
feced73
Make KML driver optional and buildable as plugin
rouault Sep 21, 2024
b4ca4d3
autotest/cpp: make them succeed without Shapefile driver
rouault Sep 21, 2024
966b01c
Make Shapefile driver optional and buildable as plugin
rouault Sep 21, 2024
b2ae27f
Fixes for CMAKE_UNITY_BUILD
rouault Sep 21, 2024
996230d
Preparatory work to make GeoJSON driver optional
rouault Sep 21, 2024
6ebc888
Make GeoJSON (and companion TopoJSON, ESRIJSON, GeoJSONSeq) drivers o…
rouault Sep 21, 2024
28a00b0
Make MapInfo driver optional or buildable as a plugin (if not builtin…
rouault Sep 22, 2024
58cc577
/vsicurl/: no longer forward Authorization header when doing redirect…
rouault Sep 22, 2024
1bd4333
Backup potential useful links to old Trac wiki [ci skip]
rouault Sep 22, 2024
3b37f5a
Doc: remove links to Trac wiki (or point to web.archive.org)
rouault Sep 22, 2024
be866a5
autotest: skip nwt_grd/nwt_grc when drivers not there
rouault Sep 22, 2024
b783045
Allow Northwoord drivers to be built if TAB driver is disabled (but w…
rouault Sep 22, 2024
be2db8b
pcidsk.py: add requirements to PNG driver
rouault Sep 22, 2024
cd635ee
Raster MEM driver: disable opening a dataset with MEM::: syntax by de…
rouault Sep 22, 2024
b51f137
Fix Coverity Scan issues (master only)
rouault Sep 22, 2024
453ab82
nitfdump.c: fix warnings
rouault Sep 22, 2024
9f8fea1
frmts/nitf/CMakeLists.txt: add missing nitfdes.c to nitfdump
rouault Sep 22, 2024
3b15049
Allow to partially disable VRT driver with GDAL_ENABLE_VRT_DRIVER=OFF
rouault Sep 22, 2024
3a5c02e
Derived driver: make it optional
rouault Sep 23, 2024
1c8b8b0
Doc: Add high-level description of gdalwarp procedure
dbaston Sep 20, 2024
d9f05d3
CI: check that the Ubuntu 24.04 and Windows Conda builds have the exp…
rouault Sep 23, 2024
24b161c
Merge pull request #10864 from dbaston/doc-warp
rouault Sep 23, 2024
51bf0ec
CI: add libheif to 24.04 and Windows Conda builds
rouault Sep 23, 2024
b4360bc
NITF: when built as plugin, make sure to register the RPFTOC and ECRG…
rouault Sep 24, 2024
e70f441
[gdal_contour] Fix argparse nargs issue
elpaso Sep 24, 2024
6aa2e2e
Merge pull request #10866 from elpaso/bugfix-gh10854-gdal_contour-arg…
rouault Sep 24, 2024
664799a
GTiff: fix to not delete DIMAP XML files when cleaning overviews on a…
rouault Sep 24, 2024
388d97f
GeoRaster: Preserve quote in the connection string to the GeoRaster d…
fechen123 Sep 24, 2024
5ed310e
MiraMonVector: fix memory leak on corrupted products (oss-fuzz 369216…
AbelPau Sep 25, 2024
b4fb034
Doc: Add missing word to MBTiles docs [ci skip]
lnicola Sep 26, 2024
b89b28d
Merge pull request #10876 from lnicola/patch-1
rouault Sep 26, 2024
61555de
GTiff: do not query TIFFTAG_TRANSFERFUNCTION if m_nBitsPerSample > 24
rouault Sep 26, 2024
160b1dc
gdalwarp: be more robust to numerical instability when selecting over…
rouault Sep 26, 2024
faccfea
README.md: remove Travis CI badge [ci skip]
rouault Sep 26, 2024
31ce94f
Doc: sorry, no VPAT here (#10880)
rouault Sep 26, 2024
f4766b1
Make gdalinfo/ogrinfo --formats -json work
rouault Sep 26, 2024
283ef74
CMake: still build GeoJSON and Shapefile drivers by default, even if …
rouault Sep 26, 2024
8055974
gti.rst: grammar fix
rouault Sep 27, 2024
de392b9
Merge pull request #10808 from rouault/fix_10805
rouault Sep 27, 2024
82c04de
Merge pull request #10812 from rouault/fix_10809
rouault Sep 27, 2024
caf4b54
Merge pull request #10832 from rouault/fix_10829
rouault Sep 27, 2024
725739a
Merge pull request #10833 from rouault/deferred_warped_vrt_overview
rouault Sep 27, 2024
c32fbfe
Merge pull request #10846 from rouault/remove_use_OGRSFDriver_OGRData…
rouault Sep 27, 2024
9757124
Merge pull request #10844 from rouault/doc_security
rouault Sep 27, 2024
91bfec3
Doc: typo fix
rouault Sep 27, 2024
27cab6c
CI Mac Homebrew: workaround issue with latest hdf5 package
rouault Sep 27, 2024
b23a4b3
Merge pull request #10890 from rouault/workaround_brew_hdf5
rouault Sep 27, 2024
13df1be
Doc: warn about incomplete S-102 v3 support
rouault Sep 27, 2024
68c4838
Merge pull request #10891 from rouault/doc_s102_warning
rouault Sep 28, 2024
d04e73d
[gdal_contour] Fix regression when fixed level == raster max (#10885)
elpaso Sep 28, 2024
e75b18e
Warper: fix too lax heuristics about antimeridian warping for Avg/Sum…
rouault Sep 28, 2024
57d953e
VRTProcessedDataset: fix issue when computing RasterIO window on auxi…
rouault Sep 30, 2024
619185b
MiraMonVector Fix issue 5250834764464128
AbelPau Sep 30, 2024
c62cfc1
Merge pull request #10895 from rouault/vrtprocesseddataset_edge_effects
rouault Sep 30, 2024
7c02fda
Merge pull request #10894 from rouault/fix_10892
rouault Sep 30, 2024
dc46a7b
Merge pull request #10897 from AbelPau/MiraMonVector-Fix-issue-525083…
rouault Sep 30, 2024
4ded6ed
Doc: SQLite dialect: remove erroneous mention about GEOMETRY being a …
rouault Sep 30, 2024
7babe99
Code typo fixes
rouault Sep 30, 2024
5163f78
Merge pull request #10834 from rouault/eeda_VSI_PATH_FOR_AUTH
rouault Sep 30, 2024
e46313f
Merge pull request #10840 from rouault/libkml_update_delete
rouault Sep 30, 2024
9a36d29
Merge pull request #10848 from rouault/pdf_strong_cxx_flags
rouault Sep 30, 2024
a807f7c
Merge pull request #10849 from rouault/pdf_ogc_bp_neatline
rouault Sep 30, 2024
67daebf
Merge pull request #10851 from rouault/appslib_effcpp
rouault Sep 30, 2024
092b1b3
Merge pull request #10856 from rouault/more_optional_drivers
rouault Sep 30, 2024
aef927b
Merge pull request #10857 from rouault/http_redirect_bearer
rouault Sep 30, 2024
1eedc9b
Merge pull request #10860 from rouault/vrt_optional
rouault Sep 30, 2024
5698b3f
Merge pull request #10861 from rouault/GDAL_MEM_ENABLE_OPEN
rouault Sep 30, 2024
e37e680
Merge pull request #10863 from rouault/ci_expected_formats
rouault Sep 30, 2024
d832173
Merge pull request #10868 from rouault/tiff_do_not_delete_dim_on_ovr
rouault Sep 30, 2024
d413cc8
Memory/Geoconcept: restore GDAL_DMD_LONGNAME (master only)
rouault Sep 30, 2024
b4e2202
CI Windows: set -DOGR_ENABLE_DRIVER_GEOJSON_PLUGIN=OFF
rouault Sep 30, 2024
7d0ed64
ODBC: add GDAL_DMD_LONGNAME
rouault Sep 30, 2024
5deb126
test_driver_metadata.py: check all drivers have a DMD_LONGNAME
rouault Sep 30, 2024
1571b1b
CI: upate expected_ogrinfo_formats
rouault Oct 1, 2024
84d127a
CPLGetValueType(): do not recognize '01' as integer, but as string
rouault Sep 30, 2024
d5feb1d
Bump github/codeql-action from 3.26.6 to 3.26.10
dependabot[bot] Oct 1, 2024
e9f07b9
Bump actions/checkout from 4.1.7 to 4.2.0
dependabot[bot] Oct 1, 2024
5ee7cde
Merge pull request #10906 from OSGeo/dependabot/github_actions/action…
rouault Oct 1, 2024
ecc3648
Merge pull request #10905 from OSGeo/dependabot/github_actions/github…
rouault Oct 1, 2024
0472c5d
Merge pull request #10902 from rouault/CPLGetValueType_01
rouault Oct 1, 2024
c0a14a4
More consistent registration order for GTI (master only)
rouault Oct 1, 2024
6ca3154
Make the GTiff driver optional
rouault Sep 22, 2024
6e95c3b
HFA (Erdas Imagine) driver: make it optional and buildable as a plugin
rouault Sep 22, 2024
a157ac2
PG/PGDump: properly truncates identifiers exactly of 64 characters
rouault Oct 1, 2024
a93973b
Merge pull request #10862 from rouault/gtiff_optional
rouault Oct 1, 2024
9b57c09
Merge pull request #10858 from rouault/hfa_optional
rouault Oct 1, 2024
9660894
derived.py: skip if driver not enabled
rouault Oct 1, 2024
f0a3c95
ogr_PDS: remove non-existent dependency to GML
rouault Oct 2, 2024
5984846
Build: enable -DOGR_ENABLE_DRIVER_GML_PLUGIN=ON, provided that -DOGR_…
rouault Oct 1, 2024
579ffc7
Build: make the OAPIF driver independent from the WFS one, and plugin…
rouault Oct 2, 2024
fb2130c
[doc] fix link to GDAL sponsorship prospectus
jjimenezshaw Oct 2, 2024
ebf55e6
Merge pull request #10916 from jjimenezshaw/link-sponsorship-prospectus
rouault Oct 2, 2024
b949670
Python bindings: fix passing a dict value to the transformerOptions a…
rouault Oct 3, 2024
0197f83
port: Fix minor typos
schwehr Oct 3, 2024
3a9bf85
Merge pull request #10923 from schwehr/typos
rouault Oct 3, 2024
8488a39
PG: ensure current user has superuser priviledge beore attemption to …
rouault Oct 4, 2024
d8c569d
Merge pull request #10879 from rouault/fix_10873
rouault Oct 4, 2024
88994b7
Merge pull request #10912 from rouault/fix_10907
rouault Oct 4, 2024
7888722
Merge pull request #10921 from rouault/fix_10919
rouault Oct 4, 2024
f1f750e
Merge pull request #10900 from rouault/sql_sqlite_dialect_fix
rouault Oct 4, 2024
37ff703
docker: print HTTP errors on failure
pjonsson Oct 4, 2024
a6a034a
DIMAP: emit verbose error message if not able to open image file
rouault Oct 4, 2024
881550f
NITF: properly take into account comma-separated list of values for J…
rouault Oct 4, 2024
9acdfef
Merge pull request #10926 from rouault/fix_10925
rouault Oct 4, 2024
88bca08
Merge pull request #10929 from pjonsson/print-http-errors
rouault Oct 4, 2024
b067b12
Merge pull request #10931 from rouault/fix_10928
rouault Oct 4, 2024
916280a
Merge pull request #10930 from rouault/nitf_quality
rouault Oct 4, 2024
43efaa5
NITF: fix parsing of CSCSDB DES
rouault Oct 5, 2024
9b44a75
Merge pull request #10881 from rouault/gdalinfo_ogrinfo_formats_json
rouault Oct 5, 2024
3b92680
Merge pull request #10914 from rouault/gml_plugin
rouault Oct 5, 2024
a8effd5
MIGRATION_GUIDE.TXT: add hints about new optional drivers [ci skip]
rouault Oct 5, 2024
3c00e08
Merge pull request #10942 from rouault/nitf_CSCSDB_fix
rouault Oct 5, 2024
d09bdd0
scripts/fix_typos.sh: extend authorized words [ci skip]
rouault Oct 5, 2024
a8f5915
CI: do not trigger builds for changes in docker/
rouault Oct 5, 2024
14c7415
CI: add a workflow to build docker/ images
rouault Oct 5, 2024
cf3e254
Merge pull request #10947 from rouault/ci_docker
rouault Oct 5, 2024
d0eb0a9
Merge pull request #10944 from rouault/ci_ignore_docker
rouault Oct 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 9 additions & 1 deletion .github/workflows/alpine/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN apk add \
kealib-dev \
libaec-dev \
libarchive-dev \
libavif-dev \
libdeflate-dev \
libgeotiff-dev \
libheif-dev \
Expand Down Expand Up @@ -62,7 +63,6 @@ RUN apk add \
sfcgal-dev \
snappy-dev \
sqlite-dev \
swig \
tiledb-dev \
tiff-dev \
unixodbc-dev \
Expand All @@ -73,3 +73,11 @@ RUN apk add \

COPY requirements.txt /tmp/
RUN python3 -m pip install --break-system-packages -U -r /tmp/requirements.txt

RUN apk add git autoconf automake libtool bison && \
git clone --branch "${SWIG_GIT_TAG:-master}" --depth 1 https://github.com/swig/swig.git swig-git && \
cd swig-git && \
./autogen.sh && \
./configure --prefix=/usr && \
make -j$(nproc) && \
make install
1 change: 1 addition & 0 deletions .github/workflows/alpine_32bit/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ RUN apk add \
kealib-dev \
libaec-dev \
libarchive-dev \
libavif-dev \
libdeflate-dev \
libgeotiff-dev \
libheif-dev \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/alpine_numpy2/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ RUN apk add \
zlib-dev \
zstd-dev

# Commenting out those packages to be sure to test numpy 2.0.0rc1
# Commenting out those packages to be sure to test numpy 2.0.0
# py3-numpy \
# py3-numpy-dev \
# py3-pyarrow \
Expand All @@ -77,6 +77,6 @@ RUN apk add \
RUN mv /usr/lib/python3.12/site-packages/pyarrow /usr/lib/python3.12/site-packages/pyarrow.disabled

COPY requirements.txt /tmp/
RUN python3 -m pip install --break-system-packages numpy==2.0.0rc1
RUN python3 -m pip install --break-system-packages numpy==2.0.0
RUN python3 -m pip install --break-system-packages -U -r /tmp/requirements.txt

4 changes: 3 additions & 1 deletion .github/workflows/android_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ on:
push:
paths-ignore:
- 'doc/**'
- 'docker/**'
branches-ignore:
- 'backport**'
- 'dependabot**'
pull_request:
paths-ignore:
- 'doc/**'
- 'docker/**'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
Expand All @@ -24,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0

- name: Cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cifuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
paths-ignore:
- 'doc/**'
- 'docker/**'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
Expand Down Expand Up @@ -31,7 +32,7 @@ jobs:
fuzz-seconds: 600
dry-run: false
- name: Upload Crash
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/clang_static_analyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ on:
push:
paths-ignore:
- 'doc/**'
- 'docker/**'
branches-ignore:
- 'backport**'
- 'dependabot**'
pull_request:
paths-ignore:
- 'doc/**'
- 'docker/**'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
Expand All @@ -24,7 +26,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0

- name: Run
run: docker run --rm -v $PWD:$PWD ubuntu:22.04 sh -c "cd $PWD && apt update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends sudo software-properties-common && DEBIAN_FRONTEND=noninteractive sh ./ci/travis/csa_common/before_install.sh && sh ./ci/travis/csa_common/install.sh && sh ./ci/travis/csa_common/script.sh"
78 changes: 56 additions & 22 deletions .github/workflows/cmake_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ on:
push:
paths-ignore:
- 'doc/**'
- 'docker/**'

branches-ignore:
- 'backport**'
- 'dependabot**'
pull_request:
paths-ignore:
- 'doc/**'
- 'docker/**'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
Expand All @@ -32,7 +35,7 @@ jobs:
cache-name: cmake-ubuntu-focal
steps:
- name: Checkout GDAL
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Setup cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
id: cache
Expand Down Expand Up @@ -94,7 +97,7 @@ jobs:
# Workaround bug in ogdi packaging
sudo ln -s /usr/lib/ogdi/libvrf.so /usr/lib
#
python3 -m pip install -U pip wheel setuptools numpy
python3 -m pip install -U pip wheel setuptools numpy importlib_metadata
python3 -m pip install -r $GITHUB_WORKSPACE/autotest/requirements.txt

- name: Build libjxl
Expand Down Expand Up @@ -142,12 +145,12 @@ jobs:

- name: Install pdfium
run: |
wget -q https://github.com/rouault/pdfium_build_gdal_3_9/releases/download/pdfium_6309_v1/install-ubuntu2004-rev6309.tar.gz \
&& tar -xzf install-ubuntu2004-rev6309.tar.gz \
wget -q https://github.com/rouault/pdfium_build_gdal_3_10/releases/download/pdfium_6677_v1/install-ubuntu2004-rev6677.tar.gz \
&& tar -xzf install-ubuntu2004-rev6677.tar.gz \
&& sudo chown -R root:root install \
&& sudo mv install/lib/* /usr/lib/ \
&& sudo mv install/include/* /usr/include/ \
&& sudo rm -rf install-ubuntu2004-rev6309.tar.gz install \
&& sudo rm -rf install-ubuntu2004-rev6677.tar.gz install \
&& sudo apt-get update -y \
&& sudo apt-get install -y --fix-missing --no-install-recommends liblcms2-dev
- name: Configure ccache
Expand Down Expand Up @@ -214,15 +217,15 @@ jobs:
test -f $GITHUB_WORKSPACE/install-gdal/share/man/man1/gdaladdo.1
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/install-gdal/lib
$GITHUB_WORKSPACE/install-gdal/bin/gdalinfo --version
PYTHONPATH=$GITHUB_WORKSPACE/install-gdal/lib/python3/dist-packages python3 -c "from osgeo import gdal;print(gdal.VersionInfo(None))"
PYTHONPATH=$GITHUB_WORKSPACE/install-gdal/lib/python3/dist-packages python3 $GITHUB_WORKSPACE/scripts/check_doc.py
PYTHONPATH=$GITHUB_WORKSPACE/install-gdal/lib/python3.8/site-packages python3 -c "from osgeo import gdal;print(gdal.VersionInfo(None))"
PYTHONPATH=$GITHUB_WORKSPACE/install-gdal/lib/python3.8/site-packages python3 $GITHUB_WORKSPACE/scripts/check_doc.py
- name: CMake with rpath
run: |
export PATH=$CMAKE_DIR:/usr/local/bin:/usr/bin:/bin # Avoid CMake config from brew etc.
(cd $GITHUB_WORKSPACE/superbuild/build; cmake .. "-DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/install-gdal-with-rpath" "-DCMAKE_INSTALL_RPATH=$GITHUB_WORKSPACE/install-gdal-with-rpath/lib")
cmake --build $GITHUB_WORKSPACE/superbuild/build --target install -- -j$(nproc)
# For some reason, during the install phase of above invocation, the Python bindings are rebuilt after the build phase, and without the rpath... Can't reproduce that locally
# PYTHONPATH=$GITHUB_WORKSPACE/install-gdal-with-rpath/lib/python3/dist-packages python -c "from osgeo import gdal;print(gdal.VersionInfo(None))"
# PYTHONPATH=$GITHUB_WORKSPACE/install-gdal-with-rpath/lib/python3.8/site-packages python -c "from osgeo import gdal;print(gdal.VersionInfo(None))"
- name: Rerun using Mono
run: |
export PATH=$CMAKE_DIR:/usr/local/bin:/usr/bin:/bin # Avoid CMake config from brew etc.
Expand Down Expand Up @@ -312,9 +315,9 @@ jobs:
run: |
git config --global core.autocrlf false
- name: Checkout GDAL
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Install development packages
uses: msys2/setup-msys2@cc11e9188b693c2b100158c3322424c4cc1dadea # v2.22.0
uses: msys2/setup-msys2@ddf331adaebd714795f1042345e6ca57bd66cea8 # v2.24.1
with:
msystem: MINGW64
update: true
Expand All @@ -325,7 +328,7 @@ jobs:
mingw-w64-x86_64-geos mingw-w64-x86_64-libspatialite mingw-w64-x86_64-proj
mingw-w64-x86_64-cgal mingw-w64-x86_64-libfreexl mingw-w64-x86_64-hdf5 mingw-w64-x86_64-netcdf mingw-w64-x86_64-poppler mingw-w64-x86_64-podofo mingw-w64-x86_64-postgresql
mingw-w64-x86_64-libgeotiff mingw-w64-x86_64-libpng mingw-w64-x86_64-libtiff mingw-w64-x86_64-openjpeg2
mingw-w64-x86_64-python-pip mingw-w64-x86_64-python-numpy mingw-w64-x86_64-python-pytest mingw-w64-x86_64-python-setuptools mingw-w64-x86_64-python-lxml mingw-w64-x86_64-swig mingw-w64-x86_64-python-psutil mingw-w64-x86_64-blosc
mingw-w64-x86_64-python-pip mingw-w64-x86_64-python-numpy mingw-w64-x86_64-python-pytest mingw-w64-x86_64-python-setuptools mingw-w64-x86_64-python-lxml mingw-w64-x86_64-swig mingw-w64-x86_64-python-psutil mingw-w64-x86_64-blosc mingw-w64-x86_64-libavif
- name: Setup cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
id: cache
Expand Down Expand Up @@ -405,7 +408,7 @@ jobs:
run: |
git config --global core.autocrlf false
- name: Checkout GDAL
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
- name: populate JAVA_HOME
shell: pwsh
Expand All @@ -422,23 +425,23 @@ jobs:
- name: Install dependency
shell: bash -l {0}
run: |
conda install --yes --quiet curl libiconv icu python=3.10 swig numpy pytest pytest-env pytest-benchmark filelock zlib lxml jsonschema
conda install --yes --quiet curl libiconv icu python=3.10 swig numpy pytest pytest-env pytest-benchmark filelock zlib lxml jsonschema setuptools
# FIXME: remove libnetcdf=4.9.2=nompi_h5902ca5_107 pinning as soon as https://github.com/conda-forge/libnetcdf-feedstock/issues/182 is resolved
conda install --yes --quiet proj geos hdf4 hdf5 kealib \
libnetcdf=4.9.2=nompi_h5902ca5_107 openjpeg poppler libtiff libpng xerces-c expat libxml2 kealib json-c \
cfitsio freexl geotiff libjpeg-turbo libpq libspatialite libwebp-base pcre pcre2 postgresql \
sqlite tiledb zstd cryptopp cgal doxygen librttopo libkml openssl xz \
openjdk ant qhull armadillo blas blas-devel libblas libcblas liblapack liblapacke blosc libarchive \
arrow-cpp pyarrow libaec cmake
arrow-cpp pyarrow libaec libheif libavif cmake
- name: Check CMake version
shell: bash -l {0}
run: |
cmake --version
- name: Install pdfium
shell: bash -l {0}
run: |
curl -LOs https://github.com/rouault/pdfium_build_gdal_3_9/releases/download/pdfium_6309_v1/install-win10-vs2019-x64-rev6309.zip
unzip install-win10-vs2019-x64-rev6309.zip
curl -LOs https://github.com/rouault/pdfium_build_gdal_3_10/releases/download/pdfium_6677_v1/install-win10-vs2019-x64-rev6677.zip
unzip install-win10-vs2019-x64-rev6677.zip
mv install install-pdfium

- name: Remove conflicting libraries
Expand All @@ -456,7 +459,7 @@ jobs:
# Build PDF driver as plugin due to the PDFium build including libopenjp2 symbols which would conflict with external libopenjp2
run: |
mkdir -p $GITHUB_WORKSPACE/build
cmake -G "${generator}" -Werror=dev "-DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/install-gdal" "-DUSE_CCACHE=ON" "-DCMAKE_PREFIX_PATH=${CONDA}/envs/gdalenv" -DCMAKE_UNITY_BUILD=${CMAKE_UNITY_BUILD} -S "$GITHUB_WORKSPACE" -B "$GITHUB_WORKSPACE/build" -DGDAL_ENABLE_PLUGINS:BOOL=ON -DGDAL_ENABLE_PLUGINS_NO_DEPS:BOOL=ON -DGDAL_USE_PUBLICDECOMPWT:BOOL=ON -DPUBLICDECOMPWT_URL=https://github.com/rouault/PublicDecompWT -DBUILD_JAVA_BINDINGS=OFF -DBUILD_CSHARP_BINDINGS=ON -DGDAL_USE_MYSQL:BOOL=OFF -DCMAKE_C_FLAGS=" /WX" -DCMAKE_CXX_FLAGS=" /WX" -DWERROR_DEV_FLAG="-Werror=dev" -DCMAKE_BUILD_TYPE=Release -DPDFIUM_ROOT=$GITHUB_WORKSPACE/install-pdfium -DGDAL_ENABLE_DRIVER_PDF_PLUGIN:BOOL=ON -DCMAKE_UNITY_BUILD=ON
cmake -G "${generator}" -Werror=dev "-DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/install-gdal" "-DUSE_CCACHE=ON" "-DCMAKE_PREFIX_PATH=${CONDA}/envs/gdalenv" -DCMAKE_UNITY_BUILD=${CMAKE_UNITY_BUILD} -S "$GITHUB_WORKSPACE" -B "$GITHUB_WORKSPACE/build" -DGDAL_ENABLE_PLUGINS:BOOL=ON -DGDAL_ENABLE_PLUGINS_NO_DEPS:BOOL=ON -DGDAL_USE_PUBLICDECOMPWT:BOOL=ON -DPUBLICDECOMPWT_URL=https://github.com/rouault/PublicDecompWT -DBUILD_JAVA_BINDINGS=OFF -DBUILD_CSHARP_BINDINGS=ON -DGDAL_USE_MYSQL:BOOL=OFF -DCMAKE_C_FLAGS=" /WX" -DCMAKE_CXX_FLAGS=" /WX" -DWERROR_DEV_FLAG="-Werror=dev" -DCMAKE_BUILD_TYPE=Release -DPDFIUM_ROOT=$GITHUB_WORKSPACE/install-pdfium -DGDAL_ENABLE_DRIVER_PDF_PLUGIN:BOOL=ON -DCMAKE_UNITY_BUILD=ON -DOGR_ENABLE_DRIVER_TAB_PLUGIN=OFF -DOGR_ENABLE_DRIVER_GEOJSON_PLUGIN=OFF
- name: Build
shell: bash -l {0}
run: cmake --build $GITHUB_WORKSPACE/build --config Release -j 2
Expand Down Expand Up @@ -485,6 +488,17 @@ jobs:
PYTHONPATH=$GITHUB_WORKSPACE/install-gdal/lib/site-packages python -c "from osgeo import gdal;print(gdal.VersionInfo(None))"
export PATH=$GITHUB_WORKSPACE/install-gdal/Scripts:$PATH
PYTHONPATH=$GITHUB_WORKSPACE/install-gdal/lib/site-packages gdal_edit --version
- name: Check the build includes the expected drivers
shell: bash -l {0}
run: |
export PATH=$GITHUB_WORKSPACE/install-gdal/bin:$PATH
gdalinfo --formats > found_formats.txt
ogrinfo --formats >> found_formats.txt
cat found_formats.txt
cat $GITHUB_WORKSPACE/.github/workflows/windows_conda_expected_gdalinfo_formats.txt $GITHUB_WORKSPACE/.github/workflows/windows_conda_expected_ogrinfo_formats.txt > expected_formats.txt
dos2unix expected_formats.txt
dos2unix found_formats.txt
diff -u expected_formats.txt found_formats.txt
- name: Show gdal.pc
shell: bash -l {0}
run: cat $GITHUB_WORKSPACE/build/gdal.pc
Expand All @@ -507,7 +521,7 @@ jobs:
run: |
git config --global core.autocrlf false
- name: Checkout GDAL
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
with:
activate-environment: gdalenv
Expand All @@ -519,7 +533,7 @@ jobs:
- name: Install dependency
shell: bash -l {0}
run: |
conda install --yes --quiet proj pytest pytest-env pytest-benchmark filelock lxml cmake
conda install --yes --quiet proj pytest pytest-env pytest-benchmark filelock lxml cmake setuptools
- name: Check CMake version
shell: bash -l {0}
run: |
Expand All @@ -541,13 +555,31 @@ jobs:
shell: bash -l {0}
run: |
rm -f build/CMakeCache.txt
cmake -A ${architecture} -G "${generator}" "-DCMAKE_PREFIX_PATH=${CONDA}/envs/gdalenv" -Werror=dev "-DCMAKE_CXX_COMPILER_LAUNCHER=clcache" -DCMAKE_UNITY_BUILD=${CMAKE_UNITY_BUILD} -S "$GITHUB_WORKSPACE" -B "$GITHUB_WORKSPACE/build" -DCMAKE_C_FLAGS=" /WX" -DCMAKE_CXX_FLAGS=" /WX" -DGDAL_USE_EXTERNAL_LIBS:BOOL=OFF -DGDAL_USE_PNG_INTERNAL=OFF -DGDAL_USE_JPEG_INTERNAL=OFF -DGDAL_USE_JPEG12_INTERNAL=OFF -DGDAL_USE_GIF_INTERNAL=OFF -DGDAL_USE_LERC_INTERNAL=OFF -DGDAL_USE_LERCV1_INTERNAL=OFF -DGDAL_USE_QHULL_INTERNAL=OFF -DGDAL_USE_OPENCAD_INTERNAL=OFF -DGDAL_BUILD_OPTIONAL_DRIVERS=OFF -DOGR_BUILD_OPTIONAL_DRIVERS=OFF -DWERROR_DEV_FLAG="-Werror=dev"
cmake -A ${architecture} -G "${generator}" "-DCMAKE_PREFIX_PATH=${CONDA}/envs/gdalenv" -Werror=dev "-DCMAKE_CXX_COMPILER_LAUNCHER=clcache" -DCMAKE_UNITY_BUILD=${CMAKE_UNITY_BUILD} -S "$GITHUB_WORKSPACE" -B "$GITHUB_WORKSPACE/build" -DCMAKE_C_FLAGS=" /WX" -DCMAKE_CXX_FLAGS=" /WX" -DGDAL_USE_EXTERNAL_LIBS:BOOL=OFF -DGDAL_USE_PNG_INTERNAL=OFF -DGDAL_USE_JPEG_INTERNAL=OFF -DGDAL_USE_JPEG12_INTERNAL=OFF -DGDAL_USE_GIF_INTERNAL=OFF -DGDAL_USE_LERC_INTERNAL=OFF -DGDAL_USE_LERCV1_INTERNAL=OFF -DGDAL_USE_QHULL_INTERNAL=OFF -DGDAL_USE_OPENCAD_INTERNAL=OFF -DGDAL_BUILD_OPTIONAL_DRIVERS=OFF -DOGR_BUILD_OPTIONAL_DRIVERS=OFF -DGDAL_ENABLE_DRIVER_DERIVED=ON -DWERROR_DEV_FLAG="-Werror=dev"
- name: Build
shell: bash -l {0}
run: cmake --build $GITHUB_WORKSPACE/build --config RelWithDebInfo -j 2

- name: Re-enable shapefile driver (otherwise lots of python tests would fail)
shell: bash -l {0}
run: |
cmake -S "$GITHUB_WORKSPACE" -B "$GITHUB_WORKSPACE/build" -DOGR_ENABLE_DRIVER_SHAPE=ON -DOGR_ENABLE_DRIVER_SHAPE_PLUGIN=ON
- name: Build
shell: bash -l {0}
run: cmake --build $GITHUB_WORKSPACE/build --config RelWithDebInfo -j 2

# Works around https://github.com/actions/runner-images/issues/10055
- name: Remove conflicting libraries
shell: bash -l {0}
run: |
find "C:/hostedtoolcache/windows/Java_Temurin-Hotspot_jdk" -name "msvcp140.dll" -exec rm {} \;

- name: test (with ctest)
shell: bash -l {0}
run: |
# gnm_test has suddenly started failing around June 16th 2024
# Related to image windows-latest 20240603.1.0 / actions/runner-images#10004
echo "def test_dummy(): pass" > $GITHUB_WORKSPACE/autotest/gnm/gnm_test.py
ctest --test-dir $GITHUB_WORKSPACE/build -C RelWithDebInfo -V -j 3
env:
SKIP_GDAL_HTTP_SSL_VERIFYSTATUS: YES
Expand All @@ -574,7 +606,7 @@ jobs:
with:
xcode-version: 14.3
- name: Checkout GDAL
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Setup cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
id: cache
Expand All @@ -599,6 +631,8 @@ jobs:
brew link --force sqlite
# gdal is automatically installed as a dependency for postgis
brew uninstall --ignore-dependencies gdal
# Workaround for https://github.com/Homebrew/homebrew-core/pull/170959#issuecomment-2379606442
sed -i .bak 's/hdf5_hl;hdf5;/hdf5_hl-shared;hdf5-shared;/g' "$(brew --prefix netcdf)/lib/cmake/netCDF/netCDFTargets.cmake"
- name: Configure ccache
run: |
echo CCACHE_BASEDIR=$PWD >> ${GITHUB_ENV}
Expand Down Expand Up @@ -654,7 +688,7 @@ jobs:
run: |
git config --global core.autocrlf false
- name: Checkout GDAL
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
with:
activate-environment: gdalenv
Expand Down
Loading