forked from OSGeo/gdal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/OSGeo/gdal into grib-changes
- Loading branch information
Showing
4,615 changed files
with
694,337 additions
and
366,425 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,37 @@ | ||
[flake8] | ||
max_line_length = 88 | ||
ignore = | ||
C408 # Unnecessary dict/list/tuple call - rewrite as a literal | ||
E203 # whitespace before ':' - doesn't work well with black | ||
E225 # missing whitespace around operator - let black worry about that | ||
E262 # inline comment should start with '# ' | ||
E265 # block comment should start with '# ' | ||
E266 # too many leading '#' for block comment | ||
E302 # expected 2 blank lines, found 1 | ||
E402 # module level import not at top of file | ||
E501 # line too long - let black handle that | ||
E711 # comparison to None should be | ||
E712 # comparison to False/True should be | ||
E741 # ambiguous variable name | ||
F405 # may be undefined, or defined from star imports | ||
W291 # trailing | ||
W503 # line break occurred before a binary operator - let black worry about that | ||
W504 # line break occurred adter a binary operator - let black worry about that | ||
# Unnecessary dict/list/tuple call - rewrite as a literal | ||
C408 | ||
# whitespace before ':' - doesn't work well with black | ||
E203 | ||
# missing whitespace around operator - let black worry about that | ||
E225 | ||
# inline comment should start with '# ' | ||
E262 | ||
# block comment should start with '# ' | ||
E265 | ||
# too many leading '#' for block comment | ||
E266 | ||
# expected 2 blank lines, found 1 | ||
E302 | ||
# module level import not at top of file | ||
E402 | ||
# line too long - let black handle that | ||
E501 | ||
# comparison to None should be | ||
E711 | ||
# comparison to False/True should be | ||
E712 | ||
# ambiguous variable name | ||
E741 | ||
# may be undefined, or defined from star imports | ||
F405 | ||
# trailing | ||
W291 | ||
# line break occurred before a binary operator - let black worry about that | ||
W503 | ||
# line break occurred adter a binary operator - let black worry about that | ||
W504 | ||
per-file-ignores = | ||
.cmake-format.py:F821 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Bug report | ||
description: Create a bug report. | ||
labels: | ||
- 'Bug' | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report correctly. Do NOT use this form to post any questions or support requests! They will be closed immediately and ignored. | ||
The GDAL project is made of contributions from various individuals and organizations, each with their own focus. The issue you are facing is not necessarily in the priority list of those contributors and consequently there is no guarantee that it will be addressed in a timely manner. If this bug report or feature request is high-priority for you, and you cannot address it yourself, we suggest engaging a GDAL developer or support organisation and financially sponsoring a fix. | ||
- type: textarea | ||
id: what | ||
attributes: | ||
label: What is the bug? | ||
description: | | ||
If you think there is an issue with coordinate order in GDAL 3.0, then it is likely an intended behavior. See https://github.com/OSGeo/gdal/issues/1974 for more explanations. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: steps | ||
attributes: | ||
label: Steps to reproduce the issue | ||
description: | | ||
Steps, code extract and/or sample datasets to reproduce the behavior. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: about-info | ||
attributes: | ||
label: Versions and provenance | ||
description: | | ||
Please indicate the operating system (e.g "Windows 11", or "Linux Ubuntu 22.04") and the GDAL version, for example by pasting the output of ``gdalinfo --version``. Please also indicate how you got the GDAL binary. For example: self-built, package coming from the Linux distribution, from OSGeo4W, from Conda-Forge, from vcpkg, etc. | ||
Note that the GDAL project supports only the current version https://gdal.org/download.html#current-release so it should be used for testing. Or at least the newest easily available version for your platform. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: additional-context | ||
attributes: | ||
label: Additional context | ||
description: | | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Feature request | ||
description: Suggest a feature idea. | ||
labels: | ||
- 'enhancement' | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this feature request correctly. | ||
- type: textarea | ||
id: what | ||
attributes: | ||
label: Feature description | ||
description: A clear and concise description of what you want to happen. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: Additional | ||
attributes: | ||
label: Additional context | ||
description: | | ||
Add any other context about the feature request here. Open source is community driven, please consider a way to support this work either by hiring developers, supporting the GDAL project, find someone to submit a pull request. | ||
If the change required is important, you should consider writing a [GDAL RFC](https://gdal.org/development/rfc/index.html) or hiring someone to, and announce your work on the maiing list. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
blank_issues_enabled: false | ||
|
||
contact_links: | ||
|
||
- name: Question | ||
url: https://gis.stackexchange.com/ | ||
about: > | ||
Questions should go to the gdal-dev mailing list at https://lists.osgeo.org/mailman/listinfo/gdal-dev | ||
or other support forums such as https://gis.stackexchange.com/. | ||
GitHub issues are for bug reports and suggestions for new features. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ updates: | |
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
interval: "monthly" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
FROM alpine:edge | ||
|
||
RUN apk add \ | ||
apache-arrow-dev \ | ||
armadillo-dev \ | ||
basisu-dev \ | ||
blosc-dev \ | ||
brunsli-dev \ | ||
ccache \ | ||
cfitsio-dev \ | ||
cmake \ | ||
curl-dev \ | ||
expat-dev \ | ||
freexl-dev \ | ||
gcc \ | ||
g++ \ | ||
geos-dev \ | ||
giflib-dev \ | ||
gnu-libiconv-dev \ | ||
hdf5-dev \ | ||
json-c-dev \ | ||
kealib-dev \ | ||
libaec-dev \ | ||
libarchive-dev \ | ||
libavif-dev \ | ||
libdeflate-dev \ | ||
libgeotiff-dev \ | ||
libheif-dev \ | ||
libjpeg-turbo-dev \ | ||
libjxl-dev \ | ||
libkml-dev \ | ||
libpng-dev \ | ||
libpq-dev \ | ||
librasterlite2-dev \ | ||
libspatialite-dev \ | ||
libtirpc-dev \ | ||
libwebp-dev \ | ||
libxml2-dev \ | ||
libxslt-dev \ | ||
linux-headers \ | ||
lz4-dev \ | ||
make \ | ||
mariadb-connector-c-dev \ | ||
netcdf-dev \ | ||
odbc-cpp-wrapper-dev \ | ||
ogdi-dev \ | ||
openexr-dev \ | ||
openjpeg-dev \ | ||
openssl-dev \ | ||
pcre2-dev \ | ||
podofo-dev \ | ||
poppler-dev \ | ||
proj-dev \ | ||
proj-util \ | ||
py3-pyarrow \ | ||
py3-pyarrow-pyc \ | ||
py3-numpy \ | ||
py3-numpy-dev \ | ||
py3-pip \ | ||
py3-setuptools \ | ||
python3-dev \ | ||
qhull-dev \ | ||
sfcgal-dev \ | ||
snappy-dev \ | ||
sqlite-dev \ | ||
tiledb-dev \ | ||
tiff-dev \ | ||
unixodbc-dev \ | ||
xerces-c-dev \ | ||
xz-dev \ | ||
zlib-dev \ | ||
zstd-dev | ||
|
||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
cat << EOF > /tmp/foo.cpp | ||
#include <cstdio> | ||
extern "C" void DeclareDeferredFOO(void); | ||
void DeclareDeferredFOO() | ||
{ | ||
FILE* f = fopen("/tmp/DeclareDeferredFOO_has_been_run.bin", "wb"); | ||
if (f) | ||
fclose(f); | ||
} | ||
EOF | ||
|
||
cmake ${GDAL_SOURCE_DIR:=..} \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_UNITY_BUILD=ON \ | ||
-DUSE_CCACHE=ON \ | ||
-DCMAKE_INSTALL_PREFIX=/usr \ | ||
-DIconv_INCLUDE_DIR=/usr/include/gnu-libiconv \ | ||
-DIconv_LIBRARY=/usr/lib/libiconv.so \ | ||
-DADD_EXTERNAL_DEFERRED_PLUGIN_FOO=/tmp/foo.cpp \ | ||
-DCMAKE_CXX_STANDARD=23 \ | ||
-DCMAKE_C_FLAGS=-Werror -DCMAKE_CXX_FLAGS="-Werror" -DWERROR_DEV_FLAG="-Werror=dev" | ||
make -j$(nproc) | ||
make -j$(nproc) install DESTDIR=/tmp/install-gdal | ||
|
||
# To check if DeclareDeferredFOO() is called by GDALAllRegister() | ||
apps/gdalinfo --version | ||
|
||
if test -f /tmp/DeclareDeferredFOO_has_been_run.bin; then | ||
echo "DeclareDeferredFOO() has been run" | ||
else | ||
echo "DeclareDeferredFOO() has NOT been run" | ||
exit 1 | ||
fi |
Oops, something went wrong.