Skip to content

geospatial-sdk / geocoding/lib / GeonamesOptions

GeonamesOptions

Reference documentation: http://www.geonames.org/export/geonames-search.html

Properties

country?

ts
optional country: string | string[];

Default is all countries. The country parameter may occur more than once, example: country=FR&country=GP

Defined in

packages/geocoding/lib/providers/geonames.provider.ts:20


east?

ts
optional east: number;

Defined in

packages/geocoding/lib/providers/geonames.provider.ts:23


lang?

ts
optional lang: string;

Default is English. Either "local" or iso2 country code should be used

Defined in

packages/geocoding/lib/providers/geonames.provider.ts:18


maxRows?

ts
optional maxRows: number;

The maximal number of rows in the document returned by the service. Default is 100

Defined in

packages/geocoding/lib/providers/geonames.provider.ts:19


north?

ts
optional north: number;

Defined in

packages/geocoding/lib/providers/geonames.provider.ts:25


south?

ts
optional south: number;

Defined in

packages/geocoding/lib/providers/geonames.provider.ts:26


style?

ts
optional style: "SHORT" | "MEDIUM" | "LONG" | "FULL";

verbosity of returned xml document, default = MEDIUM

Defined in

packages/geocoding/lib/providers/geonames.provider.ts:21


username

ts
username: string;

The parameter 'username' needs to be passed with each request. (https://www.geonames.org/login)

Defined in

packages/geocoding/lib/providers/geonames.provider.ts:22


west?

ts
optional west: number;

Defined in

packages/geocoding/lib/providers/geonames.provider.ts:24