A Rasterio CLI command plugin example.
Given a path to a raster dataset, this project's rio metasay
command prints
a picture of a cow saying one random or optionally specified (see --item
)
metadata item from the dataset.
$ rio metasay tests/data/RGB.byte.tif
____________
< Width: 791 >
------------
\
\ \_\_ _/_/
\ \__/
(oo)\_______
(__)\ )\/\
||----w |
|| ||
This project is a recipe for new, actually useful plugins, and hopefully generates a few nostalgic chuckles or groans.
If you've already
installed Rasterio,
installation is just pip install rio-metasay
.
See .travis.yml
for an example of how to use Rasterio releases to speed up
your testing builds.