mapbox / nodata

Because the pixels you can't see are harder than the ones you can.
MIT License
1 stars 3 forks source link
imagery pxm satellite

Circle CI

nodata

miles-davis7

Usage

Nodata blobbing

        UNBLOBBED         BLOBBED

ALPHA -------------    ~-----------~
      |           |    |           |
RGB   -------------  ~~-------------~~
                     ^               ^
                     |_ _ _ _ _ _ _ _|
                      Lossy Artifacts
                           Hidden
nodata blob [OPTIONS] SRC_PATH DST_PATH

Options:
-b, --bidx TEXT                   Bands to blob [default = all]
-m, --max-search-distance INTEGER Maximum blobbing radius [default = 4]
-n, --nibblemask                  Nibble blobbed nodata areas [default=False]
--co NAME=VALUE                   Driver specific creation options.See the
                                  documentation for the selected output driver
                                  for more information.
-d, --mask-threshold INTEGER      Alpha pixel threshold upon which to regard
                                  data as masked (ie, for lossy you'd want an
                                  aggressive threshold of 0) [default=None]
-a, --alphafy                     If a RGB raster is found, blob + add alpha
                                  band where nodata is
-j, --jobs                        Number of workers for multiprocessing [default=4]             
--help                            Show this message and exit.