- 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, developmentseed#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 (developmentseed#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, developmentseed#179)
- Make sure to pass an openned file to click.Progressbar (developmentseed#178)
- update rio-tiler version dependencies
- update pygeos dependency to >=0.10 which fix developmentseed#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 (developmentseed#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 (developmentseed#158)
- add default bounds/minzoom/maxzoom values matching the mosaicjson default in the backends (developmentseed#162)
- raise an error when trying to pass
mosaic_def
in read-only backend (developmentseed#162) - add
MemoryBackend
(developmentseed#163)
breaking
- Updated the backends
.point()
methods to return a list in form of[(asset1, values)]
(developmentseed#168)
- remove
overview
command (developmentseed#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 (developmentseed#134)
- rename
cogeo_mosaic/backends/http.py
->cogeo_mosaic/backends/web.py
to avoid conflicts (author @kylebarron, developmentseed#133)
- add logger (
cogeo_mosaic.logger.logger
) - Update STACBackend to better handler paggination (ref: developmentseed#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 (developmentseed#131)
- add progressbar for iterating over quadkeys when creating a mosaic (author @kylebarron, developmentseed#130)
-
refactored DynamoDB backend to store multiple mosaics in one table (developmentseed#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 (developmentseed#129) -
moves
get_assets
to the base Backend (developmentseed#131) -
remove multi_level mosaic support (developmentseed#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 (developmentseed#117) - fix wrong indices sorting in default_filter (developmentseed#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