Skip to content

Commit

Permalink
Change type of example collection to 'Collection' (#314)
Browse files Browse the repository at this point in the history
* Change type of example collection to 'Collection'

The STAC API states that collections must have a 'type' of 'Collection', but the example data had a collection with a type of 'collection' which caused various other tools to fail when processing this collection (see stac-utils/pystac-client#129)

* Update Changelog

Co-authored-by: Nathan Zimmerman <[email protected]>
  • Loading branch information
robintw and moradology authored Jan 12, 2022
1 parent 4ae0c9c commit 1327aa7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

* Refactor to remove hardcoded search request models. Request models are now dynamically created based on the enabled extensions.
([#213](https://github.com/stac-utils/stac-fastapi/pull/213))
* Change example data to use correct `type` for the example Joplin collection ([#314](https://github.com/stac-utils/stac-fastapi/pull/314))
* Changed the geometry type in the Item model from Polygon to Geometry.
* Upgrade pgstac backend to use version 0.4.2 ([#321](https://github.com/stac-utils/stac-fastapi/pull/321))

Expand Down
4 changes: 2 additions & 2 deletions testdata/joplin/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"title": "public domain"
}
],
"type": "collection",
"type": "Collection",
"extent": {
"spatial": {
"bbox": [
Expand All @@ -31,4 +31,4 @@
]
}
}
}
}

0 comments on commit 1327aa7

Please sign in to comment.