Skip to content

GeonamesOptions ​

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

Properties ​

PropertyTypeDescription
country?string | string[]Default is all countries. The country parameter may occur more than once, example: country=FR&country=GP
east?number-
lang?stringDefault is English. Either "local" or iso2 country code should be used
maxRows?numberThe maximal number of rows in the document returned by the service. Default is 100
north?number-
south?number-
style?"SHORT" | "MEDIUM" | "LONG" | "FULL"verbosity of returned xml document, default = MEDIUM
usernamestringThe parameter 'username' needs to be passed with each request. (https://www.geonames.org/login)
west?number-