Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to titiler-pgstac 0.8.0 #238

Closed
wants to merge 1 commit into from

Conversation

vincentsarago
Copy link
Contributor

ref #234

This PR aims to update titiler-pgstac from version 0.2.3 to 0.8.0. Doing so, will also update titiler, rio-tiler, morecantile, fastapi and pydantic.

Endpoint changes

  • Use /collections/{collection_id}/items/{item_id} prefix for Item endpoint.

I was able to keep this as it was ({endpoint}/stac/info?collection=collection1&item=item1)

  • change tile url path parameter order from /tiles/{searchid}/{TileMatrixSetId}/{z}/{x}/{y} to /{searchid}/tiles/{TileMatrixSetId}/{z}/{x}/{y}
# Before
{endpoint}/mosaic/tiles/20200307aC0853900w361030/0/0/0

# Now
{endpoint}/mosaic/20200307aC0853900w361030/tiles/0/0/0
  • replace /{searchid}/{z}/{x}/{y}/assets endpoints by /{searchid}/tiles/{z}/{x}/{y}/assets

  • replace - by _ in query parameters

    • coord-crs -> coord_crs
    • dst-crs -> dst_crs
  • remove max_size default for mosaic's /statistics [POST] endpoint breaking change

  • add /bbox and /feature [POST] optional endpoints

@vincentsarago
Copy link
Contributor Author

😬 will re-open a new PR with the base branch as dev 🤦

@vincentsarago vincentsarago deleted the feature/titiler-pgstac-update0.8.0 branch October 16, 2023 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant