All Projects → cogeotiff → Rio Tiler

cogeotiff / Rio Tiler

Licence: bsd-3-clause
Rasterio plugin to create web map tiles from raster datasets.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Rio Tiler

GDAL.jl
Thin Julia wrapper for GDAL - Geospatial Data Abstraction Library
Stars: ✭ 78 (-64.71%)
Mutual labels:  satellite, raster, gdal
Titiler
A dynamic Web Map tile server
Stars: ✭ 153 (-30.77%)
Mutual labels:  raster, tile, gdal
interpies
A collection of functions for reading, displaying, transforming and analyzing geophysical data.
Stars: ✭ 26 (-88.24%)
Mutual labels:  raster, gdal
GIBS-Downloader
GIBS Downloader is a command-line tool which facilitates the downloading of NASA satellite imagery and offers different functionalities in order to prepare the images for training in a machine learning pipeline.
Stars: ✭ 26 (-88.24%)
Mutual labels:  tile, gdal
geowombat
GeoWombat: Utilities for geospatial data
Stars: ✭ 34 (-84.62%)
Mutual labels:  satellite, raster
georaster-layer-for-leaflet
Display GeoTIFFs and soon other types of raster on your Leaflet Map
Stars: ✭ 168 (-23.98%)
Mutual labels:  satellite, raster
pyMap
Raster Map Download Helper
Stars: ✭ 83 (-62.44%)
Mutual labels:  tile, raster
Rioxarray
geospatial xarray extension powered by rasterio
Stars: ✭ 148 (-33.03%)
Mutual labels:  raster, gdal
GeoArrays.jl
Simple geographical raster interaction built on top of ArchGDAL, GDAL and CoordinateTransformations
Stars: ✭ 42 (-81%)
Mutual labels:  raster, gdal
Geotiff.io
Static website for viewing and analyzing GeoTIFF's in the browser
Stars: ✭ 53 (-76.02%)
Mutual labels:  raster, satellite
Datacube Core
Open Data Cube analyses continental scale Earth Observation data through time
Stars: ✭ 285 (+28.96%)
Mutual labels:  raster, gdal
Geocube
Tool to convert geopandas vector data into rasterized xarray data.
Stars: ✭ 87 (-60.63%)
Mutual labels:  raster, gdal
geoserver-rest
Python library for management for geospatial data in GeoServer. The geoserver-rest docs is available here,
Stars: ✭ 119 (-46.15%)
Mutual labels:  raster, gdal
awesome-geospatial-list
A curated list of geospatial tools, data, tutorials, information, and more
Stars: ✭ 32 (-85.52%)
Mutual labels:  raster, gdal
Mapchete
Tile-based geodata processing using rasterio & Fiona
Stars: ✭ 129 (-41.63%)
Mutual labels:  raster, tile
geoblaze
Blazing Fast JavaScript Raster Processing Engine
Stars: ✭ 80 (-63.8%)
Mutual labels:  satellite, raster
XArrayAndRasterio
Experimental code for loading/saving XArray DataArrays to Geographic Rasters using rasterio
Stars: ✭ 21 (-90.5%)
Mutual labels:  raster, gdal
Rasterio
Rasterio reads and writes geospatial raster datasets
Stars: ✭ 1,643 (+643.44%)
Mutual labels:  raster, gdal
Earthenterprise
Google Earth Enterprise - Open Source
Stars: ✭ 2,425 (+997.29%)
Mutual labels:  raster, gdal
Look4sat
Amateur radio and weather satellite tracker and passes predictor for Android inspired by Gpredict
Stars: ✭ 160 (-27.6%)
Mutual labels:  satellite

rio-tiler

rio-tiler

Rasterio plugin to read web map tiles from raster datasets.

Test Coverage Package version Conda Forge Downloads Downloads Binder


Documentation: https://cogeotiff.github.io/rio-tiler/

Source Code: https://github.com/cogeotiff/rio-tiler


Install

You can install rio-tiler using pip

$ pip install -U pip
$ pip install -U rio-tiler

or install from source:

$ git clone https://github.com/cogeotiff/rio-tiler.git
$ cd rio-tiler
$ pip install -U pip
$ pip install -e .

GDAL>=3.0 / PROJ>=6.0 performances issue

rio-tiler is often used for dynamic tiling, where we need to perform small tasks involving cropping and reprojecting the input data. Starting with GDAL>=3.0 the project shifted to PROJ>=6, which introduced new ways to store projection metadata (using a SQLite database and/or cloud stored grids). This change introduced a performance regression as mentioned in https://mapserver.gis.umn.edu/id/development/rfc/ms-rfc-126.html:

using naively the equivalent calls proj_create_crs_to_crs() + proj_trans() would be a major performance killer, since proj_create_crs_to_crs() can take a time in the order of 100 milliseconds in the most complex situations.

We believe the issue reported in issues/346 is in fact due to ☝️.

To get the best performances out of rio-tiler we recommend for now to use GDAL 2.4 until a solution can be found in GDAL or in PROJ.

Note: Starting with rasterio 1.2.0, rasterio's wheels are distributed with GDAL 3.2 and thus we recommend using rasterio==1.1.8 if using the default wheels, which include GDAL 2.4.

Links:

Overview

rio-tiler is a rasterio plugin that aims to ease the creation of slippy map tiles dynamically from any raster source.

from typing import Dict, List

from rio_tiler.io import COGReader
from rio_tiler.models import ImageData, Info, Metadata, ImageStatistics

with COGReader("my-tif.tif") as cog:
    # get info
    info: Info = cog.info()
    assert info.nodata_type
    assert info.band_descriptions

    # get image statistics
    stats: ImageStatistics = cog.stats()
    assert stats.min
    assert stats.max

    # get metadata (info + image statistics)
    meta: Metadata = cog.metadata()
    assert meta.statistics
    assert meta.nodata_type
    assert meta.band_descriptions

    # Read data for a mercator tile
    img: ImageData = cog.tile(tile_x, tile_y, tile_zoom, tilesize=256)
    assert img.data
    assert img.mask

    # Read part of a data for a given bbox (size is maxed out to 1024)
    img: ImageData = cog.part([minx, miny, maxx, maxy])

    # Read data for a given geojson polygon (size is maxed out to 1024)
    img: ImageData = cog.feature(geojson_feature)

    # Get a preview (size is maxed out to 1024)
    img: ImageData = cog.preview()

    # Get pixel values for a given lon/lat coordinate
    values: List = cog.point(lon, lat)

Plugins

rio-tiler-pds

rio-tiler v1 included several helpers for reading popular public datasets (e.g. Sentinel 2, Sentinel 1, Landsat 8, CBERS) from cloud providers. This functionality is now in a separate plugin, enabling easier access to more public datasets.

rio-tiler-mvt

Create Mapbox Vector Tiles from raster sources

Implementations

rio-viz

Visualize Cloud Optimized GeoTIFFs locally in the browser

titiler

A lightweight Cloud Optimized GeoTIFF dynamic tile server.

cogeo-mosaic

Create mosaics of Cloud Optimized GeoTIFF based on the mosaicJSON specification.

Contribution & Development

See CONTRIBUTING.md

Authors

The rio-tiler project was begun at Mapbox and was transferred to the cogeotiff Github organization in January 2019.

See AUTHORS.txt for a listing of individual contributors.

Changes

See CHANGES.md.

License

See LICENSE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].