-
remove deprecated methods
-
update morecantile requirement to
>=5.0,<7.0
-
update rio-tiler requirement to
>=7.0,<8.0
-
update
Info
model# before class Info(BaseModel): bounds: BBox = Field(default=(-180, -90, 180, 90)) center: Optional[Tuple[float, float, int]] = None minzoom: int = Field(0, ge=0, le=30) maxzoom: int = Field(30, ge=0, le=30) name: Optional[str] = None quadkeys: List[str] = [] tilematrixset: Optional[str] = None # now class Info(BaseModel): bounds: BBox = Field(default=(-180, -90, 180, 90)) crs: str center: Optional[Tuple[float, float, int]] = None name: Optional[str] = None quadkeys: List[str] = [] mosaic_tilematrixset: Optional[str] = None mosaic_minzoom: int = Field(0, ge=0, le=30) mosaic_maxzoom: int = Field(30, ge=0, le=30)
- update BaseBackend to use a default coord_crs from the tms (author @AndrewAnnex, #234)
- add python 3.12 support
- Add tms parameter to cli for MosaicJSON (co-author @AndrewAnnex, #233)
- Automatically remove/add
asset_prefix
in Mosaic Backends
- add
py.typed
file (https://peps.python.org/pep-0561)
- update
morecantile
requirement to>=5.0,<6.0
- update
rio-tiler
requirement to>=6.0,<7.0
- update
pydantic
requirement to~=2.0
- add
coord_crs
toMosaicBackend.point()
method
- add
tilematrixset
inMosaicBackend.info()
response
- fix
HttpBackend
post_init method
-
update
morecantile>=4.1,<5.0
andrio-tiler>=5.0,<6.0
requirements -
replace
supermercado
withsupermorecado
to burn geometries as tiles for different TMS -
update MosaicJSON models to
0.0.3
specification (addstilematrixset
,asset_type
,asset_prefix
,data_type
,colormap
andlayers
attributes) -
allow Mosaic creation using other TileMatrixSet (default is still
WebMercatorQuad
) -
add
tms
support to MosaicBackend to read tile in other TMS than the mosaic TileMatrixSet# Before # Mosaic and output Tile in WebMercatorQuad with MosaicBackend("mosaic.json") as mosaic: img, _ = mosaic.tile(0, 0, 0) # Now # Mosaic in WebMercatorQuad (default), output tile in WGS84 WGS1984Quad = morecantile.tms.get("WGS1984Quad") with MosaicBackend("mosaic.json", tms=WGS1984Quad) as mosaic: img, _ = mosaic.tile(0, 0, 0)
- Clip dataset bounds with of TMS bbox (author @lseelenbinder, #200)
- use
az://
prefix for private Azure Blob Storage Backend.
- switch from pygeos to shapely>=2.0
- remove useless file in package
- add python 3.11 support
- remove python 3.7 support
- add python 3.10 support
- switch to hatch build-system
- update rio-tiler dependency to >=4.0.0a0
- Add Azure Blob Storage backend (author @christoe, #191)
- remove
mercantile
and switch to morecantile>=3.1
- no change since
4.0.0a2
- update rio-tiler requirement (
>=3.0.0a6
) and update backend reader type information
- update rio-tiler requirement (
>=3.0.0a5
) - fix
MosaicBackend
to match Backend input names.
- update morecantile requirement to >= 3.0
- update rio-tiler requirement to >= 3.0 and update Backend's properties
- switch from
requests
tohttpx
- add
BaseBackend.assets_for_bbox()
method (#184)
breaking changes
- remove
BaseBackend.metadata()
method (can be replaced byBaseBackend.mosaic_def.dict(exclude={"tiles"})
) - remove
cogeo_mosaic.models.Metadata
model - remove python 3.6 support
BaseBackend.path
->BaseBackend.input
attribute (input
was added in rio-tiler BaseReader)
- Add Google Cloud Storage (
gs://...
) mosaic backend (author @AndreaGiardini, #179)
- Make sure to pass an openned file to click.Progressbar (#178)
- update rio-tiler version dependencies
- update pygeos dependency to >=0.10 which fix #81
breaking
gzip
is now only applied if the path endswith.gz
- remove
backend_options
attribute in base backends. This attribute was used to pass optionalgzip
option and/or STAC related options - STAC backends has additional attributes (
stac_api_options
andmosaic_options
)
- add
SQLite
backend (#148) - fix cached responsed after updating a mosaic (https://github.com/developmentseed/cogeo-mosaic/pull/148/files#r557020660)
- update mosaicJSON.bounds type definition to match rio-tiler BaseReader definition (#158)
- add default bounds/minzoom/maxzoom values matching the mosaicjson default in the backends (#162)
- raise an error when trying to pass
mosaic_def
in read-only backend (#162) - add
MemoryBackend
(#163)
breaking
- Updated the backends
.point()
methods to return a list in form of[(asset1, values)]
(#168)
- remove
overview
command (#71 (comment)) - remove
rio-cogeo
dependencies - update rio-tiler version (
2.0.0rc4
)
- Update to remove all calls to
rio_tiler.mercator
functions.
- update Backend base class for rio-tiler 2.0.0rc3 (add
.feature()
method)
- update for rio-tiler 2.0rc and add backend output models
- raise
MosaicNotFoundError
when mosaic doesn't exists in the DynamoDB table.
- fix typo in DynamoDB backend (#134)
- rename
cogeo_mosaic/backends/http.py
->cogeo_mosaic/backends/web.py
to avoid conflicts (author @kylebarron, #133)
- add logger (
cogeo_mosaic.logger.logger
) - Update STACBackend to better handler paggination (ref: #125)
- with change from #125,
stac_next_link_key
has be specified if you know the STAC API is using the latest specs:
with MosaicBackend(
f"stac+{stac_endpoint}",
query.copy(),
11,
14,
backend_options={
"accessor": lambda feature: feature["id"],
"stac_next_link_key": "next",
}
) as mosaic:
- add
to-geojson
CLI to create a GeoJSON from a mosaicJSON document (#128) - refactor internal cache (#131)
- add progressbar for iterating over quadkeys when creating a mosaic (author @kylebarron, #130)
-
refactored DynamoDB backend to store multiple mosaics in one table (#127)
- new path schema
dynamodb://{REGION}?/{TABLE}:{MOSAIC}
- new path schema
-
renamed exception
MosaicExists
toMosaicExistsError
-
renamed option
fetch_quadkeys
toquadkeys
in DynamoDBBackend.info() method -
add
quadkeys
option inBackends.info()
to return (or not) the list of quadkeys (#129) -
moves
get_assets
to the base Backend (#131) -
remove multi_level mosaic support (#122)
- add TMS in BaseBackend to align with rio-tiler BaseBackend.
- remove pkg_resources (pypa/setuptools#510)
- raise error when
minimum_tile_cover
is > 1 (#117) - fix wrong indices sorting in default_filter (#118)
Note: We changed the versioning scheme to {major}.{minor}.{path}{pre}{prenum}
- Raise Exception when trying to overwrite a mosaic (#112)
- Add
reverse
option in.tile
and.point
to get values from assets in reversed order.
- Allow PointOutsideBounds exception for
point
method (#108)
- BaseBackend.center returns value from the mosaic definition (#105)
- BaseBackend is now a subclass of rio-tiler.io.base.BaseReader (add minzoom, maxzoom, bounds properties and info method)
- use
attr
to define backend classes
backend_options
is now used to pass options (*kwargs) to the_read
method
- update to rio-tiler 2.0b5
- 'value' -> 'values' in MosaicBackend.point output (#98)
- Use environement variable to set/disable cache (#93, autho @geospatial-jeff)
- Allow Threads configuration for overview command (author @kylebarron)
- add --in-memory/--no-in-memory to control temporary files creation for
overview
function. - allow pixel_selection method options for
overview
function. - update to rio-tiler 2.0b4
- use new COGReader and STACReader to add .tile and .point methods directly in the backends
- backend.tile -> backend.assets_for_tile
- backend.point -> backend.assets_for_point
- remove FTP from supported backend (#87, author @geospatial-jeff)
- add backend CRUD exceptions (#86, author @geospatial-jeff)
- add STACBackend (#82)
- fix backends caching and switch to TTL cache (#83)
- add Upload CLI (#74, author @kylebarron)
- fix boto3 dynamodb exception (#75)
- Better mosaicJSON model testing and default center from bounds (#73, author @geospatial-jeff)
This is a major version, meaning a lot of refactoring was done and may lead to breaking changes.
- add quadkey_zoom option in CLI (#41, author @kylebarron)
- use R-tree from pygeos for testing intersections (#43, author @kylebarron)
- added BackendStorage for dynamodb, s3, file and http (with @kylebarron)
- added MosaicJSON pydantic model for internal mosaicjson representation (with @kylebarron and @geospatial-jeff)
- Bug fix, use pygeos from pypi instead of git repo
- remove stack related code (lambda handler, serverless)
- switch to pygeos (#24)
- bug fixes
- add
last
pixel_method
- add tif output
- fix overview creation
- add other Web templates
- use aws lambda layer
- add
update_mosaic
utility function - add
/tiles/point
endpoint to get points values from a mosaic - add logs for mosaic creation
- add custom pixel methods
- add custom color maps
- rename
/mosaic/info/<mosaicid>
to/mosaic/<mosaicid>/info
- update for lambda-proxy~=5.0 (#15)
- add
minimum_tile_cover
option for mosaic creation (#16) - add
tile_cover_sort
option (#16) - add verbosity for cli
- add /create.html endpoint (#14)
- update to remotepixel/amazonlinux docker image