Nominatim/docs/library/Input-Parameter-Types.md
2023-08-29 12:14:44 +02:00

1.3 KiB

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

The details and 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

OsmID

::: nominatim.api.OsmID options: heading_level: 6

Geometry types

::: nominatim.api.GeometryFormat options: heading_level: 6 members_order: source

Geometry input

Point

::: nominatim.api.Point options: heading_level: 6 show_signature_annotations: True

Bbox

::: nominatim.api.Bbox options: heading_level: 6 show_signature_annotations: True members_order: source group_by_category: False

Layers

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