2023-08-23 01:23:40 +03:00
|
|
|
# Input Parameter Types
|
|
|
|
|
|
|
|
This page describes in more detail some of the input parameter types used
|
|
|
|
in the query functions of the API object.
|
2023-08-22 22:46:10 +03:00
|
|
|
|
|
|
|
## Place identification
|
|
|
|
|
2023-08-23 01:23:40 +03:00
|
|
|
The [details](NominatimAPI.md#nominatim.api.core.NominatimAPI.details) and
|
|
|
|
[lookup](NominatimAPI.md#nominatim.api.core.NominatimAPI.lookup) functions
|
2023-08-29 13:14:44 +03:00
|
|
|
require references to places in the database. Below the possible
|
|
|
|
types for place identification are listed. All types are dataclasses.
|
2023-08-23 01:23:40 +03:00
|
|
|
|
|
|
|
### PlaceID
|
|
|
|
|
2023-08-22 22:46:10 +03:00
|
|
|
::: nominatim.api.PlaceID
|
|
|
|
options:
|
|
|
|
heading_level: 6
|
|
|
|
|
2023-08-23 01:23:40 +03:00
|
|
|
### OsmID
|
|
|
|
|
2023-08-22 22:46:10 +03:00
|
|
|
::: nominatim.api.OsmID
|
|
|
|
options:
|
|
|
|
heading_level: 6
|
|
|
|
|
2023-08-23 01:23:40 +03:00
|
|
|
## Geometry types
|
2023-08-22 22:46:10 +03:00
|
|
|
|
|
|
|
::: nominatim.api.GeometryFormat
|
|
|
|
options:
|
|
|
|
heading_level: 6
|
2023-08-23 01:23:40 +03:00
|
|
|
members_order: source
|
|
|
|
|
|
|
|
## Geometry input
|
|
|
|
|
|
|
|
### Point
|
2023-08-22 22:46:10 +03:00
|
|
|
|
|
|
|
::: nominatim.api.Point
|
|
|
|
options:
|
|
|
|
heading_level: 6
|
2023-08-23 01:23:40 +03:00
|
|
|
show_signature_annotations: True
|
|
|
|
|
|
|
|
### Bbox
|
2023-08-22 22:46:10 +03:00
|
|
|
|
|
|
|
::: nominatim.api.Bbox
|
|
|
|
options:
|
|
|
|
heading_level: 6
|
2023-08-23 01:23:40 +03:00
|
|
|
show_signature_annotations: True
|
|
|
|
members_order: source
|
|
|
|
group_by_category: False
|
2023-08-22 22:46:10 +03:00
|
|
|
|
|
|
|
## Layers
|
|
|
|
|
2023-08-23 16:34:07 +03:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
2023-08-22 22:46:10 +03:00
|
|
|
::: nominatim.api.DataLayer
|
|
|
|
options:
|
|
|
|
heading_level: 6
|
2023-08-23 16:34:07 +03:00
|
|
|
members_order: source
|
2023-08-22 22:46:10 +03:00
|
|
|
|
|
|
|
|