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

Doc: add a thanks page #59

Open
wants to merge 49 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
160b1dc
gdalwarp: be more robust to numerical instability when selecting over…
rouault Sep 26, 2024
f4766b1
Make gdalinfo/ogrinfo --formats -json work
rouault Sep 26, 2024
4ded6ed
Doc: SQLite dialect: remove erroneous mention about GEOMETRY being a …
rouault Sep 30, 2024
a157ac2
PG/PGDump: properly truncates identifiers exactly of 64 characters
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
2ad3879
docker: fix docker casing warnings
pjonsson Oct 5, 2024
2d11e97
docker: use ninja as build system
pjonsson Oct 4, 2024
15f81ed
docker: fix ccache
pjonsson Oct 6, 2024
6fbbfc5
Merge pull request #10932 from pjonsson/use-ninja-build
rouault Oct 6, 2024
417845e
Merge pull request #10950 from pjonsson/docker-fix-ccache
rouault Oct 6, 2024
352887d
Update ogrinfo.rst
jidanni Oct 7, 2024
21ed772
Merge pull request #10953 from jidanni/patch-59
rouault Oct 7, 2024
c418dde
Doc: use 'version_selector' instead of 'display_version' which is dep…
rouault Oct 7, 2024
5de2b50
Doc: avoid issues with version selector
rouault Oct 7, 2024
37fec09
Merge pull request #10954 from rouault/doc_update_for_rtd_3_0_0
rouault Oct 7, 2024
46ad0f1
OGRFieldType: be explicit about signedness of OFTInteger/OTInteger64
rouault Oct 7, 2024
9de30c4
Doc: add a thanks page
rouault Oct 4, 2024
018e785
Update doc/source/thanks.rst
rouault Oct 8, 2024
c4b1378
Apply suggestions from code review
rouault Oct 8, 2024
96f3df0
Update doc/source/thanks.rst
rouault Oct 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .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 Down
1 change: 1 addition & 0 deletions .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
2 changes: 2 additions & 0 deletions .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 Down
3 changes: 3 additions & 0 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 Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql.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 Down
1 change: 1 addition & 0 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
paths-ignore:
- 'doc/**'
- 'docker/**'
branches-ignore:
- 'backport**'
- 'dependabot**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/delete_untagged_containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
paths-ignore:
- 'doc/**'
- 'docker/**'
branches-ignore:
- 'backport**'
- 'dependabot**'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/doc_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ jobs:
ldconfig
popd

- name: Update sphinx-rtd-theme
shell: bash -l {0}
run: |
pip install -U "sphinx-rtd-theme>=3.0.0"

- name: Print versions
shell: bash -l {0}
run: |
Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Docker

on:
pull_request:
paths:
- 'docker/**'
- '.github/workflows/docker.yml'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:

docker_builds:

strategy:
fail-fast: false
matrix:
include:
- name: alpine-small

- name: alpine-normal

- name: ubuntu-small

- name: ubuntu-full

name: ${{ matrix.name }}

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0

- name: Build
shell: bash -l {0}
run: |
cd docker/${{ matrix.name }}
./build.sh --platform linux/amd64
2 changes: 2 additions & 0 deletions .github/workflows/linux_build.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 Down
2 changes: 2 additions & 0 deletions .github/workflows/macos.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 Down
2 changes: 2 additions & 0 deletions .github/workflows/windows_build.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 Down
8 changes: 8 additions & 0 deletions MIGRATION_GUIDE.TXT
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
MIGRATION GUIDE FROM GDAL 3.9 to GDAL 3.10
------------------------------------------

- The Erdas Imagine (HFA) and Derived drivers are now optional drivers. Users
building with GDAL_BUILD_OPTIONAL_DRIVERS=OFF may need to explicitly enable
them with GDAL_ENABLE_DRIVER_HFA=ON and GDAL_ENABLE_DRIVER_DERIVED=ON.
The MapInfo, OGR_VRT and KML drivers are now an optional driver. Users
building with OGR_BUILD_OPTIONAL_DRIVERS=OFF may need to explicitly enable
them with OGR_ENABLE_DRIVER_TAB=ON, OGR_ENABLE_DRIVER_VRT=ON and
OGR_ENABLE_DRIVER_KML=ON.

