/usr/lib/python3/dist-packages/rasterio/enums.py is in python3-rasterio 0.31.0-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | from enum import Enum, IntEnum
class ColorInterp(IntEnum):
undefined=0
grey=1
gray=1
palette=2
red=3
green=4
blue=5
alpha=6
hue=7
saturation=8
lightness=9
cyan=10
magenta=11
yellow=12
black=13
class Resampling(Enum):
nearest='NEAREST'
gauss='GAUSS'
cubic='CUBIC'
average='AVERAGE'
mode='MODE'
average_magphase='AVERAGE_MAGPHASE'
none='NONE'
class Compression(Enum):
jpeg='JPEG'
lzw='LZW'
packbits='PACKBITS'
deflate='DEFLATE'
ccittrle='CCITTRLE'
ccittfax3='CCITTFAX3'
ccittfax4='CCITTFAX4'
lzma='LZMA'
none='NONE'
class Interleaving(Enum):
pixel='PIXEL'
band='BAND'
class MaskFlags(IntEnum):
all_valid=1
per_dataset=2
alpha=4
nodata=8
|