- update titiler dependency to
>=0.16,<0.19
- add python 3.12 official support
- change code formatter to
ruff-format
- switch to Hatch
- fix invalid nodata overwriting
- add Algorithm support and update basemap source
- update titiler requirement to
>=0.16,<0.17
- renamed
/crop
endpoints to/bbox/...
or/feature/...
-
/crop/{minx},{miny},{maxx},{maxy}.{format}
->/bbox/{minx},{miny},{maxx},{maxy}.{format}
-
/crop/{minx},{miny},{maxx},{maxy}/{width}x{height}.{format}
->/bbox/{minx},{miny},{maxx},{maxy}/{width}x{height}.{format}
-
/crop [POST]
->/feature [POST]
-
/crop.{format} [POST]
->/feature.{format} [POST]
-
/crop/{width}x{height}.{format} [POST]
->/feature/{width}x{height}.{format} [POST]
-
- update titiler requirement to
>=0.13,<0.14
- switch
/map
viewer to maplibre
- handle dateline crossing dataset in html viewers
- fix issue with FastAPI>0.93
- update FastAPI dependency version
- update titiler requirement
- remove
AsyncBaseReader
support - add Jupyter Notebook compatible
Client
import time
import httpx
from folium import Map, TileLayer
from rio_viz.app import Client
# Create rio-viz Client (using server-thread to launch background task)
client = Client("https://data.geo.admin.ch/ch.swisstopo.swissalti3d/swissalti3d_2019_2573-1085/swissalti3d_2019_2573-1085_0.5_2056_5728.tif")
# Gives some time for the server to setup
time.sleep(1)
r = httpx.get(
f"{client.endpoint}/tilejson.json",
params = {
"rescale": "1600,2000", # from the info endpoint
"colormap_name": "terrain",
}
).json()
bounds = r["bounds"]
m = Map(
location=((bounds[1] + bounds[3]) / 2,(bounds[0] + bounds[2]) / 2),
zoom_start=r["minzoom"]
)
aod_layer = TileLayer(
tiles=r["tiles"][0],
opacity=1,
attr="Yo!!"
)
aod_layer.add_to(m)
m
-
update
rio-tiler-mvt
requirement (>=0.1,<0.2) -
add support for python 3.10 and 3.11
-
remove python 3.7 support
-
update titiler requirement to
0.10
-
revert using static files for javascript libraries
-
add simple
/map
viewer
- update
titiler
andstarlette-cramjam
requirements
- Fix viewers. Statistics wasn't being displayed for raster with band names (instead of indexes number).
- fix issue for MultiBaseReader (
assets
) viewer - update titiler.core requirement to
>=0.5,<0.7
- add
/
as path for the viewer
- fix frontend click/point interaction for dataset crossing the antimeridian line
- better handle data with bbox crossing the antimeridian limit
- include js and css code within the package to enable full offline mode
- switch to pyproject.toml
- add
color-formula
in viz
- update titiler requirement and fix viewer bugs
- update to new titiler/rio-tiler/rio-cogeo version
- remove Mapbox maps and switch to
stamen
basemap - remove python3.6 support
- use titiler custom JSONResponse to encode nan/inf/-inf values in response
- do not rescale data if there is a colormap
-
add
titiler.core
as dependencies to reduce code duplication. -
update code and templates to follow
titiler.core
specs. -
add
/crop.{format}
POST endpoint to get image from polygon shaped GeoJSON (#36) -
rename
/part
to/crop
to match TiTiler (#36) -
refactor dependencies to remove bidx in info/metadata/stats (#37)
-
refactor UI (#38)
-
add simple MosaicReader (#32)
$ rio viz "tests/fixtures/mosaic_cog{1,2}.tif" --reader rio_viz.io.MosaicReader
- update rio-tiler-mvt
- use cache middleware to add
cache-control
headers.
- add dynamic dependency injection to better support multiple reader types (#28)
- add better UI for MultiBaseReader (e.g STAC)
- renamed
indexes
query parameter tobidx
- update bands/assets/indexes query parameter style to follow the common specification
# before
/tiles/9/150/189?indexes=1,2,3
# now
/tiles/9/150/189?bidx=1&bidx=2&bidx=3
- renamed
rio_viz.ressources
torio_viz.resources
(developmentseed/titiler#210) - update and reduce requirements
- fix wrong tilesize setting in UI
- update pre-commit configuration
- update requirements.
- add Mapbox
dark
basemap as default.
- add missing
__init__
in rio_viz.io submodule (#24)
- Fix error when
rio-tiler-mvt
is not installed (#21)
- update for rio-tiler 2.0.0rc3
- add
--server-only
options and add preview/part API. - add more output types.
Refactor
- remove template factory
- better FastAPI app definition (to be able to use it outside rio-viz)
- remove
simple
template - use dataclasses
- adapt for rio-tiler >= 2.0.0rc1
- full async API
- add
external
reader support