You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/development/rfc/5.md
+4
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,8 @@ limits:
30
30
defaultitems: 10# applies to vector data
31
31
maxitems: 500# applies to vector data
32
32
maxdistance: [x, y] # applies to all datasets
33
+
units: m # as per UCUM https://ucum.org/ucum#section-Tables-of-Terminal-Symbols
34
+
on_surpass: error # one of error, throttle
33
35
```
34
36
35
37
The `limits` setting will be applied as follows:
@@ -43,6 +45,8 @@ The `limits` setting will be applied as follows:
43
45
44
46
An `evaluate_limit` function will be added to the `pygeoapi` module for use by `pygeoapi.api` accordingly.
45
47
48
+
If `limits.on_surpass` is `error`, then pygeoapi will throw HTTP 413
49
+
46
50
### Backwards Compatibility Issues
47
51
48
52
The `limits` setting fully replaces `server.limit` and represents a compatibility break. The new functionality will not be backported to other branches.
0 commit comments