/usr/lib/python2.7/dist-packages/rasterio/tool.py is in python-rasterio 0.36.0-2build5.
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 | """
DEPRECATED; To be removed in 1.0
"""
from __future__ import absolute_import
def show(*args, **kwargs):
import rasterio.plot
import warnings
warnings.warn("Deprecated; Use rasterio.rio.insp instead", DeprecationWarning)
return rasterio.plot.show_hist(*args, **kwargs)
def show_hist(*args, **kwargs):
import rasterio.plot
import warnings
warnings.warn("Deprecated; Use rasterio.rio.insp instead", DeprecationWarning)
return rasterio.plot.show_hist(*args, **kwargs)
def stats(*args, **kwargs):
import rasterio.rio.insp
import warnings
warnings.warn("Deprecated; Use rasterio.rio.insp instead", DeprecationWarning)
return rasterio.rio.insp.stats(*args, **kwargs)
def main(*args, **kwargs): # pragma: no cover
import rasterio.rio.insp
import warnings
warnings.warn("Deprecated; Use rasterio.rio.insp instead", DeprecationWarning)
return rasterio.rio.insp.main(*args, **kwargs)
|