X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/309ac46b989b19b7a613e5031c5b2dde231b7cd6..330b8d2fdfdd935da123abf9ecf96b3bc7a12be5:/docs/library/Input-Parameter-Types.md diff --git a/docs/library/Input-Parameter-Types.md b/docs/library/Input-Parameter-Types.md index e6b5138c..d27bc96f 100644 --- a/docs/library/Input-Parameter-Types.md +++ b/docs/library/Input-Parameter-Types.md @@ -1,33 +1,60 @@ -# Input parameters +# Input Parameter Types + +This page describes in more detail some of the input parameter types used +in the query functions of the API object. ## Place identification -::: nominatim.api.PlaceID +The [details](NominatimAPI.md#nominatim_api.NominatimAPI.details) and +[lookup](NominatimAPI.md#nominatim_api.NominatimAPI.lookup) functions +require references to places in the database. Below the possible +types for place identification are listed. All types are dataclasses. + +### PlaceID + +::: nominatim_api.PlaceID options: heading_level: 6 -::: nominatim.api.OsmID +### OsmID + +::: nominatim_api.OsmID options: heading_level: 6 -## Geometries +## Geometry types -::: nominatim.api.GeometryFormat +::: nominatim_api.GeometryFormat options: heading_level: 6 + members_order: source + +## Geometry input + +### Point -::: nominatim.api.Point +::: nominatim_api.Point options: heading_level: 6 + show_signature_annotations: True -::: nominatim.api.Bbox +### Bbox + +::: nominatim_api.Bbox options: heading_level: 6 + show_signature_annotations: True + members_order: source + group_by_category: False ## Layers -::: nominatim.api.DataLayer - options: - heading_level: 6 +Layers allow to restrict the search result to thematic groups. This is +orthogonal to restriction by address ranks, which groups places by their +geographic extent. +::: nominatim_api.DataLayer + options: + heading_level: 6 + members_order: source