Comments (1)
Right now we have those two options to give info about the input dataset:
--nodata INTEGER Force mask creation from a given nodata
value
--alpha INTEGER Force mask creation from a given alpha band
number
and by default we create an internal mask.
If we make mask creation optional there are plenty of scenario we should take care:
-
input dataset has a nodata value (or user passes
--nodata
) :- rio-cogeo creates internal mask (
--add-mask
?) - rio-cogeo creates an alpha band (
--add-alpha
?) - rio-cogeo passes the nodata value to the output dataset (and add a warning for lossless compression) if none of the
--add-mask
or--add-alpha
are passed
- rio-cogeo creates internal mask (
-
input dataset has an alpha band (or user passes
--alpha
)- rio-cogeo creates internal mask (
--add-mask
?) - rio-cogeo copy the alpha band to the output dataset (
--add-alpha
?)
- rio-cogeo creates internal mask (
-
input dataset has a mask
- rio-cogeo creates internal mask (
--add-mask
?) - rio-cogeo creates an alpha band (
--add-alpha
?)
- rio-cogeo creates internal mask (
-
input dataset has no mask, alpha, nodata (✨ )
- rio-cogeo creates internal mask (
--add-mask
?) but will be useless - rio-cogeo creates an alpha band (
--add-alpha
?) but will be useless
- rio-cogeo creates internal mask (
Note:
we could also maybe rename --nodata
to --src-nodata
and --alpha
to --src-nodata
to avoid any ambiguity ?
from rio-cogeo.
Related Issues (20)
- Installing rio_cogeo 3.1.0 on virtualenv for a Python package HOT 1
- Displaying continuous data with multiple transparency values?
- add `ZOOM_LEVEL` creation option for web optimized COG
- installation give error
- Creating a COG in place rather than generating a new file? HOT 1
- add option to forward namespaced metadata
- add python 3.10 support
- All Console output is standard error HOT 6
- COG convesion succeeds with GDAL but not with rio-cogeo HOT 4
- Change folder of "execution" HOT 11
- NetCDF to CoG workflow
- GeoTIFF with invalidated optimizations shows up as valid HOT 1
- installation issues - coggeo command HOT 3
- limit pydantic to `1.0` HOT 3
- Shift/zoom after updating to >=4 HOT 2
- Pydantic 2.0 incompatible with morecantile HOT 1
- Unexpected GET Requests Count with web-optimized COG
- Clarify arguments used only when producing "web-optimized" COGs HOT 4
- set blocksize from the TileMatrixSet
- COG validation fails for files that are SPARSE and have sparse edge tiles in the overviews. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rio-cogeo.