Skip to content

Commit

Permalink
Merge pull request #381 from ungarj/release_2021.11.0
Browse files Browse the repository at this point in the history
release 2021.11.0
  • Loading branch information
ungarj authored Nov 3, 2021
2 parents 9284ab1 + 6d4844b commit 037706f
Show file tree
Hide file tree
Showing 5 changed files with 130 additions and 1 deletion.
14 changes: 14 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@
Changelog
#########


----------------------
2021.11.0 - 2021-11-03
----------------------

* CLI
* ``convert``: enable ``--output-pyramid`` to read custom grid from JSON file
* ``stac create-item``: add ``--relative-paths`` flag for asset URL

* package
* add ``mapchete.testing`` including convenience tools
* use temporary directories for outputs where possible when testing processes


----------------------
2021.10.3 - 2021-10-19
----------------------
Expand Down
1 change: 1 addition & 0 deletions doc/source/apidoc/mapchete.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Submodules
mapchete.index
mapchete.log
mapchete.stac
mapchete.testing
mapchete.tile
mapchete.validate

Expand Down
7 changes: 7 additions & 0 deletions doc/source/apidoc/mapchete.testing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
mapchete.testing module
=======================

.. automodule:: mapchete.testing
:members:
:undoc-members:
:show-inheritance:
2 changes: 1 addition & 1 deletion mapchete/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


__all__ = ["open", "count_tiles", "Mapchete", "MapcheteProcess", "ProcessInfo", "Timer"]
__version__ = "2021.10.3"
__version__ = "2021.11.0"


logger = logging.getLogger(__name__)
Expand Down
107 changes: 107 additions & 0 deletions tmp/cleantopo_br/cleantopo_br.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
{
"type": "Feature",
"stac_version": "1.0.0",
"id": "cleantopo_br",
"properties": {
"datetime": "2021-11-03T14:53:49.247332Z",
"collection": "cleantopo_br",
"tiles:tile_matrix_links": {
"WorldCRS84Quad": {
"url": "#WorldCRS84Quad",
"limits": {
"5": {
"min_tile_col": 0,
"max_tile_col": 7,
"min_tile_row": 0,
"max_tile_row": 3
}
}
}
},
"tiles:tile_matrix_sets": {
"WorldCRS84Quad": {
"type": "TileMatrixSetType",
"title": "CRS84 for the World",
"identifier": "WorldCRS84Quad",
"supportedCRS": "http://www.opengis.net/def/crs/OGC/1.3/CRS84",
"wellKnownScaleSet": "http://www.opengis.net/def/wkss/OGC/1.0/GoogleCRS84Quad",
"tileMatrix": [
{
"type": "TileMatrixType",
"identifier": "5",
"scaleDenominator": 8735660.375448687,
"topLeftCorner": [
-180.0,
90.0
],
"tileWidth": 2048,
"tileHeight": 2048,
"matrixWidth": 8,
"matrixHeight": 4
}
],
"boundingBox": {
"type": "BoundingBoxType",
"crs": "http://www.opengis.net/def/crs/OGC/1.3/CRS84",
"lowerCorner": [
-180.0,
-90.0
],
"upperCorner": [
180.0,
90.0
]
}
}
}
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
180.0,
-90.0
],
[
-180.0,
-90.0
],
[
-180.0,
90.0
],
[
180.0,
90.0
],
[
180.0,
-90.0
]
]
]
},
"links": [
{
"rel": "self",
"href": "/home/ungarj/git/mapchete/tmp/cleantopo_br/cleantopo_br.json"
}
],
"assets": {},
"bbox": [
-180.0,
-90.0,
180.0,
90.0
],
"stac_extensions": [
"tiled-assets"
],
"asset_templates": {
"bands": {
"href": "tmp/cleantopo_br/{TileMatrix}/{TileRow}/{TileCol}.tif",
"type": null
}
}
}

0 comments on commit 037706f

Please sign in to comment.