- User code using VSIFEofL() to potentially to end read loops should also test
the return code of the new VSIFError() function. Some virtual file systems
that used to report errors through VSIFEofL() now do through VSIFError().
Expand Down
42 changes: 30 additions & 12 deletions apps/gdalwarp_lib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2826,8 +2826,17 @@ static GDALDatasetH GDALWarpDirect(const char *pszDest, GDALDatasetH hDstDS,

if (dfTargetRatio > 1.0)
{
int iOvr = -1;
for (; iOvr < nOvCount - 1; iOvr++)
// Note: keep this logic for overview selection in sync between
// gdalwarp_lib.cpp and rasterio.cpp
const char *pszOversampligThreshold = CPLGetConfigOption(
"GDALWARP_OVERSAMPLING_THRESHOLD", nullptr);
const double dfOversamplingThreshold =
pszOversampligThreshold ? CPLAtof(pszOversampligThreshold)
: 1.0;

int iBestOvr = -1;
double dfBestRatio = 0;
for (int iOvr = -1; iOvr < nOvCount; iOvr++)
{
const double dfOvrRatio =
iOvr < 0
Expand All @@ -2836,18 +2845,27 @@ static GDALDatasetH GDALWarpDirect(const char *pszDest, GDALDatasetH hDstDS,
poSrcDS->GetRasterBand(1)
->GetOverview(iOvr)
->GetXSize();
const double dfNextOvrRatio =
static_cast<double>(poSrcDS->GetRasterXSize()) /
poSrcDS->GetRasterBand(1)
->GetOverview(iOvr + 1)
->GetXSize();
if (dfOvrRatio < dfTargetRatio &&
dfNextOvrRatio > dfTargetRatio)
break;
if (fabs(dfOvrRatio - dfTargetRatio) < 1e-1)

// Is it nearly the requested factor and better (lower) than
// the current best factor?
// Use an epsilon because of numerical instability.
constexpr double EPSILON = 1e-1;
if (dfOvrRatio >=
dfTargetRatio * dfOversamplingThreshold + EPSILON ||
dfOvrRatio <= dfBestRatio)
{
continue;
}

iBestOvr = iOvr;
dfBestRatio = dfOvrRatio;
if (std::abs(dfTargetRatio - dfOvrRatio) < EPSILON)
{
break;
}
}
iOvr += (psOptions->nOvLevel - OVR_LEVEL_AUTO);
const int iOvr =
iBestOvr + (psOptions->nOvLevel - OVR_LEVEL_AUTO);
if (iOvr >= 0)
{
CPLDebug("WARP", "Selecting overview level %d for %s", iOvr,
Expand Down
4 changes: 2 additions & 2 deletions autotest/gcore/rasterio.py
Original file line number Diff line number Diff line change
Expand Up @@ -3318,11 +3318,11 @@ def test_rasterio_overview_selection():
assert ds.GetRasterBand(1).ReadRaster(0, 0, 100, 100, 101, 101)[0] == 1
assert ds.GetRasterBand(1).ReadRaster(0, 0, 100, 100, 100, 100)[0] == 1
assert ds.GetRasterBand(1).ReadRaster(0, 0, 100, 100, 99, 99)[0] == 1
assert ds.GetRasterBand(1).ReadRaster(0, 0, 100, 100, 60, 60)[0] == 1
assert ds.GetRasterBand(1).ReadRaster(0, 0, 100, 100, 60, 60)[0] == 2
assert ds.GetRasterBand(1).ReadRaster(0, 0, 100, 100, 59, 59)[0] == 2
assert ds.GetRasterBand(1).ReadRaster(0, 0, 100, 100, 50, 50)[0] == 2
assert ds.GetRasterBand(1).ReadRaster(0, 0, 100, 100, 49, 49)[0] == 2
assert ds.GetRasterBand(1).ReadRaster(0, 0, 100, 100, 30, 30)[0] == 2
assert ds.GetRasterBand(1).ReadRaster(0, 0, 100, 100, 30, 30)[0] == 3
assert ds.GetRasterBand(1).ReadRaster(0, 0, 100, 100, 29, 29)[0] == 3
assert ds.GetRasterBand(1).ReadRaster(0, 0, 100, 100, 25, 25)[0] == 3
assert ds.GetRasterBand(1).ReadRaster(0, 0, 100, 100, 24, 24)[0] == 3
Expand Down
Loading
Loading