gws.plugin.nominatim.model

Nominatim model.

Source code: gws.plugin.nominatim.model

Module Contents

class gws.plugin.nominatim.model.Config

Bases: gws.base.model.Config

Data model for places and addresses from Nominatim.

country: str | None

Countries to limit the results to.

language: str | None

Preferred language of the results.

class gws.plugin.nominatim.model.Object

Bases: gws.base.model.default_model.Object

Nominatim model object.

A read-only model whose features are results of the Nominatim search API.

country: str

Countries to limit the results to.

language: str

Preferred language of the results.

serviceUrl = 'https://nominatim.openstreetmap.org/search'
configure()
find_features(search, mc, **kwargs)
props(user)