forked from OSGeo/gdal
-
Notifications
You must be signed in to change notification settings - Fork 4
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
VRT: add a new mode to apply chained processing steps that apply to several bands at the same time #27
Closed
Conversation
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
rouault
force-pushed
the
vrtprocesseddataset
branch
2 times, most recently
from
March 6, 2024 00:30
d219efd
to
61cf506
Compare
if (m_poSrcDS->RasterIO(GF_Read, nXOff, nYOff, nBufXSize, nBufYSize, | ||
abyInput.data(), nBufXSize, nBufYSize, eFirstDT, | ||
nFirstBandCount, nullptr, | ||
nFirstDTSize * nFirstBandCount, |
Check failure
Code scanning / CodeQL
Multiplication result converted to larger type High
Multiplication result may overflow 'int' before it is converted to 'GSpacing'.
abyInput.data(), nBufXSize, nBufYSize, eFirstDT, | ||
nFirstBandCount, nullptr, | ||
nFirstDTSize * nFirstBandCount, | ||
nFirstDTSize * nFirstBandCount * nBufXSize, |
Check failure
Code scanning / CodeQL
Multiplication result converted to larger type High
Multiplication result may overflow 'int' before it is converted to 'GSpacing'.
rouault
force-pushed
the
vrtprocesseddataset
branch
from
March 11, 2024 00:55
61cf506
to
e1fcd68
Compare
rouault
force-pushed
the
vrtprocesseddataset
branch
2 times, most recently
from
March 19, 2024 18:36
6741815
to
b6415f7
Compare
…ig=Contig, LERC and NaN values (fixes OSGeo#9530) The LERC codec up-to-now didn't do any special processing when writing a strile in a multi-band PlanarConfig=Contig file, resulting in corruptions. Now we generate a mask buffer in that situation. Actually, if the NaN values are not at the same location accross bands, we need to write one mask-per-band, which requires liblerc >= 3.0, and in that situation change the LERC blob to multi-band instead of multi-depth/dim, with liblerc >= 3.0. When all bands have NaN values at the same location, we generate a single mask, which is compatible of liblerc < 3.0, but requires at last this version of libtiff to be read. This is the best solution we come with to fix the issue while having the maximum backward compatibility. This also fixes a wrong condition for creation of tiled JPEG where the condition to pad the right-most and bottom-most tiles was wrongly written and would have only worked for rasters with same number of tiles in horizontal and vertical dimension
CI: codeql.yml: initialize CodeQL after running cmake to avoid OSGeo#9549
GTiff + internal libtiff: deal with issues with multi-band PlanarConfig=Contig, LERC and NaN values (fixes OSGeo#9530)
Add discussion of newer geometry types, feature styling, field types and subtypes, field domains, and relationships.
- Correct SWIG directives so that FieldDomain docs are included - Split FieldDefn and FieldDomain docs into separate files - Remove C signatures, types - Add some examples
Doc: Update vector data model description
Python: Add Band.ReadAsMaskedArray
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.0.0 to 5.1.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@0a5c615...82c7e63) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
…tions/setup-python-5.1.0 Bump actions/setup-python from 5.0.0 to 5.1.0
GMLAS: fix crash when reading CityGML files (fixes r-spatial/sf#2371)
…everal bands at the same time The following built-in algorithms are introduced, and typically applied in the following order: - Dehazing: remove haze effects by applying (subsampled) gain and offset auxiliary datasets. - BandAffineCombination: to perform an affine transformation combination of bands. - Trimming: local thresholding of saturation - LUT: apply a look-up table (band per band)
rouault
force-pushed
the
vrtprocesseddataset
branch
from
April 2, 2024 15:09
b6415f7
to
7f4a54b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The following built-in algorithms are introduced, and typically applied in the following order: