geopython / pygeoapi

pygeoapi is a Python server implementation of the OGC API suite of standards. The project emerged as part of the next generation OGC API efforts in 2018 and provides the capability for organizations to deploy a RESTful OGC API endpoint using OpenAPI, GeoJSON, and HTML. pygeoapi is open source and released under an MIT license.
https://pygeoapi.io
MIT License
490 stars 260 forks source link

`get_collection_tile_items` not available in django mode, only `get_collection_tile_metadata` is being called #1595

Closed totycro closed 6 months ago

totycro commented 6 months ago

Description The endpoint collection_item_tiles calls get_collection_tiles_metadata here, but it should be get_collection_tiles_data: https://github.com/geopython/pygeoapi/blob/master/pygeoapi/django_/views.py#L348

This is fixed in the split-api-py branch since the code has to be touched there anyways, not sure if we need to fix it in master for now too.

Environment

doublebyte1 commented 6 months ago

@totycro thanks for spotting this! I addressed the issue on this PR: https://github.com/geopython/pygeoapi/pull/1601

In addition to the wrong method call, there is an issue with a parameter name on urls.py.