totycro d7b112f62b Avoid internal server error when no format requested in get_collection_item (#1274)
Previously, request.format was assumed to always be defined when
generating `prev` and `next` links.

This commit changes this by using json as default format. This supports
the use case of curl nicely, but we could also choose e.g. html.

This branch is not yet tested because I didn't manage to find/produce test
data for single items which have next/previous links.

Fixes https://github.com/geopython/pygeoapi/issues/1272
2023-07-01 09:06:36 -04:00
2023-07-01 04:48:06 -04:00
2023-05-18 19:06:12 +03:00
2023-07-01 04:47:20 -04:00
2021-10-15 06:56:37 -04:00
2023-07-01 04:48:06 -04:00
2023-05-26 20:42:03 -04:00
2023-01-01 12:57:56 -05:00
2018-04-02 18:18:37 -04:00
2023-04-17 19:28:03 -04:00
2021-09-21 06:34:29 -04:00

pygeoapi

DOI Build Docker

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.

Please read the docs at https://docs.pygeoapi.io for more information.

S
Description
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.
Readme 50 MiB
Languages
nesC 76.3%
Python 22.3%
HTML 1.3%