Opened 2 years ago
Last modified 6 months ago
#2378 new enhancement
rasterio plug-ins — at Initial Version
Reported by: | darkblueb | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | OSGeoLive17.0 |
Component: | OSGeoLive | Keywords: | python, rasterio |
Cc: | osgeolive@… |
Description
ol15 build122
rasterio packaged can make use of optional plug-ins. Popular and useful titles: [ rio-cogeo
, rio-tiler
, rio-toa
, rio-mucho
].
sample install session
$ pip install --user rio-cogeo Collecting rio-cogeo Downloading rio_cogeo-3.3.0-py3-none-any.whl (19 kB) Requirement already satisfied: numpy~=1.15 in /usr/lib/python3/dist-packages (from rio-cogeo) (1.21.5) Requirement already satisfied: rasterio>=1.1 in /usr/lib/python3/dist-packages (from rio-cogeo) (1.2.10) Requirement already satisfied: click>=7.0 in /usr/lib/python3/dist-packages (from rio-cogeo) (8.0.3) Collecting morecantile<4.0,>=3.1 Downloading morecantile-3.1.2.tar.gz (25 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: pydantic in /usr/lib/python3/dist-packages (from rio-cogeo) (1.8.2) Requirement already satisfied: attrs in /usr/lib/python3/dist-packages (from morecantile<4.0,>=3.1->rio-cogeo) (21.2.0) Requirement already satisfied: pyproj~=3.1 in /usr/lib/python3/dist-packages (from morecantile<4.0,>=3.1->rio-cogeo) (3.3.0) Building wheels for collected packages: morecantile Building wheel for morecantile (setup.py) ... done Created wheel for morecantile: filename=morecantile-3.1.2-py3-none-any.whl size=32098 sha256=bb3518e0d6aaca9e38798fed8086a55e5ca289d5ca784497e7e1eb0eab2cb1ab Stored in directory: /home/dbb/.cache/pip/wheels/ee/4b/41/c76314563c37757c283d8f401f733f67bc13f9bd579a7a32be Successfully built morecantile Installing collected packages: morecantile, rio-cogeo WARNING: The script morecantile is installed in '/home/dbb/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed morecantile-3.1.2 rio-cogeo-3.3.0 $ pip install --user rio-mucho Collecting rio-mucho Downloading rio_mucho-1.0.0-py3-none-any.whl (5.8 kB) Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from rio-mucho) (1.21.5) Requirement already satisfied: rasterio~=1.0 in /usr/lib/python3/dist-packages (from rio-mucho) (1.2.10) Installing collected packages: rio-mucho Successfully installed rio-mucho-1.0.0 dbb@ol15nightly:/home/shared/srcs_ol15$ pip install --user rio-tiler Collecting rio-tiler Downloading rio_tiler-3.1.5-py3-none-any.whl (198 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 198.7/198.7 KB 371.2 kB/s eta 0:00:00 Requirement already satisfied: pydantic in /usr/lib/python3/dist-packages (from rio-tiler) (1.8.2) Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from rio-tiler) (1.21.5) Collecting rio-color Downloading rio-color-1.0.4.tar.gz (74 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.9/74.9 KB 382.6 kB/s eta 0:00:00 Installing build dependencies ... | done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting pystac>=0.5.4 Downloading pystac-1.4.0-py3-none-any.whl (137 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 137.4/137.4 KB 351.1 kB/s eta 0:00:00 Requirement already satisfied: rasterio>=1.1.7 in /usr/lib/python3/dist-packages (from rio-tiler) (1.2.10) Collecting numexpr Downloading numexpr-2.8.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (381 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 381.3/381.3 KB 386.6 kB/s eta 0:00:00 Collecting httpx Downloading httpx-0.23.0-py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.8/84.8 KB 379.3 kB/s eta 0:00:00 Collecting boto3 Downloading boto3-1.24.31-py3-none-any.whl (132 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.5/132.5 KB 393.6 kB/s eta 0:00:00 Requirement already satisfied: cachetools in /usr/lib/python3/dist-packages (from rio-tiler) (5.0.0) Requirement already satisfied: morecantile<4.0,>=3.1 in /home/dbb/.local/lib/python3.10/site-packages (from rio-tiler) (3.1.2) Requirement already satisfied: attrs in /usr/lib/python3/dist-packages (from rio-tiler) (21.2.0) Requirement already satisfied: pyproj~=3.1 in /usr/lib/python3/dist-packages (from morecantile<4.0,>=3.1->rio-tiler) (3.3.0) Requirement already satisfied: python-dateutil>=2.7.0 in /usr/lib/python3/dist-packages (from pystac>=0.5.4->rio-tiler) (2.8.1) Requirement already satisfied: jmespath<2.0.0,>=0.7.1 in /usr/lib/python3/dist-packages (from boto3->rio-tiler) (0.10.0) Collecting botocore<1.28.0,>=1.27.31 Downloading botocore-1.27.31-py3-none-any.whl (9.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.0/9.0 MB 390.0 kB/s eta 0:00:00 Collecting s3transfer<0.7.0,>=0.6.0 Downloading s3transfer-0.6.0-py3-none-any.whl (79 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.6/79.6 KB 367.2 kB/s eta 0:00:00 Collecting sniffio Downloading sniffio-1.2.0-py3-none-any.whl (10 kB) Collecting rfc3986[idna2008]<2,>=1.3 Downloading rfc3986-1.5.0-py2.py3-none-any.whl (31 kB) Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from httpx->rio-tiler) (2020.6.20) Collecting httpcore<0.16.0,>=0.15.0 Downloading httpcore-0.15.0-py3-none-any.whl (68 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 68.4/68.4 KB 274.7 kB/s eta 0:00:00 Requirement already satisfied: packaging in /usr/lib/python3/dist-packages (from numexpr->rio-tiler) (21.3) Requirement already satisfied: click>=4.0 in /usr/lib/python3/dist-packages (from rio-color->rio-tiler) (8.0.3) Requirement already satisfied: rio-mucho in /home/dbb/.local/lib/python3.10/site-packages (from rio-color->rio-tiler) (1.0.0) Requirement already satisfied: urllib3<1.27,>=1.25.4 in /usr/lib/python3/dist-packages (from botocore<1.28.0,>=1.27.31->boto3->rio-tiler) (1.26.5) Collecting anyio==3.* Downloading anyio-3.6.1-py3-none-any.whl (80 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.6/80.6 KB 249.0 kB/s eta 0:00:00 Collecting h11<0.13,>=0.11 Downloading h11-0.12.0-py3-none-any.whl (54 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.9/54.9 KB 350.1 kB/s eta 0:00:00 Requirement already satisfied: idna>=2.8 in /usr/lib/python3/dist-packages (from anyio==3.*->httpcore<0.16.0,>=0.15.0->httpx->rio-tiler) (3.3) Building wheels for collected packages: rio-color Building wheel for rio-color (pyproject.toml) ... done Created wheel for rio-color: filename=rio_color-1.0.4-cp310-cp310-linux_x86_64.whl size=177722 sha256=c1d38726d15d20b44e702df3ce1580874ddfcdeccb51afa8af5f8a9959914aca Stored in directory: /home/dbb/.cache/pip/wheels/7b/5a/2d/90316693df333308e07aacf49c954fd7a2dc35e1034f7c6974 Successfully built rio-color Installing collected packages: rfc3986, sniffio, pystac, numexpr, h11, botocore, s3transfer, rio-color, anyio, httpcore, boto3, httpx, rio-tiler WARNING: The script httpx is installed in '/home/dbb/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed anyio-3.6.1 boto3-1.24.31 botocore-1.27.31 h11-0.12.0 httpcore-0.15.0 httpx-0.23.0 numexpr-2.8.3 pystac-1.4.0 rfc3986-1.5.0 rio-color-1.0.4 rio-tiler-3.1.5 s3transfer-0.6.0 sniffio-1.2.0 $ pip install --user rio-toa Collecting rio-toa Downloading rio-toa-0.3.0.tar.gz (9.0 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: click in /usr/lib/python3/dist-packages (from rio-toa) (8.0.3) Requirement already satisfied: rasterio in /usr/lib/python3/dist-packages (from rio-toa) (1.2.10) Requirement already satisfied: rio-mucho in /home/dbb/.local/lib/python3.10/site-packages (from rio-toa) (1.0.0) Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from rio-mucho->rio-toa) (1.21.5) Building wheels for collected packages: rio-toa Building wheel for rio-toa (setup.py) ... done Created wheel for rio-toa: filename=rio_toa-0.3.0-py3-none-any.whl size=12424 sha256=411229f595450dcd4c9bd67d57b478c27f5034ee3d3a995eddbc75476de4191f Stored in directory: /home/dbb/.cache/pip/wheels/8a/5a/cd/c23390b0be04c4443ea0f74d082e4cc6e3851f0c5c9e2df43b Successfully built rio-toa Installing collected packages: rio-toa Successfully installed rio-toa-0.3.0
Note:
See TracTickets
for help on using tickets.