From 1d0da944a66924960eb48f2225d4717c28006cea Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Tue, 15 May 2018 23:28:39 +0200 Subject: [PATCH] document polygon_threashold parameter Fixes #1041. --- docs/api/Reverse.md | 6 ++++++ docs/api/Search.md | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/api/Reverse.md b/docs/api/Reverse.md index 999827a1..0c3c3d65 100644 --- a/docs/api/Reverse.md +++ b/docs/api/Reverse.md @@ -57,6 +57,12 @@ https://nominatim.openstreetmap.org/reverse? * `polygon_text=1` * Output geometry of results as a WKT. +* `polygon_threshold=0.0` + * defaults to 0.0 + * Simplify the output geometry before returning. The parameter is the + tolerance in degrees with which the geometry may differ from the original + geometry. Topology is preserved in the result. + * `extratags=1` * Include additional information in the result if available, e.g. wikipedia link, opening hours. diff --git a/docs/api/Search.md b/docs/api/Search.md index e166abaf..17e74587 100644 --- a/docs/api/Search.md +++ b/docs/api/Search.md @@ -106,6 +106,12 @@ Structured requests are faster and require fewer server resources. **Do not comb * `polygon_text=1` * Output geometry of results as a WKT. +* `polygon_threshold=0.0` + * defaults to 0.0 + * Simplify the output geometry before returning. The parameter is the + tolerance in degrees with which the geometry may differ from the original + geometry. Topology is preserved in the result. + * `extratags=1` * Include additional information in the result if available, e.g. wikipedia link, opening hours. @@ -213,4 +219,4 @@ Structured requests are faster and require fewer server resources. **Do not comb "place_id": "1453068", "type": "bakery" } -``` \ No newline at end of file +``` -- 2.39.5