-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb0367a
commit c626a1b
Showing
1 changed file
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ title: RFC5 - Enhanced data limit handling | |
- author: Tom Kralidis | ||
- contact: [email protected] | ||
- status: draft | ||
- modified: 2024-11-19 | ||
- modified: 2024-12-30 | ||
|
||
## Overview | ||
|
||
|
@@ -31,7 +31,7 @@ limits: | |
maxitems: 500 # applies to vector data | ||
maxdistance: [x, y] # applies to all datasets | ||
units: m # as per UCUM https://ucum.org/ucum#section-Tables-of-Terminal-Symbols | ||
on_surpass: error # one of error, throttle | ||
on_exceed: error # one of error, throttle | ||
``` | ||
The `limits` setting will be applied as follows: | ||
|
@@ -44,7 +44,7 @@ The `limits` setting will be applied as follows: | |
## Implementation | ||
|
||
- an `evaluate_limit` function will be added to the `pygeoapi` module for use by `pygeoapi.api` accordingly | ||
- if `limits.on_surpass` is `error`, then pygeoapi will throw HTTP 413 | ||
- if `limits.on_exceed` is `error`, then pygeoapi will throw HTTP 413 | ||
|
||
### Backwards Compatibility Issues | ||
|
||
|
@@ -62,9 +62,7 @@ Documentation will be added to the configuration description page. | |
|
||
Issue: <https://github.com/geopython/pygeoapi/issues/1856> | ||
|
||
Branch: <https://github.com/geopython/pygeoapi/tree/limits> | ||
|
||
Pull Request: TBD | ||
Pull Request: <https://github.com/geopython/pygeoapi/pull/1892> | ||
|
||
## Voting History | ||
|
||
|