cogeotiff / rio-tiler-crs Goto Github PK
View Code? Open in Web Editor NEWA rio-tiler plugin to create tiles using TMS (WebMercator or others)
License: MIT License
A rio-tiler plugin to create tiles using TMS (WebMercator or others)
License: MIT License
we added TMS support in rio-tiler cogeotiff/rio-tiler#285
rio-tiler-crs/rio_tiler_crs/tiler.py
Lines 120 to 121 in 1dad4d6
The new version of COGReader (inherited from rio_tiler.io.cogeo.COGReader) gives a mypy error when used in a function.
This:
def test(asset, tms: morecantile.TileMatrixSet = default_tms):
with COGReader(asset, tms=tms) as cog:
return cog.info
will return "COGReader" gets multiple values for keyword argument "tms"
Users need to add # type: ignore
to silent this error
def test(asset, tms: morecantile.TileMatrixSet = default_tms):
with COGReader(asset, tms=tms) as cog: # type: ignore
return cog.info
ref: #5 (comment)
Line 4 in 4467ca8
This is not really a breaking change itself but it requires the new rio-tiler beta which breaks a lot of things so it's safer to use a major version.
In Addition to the switch to rio-tiler.io.COGReader as parent class (we just extent to add tms and new tile method), we've added STACReader (following the same pattern).
Sadly the name projectile
is already taken on pypi so we need another name
rio-tiler-crs/rio_tiler_crs/stac.py
Lines 107 to 110 in dc16a68
rio-tiler-crs/rio_tiler_crs/stac.py
Lines 106 to 109 in 4467ca8
should be
https://github.com/cogeotiff/rio-tiler/blob/master/rio_tiler/io/stac.py#L226-L229
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.