From e7e533673db9c8be718dea02cbd3d25e1061a2a4 Mon Sep 17 00:00:00 2001 From: matthias_schaub Date: Tue, 12 Mar 2024 11:00:38 +0100 Subject: [PATCH] docs(filter): fix wrong selector is:(id list) --- CHANGELOG.md | 5 +++++ docs/filter.rst | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 182f1ea7..b356c795 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ Changelog ## 1.11.0-SNAPSHOT (current main) +### Other +* Fix filter documentation ([#326]) + +[#326]: https://github.com/GIScience/ohsome-api/pull/326 + ## 1.10.2 diff --git a/docs/filter.rst b/docs/filter.rst index dbdddd81..97d7e117 100644 --- a/docs/filter.rst +++ b/docs/filter.rst @@ -45,10 +45,10 @@ Selectors | ``id:osm-type/osm-id`` | matches the entity with the given | ``id:node/1234`` | | | osm type and id | | +------------------------------------+------------------------------------+-----------------------------------+ - | ``id:(id list)`` | matches all entities with the | ``id:(1, 42, 1234)`` | + | ``id:(osm-id list)`` | matches all entities with the | ``id:(1, 42, 1234)`` | | | given osm ids [1]_ | | +------------------------------------+------------------------------------+-----------------------------------+ - | ``id:(id list)`` | matches all entities with the | ``id:(node/1, way/3)`` | + | ``id:(osm-type/osm-id list)`` | matches all entities with the | ``id:(node/1, way/3)`` | | | given osm types and ids | | +------------------------------------+------------------------------------+-----------------------------------+ | ``id:(id range)`` | matches all entities with an id | ``id:(1 .. 9999)`` |