General: General Queries

Description Usage Arguments Details Value

Description

Query codes and timezones

Usage

1
2
3
4
GNcountryCode(lat,lng,lang,radius)
GNcountryInfo(country,lang)
GNcities(north,east,south,west,lang,maxRows)
GNtimezone(lat,lng,radius)

Arguments

lat

Decimal latitude. North is positive

lng

Decimal longitude. East is positive

radius

Search radius in km

lang

Language for internationalised returned text

country

Two-character country code

north,east,south,west

Decimal degree bounding box

maxRows

Limit on returned rows

Details

These functions query geonames for information about various things.

See http://www.geonames.org/export/ws-overview.html for a full description of valid arguments and return values.

Value

List or data frame objects with the query results.


geonames documentation built on May 2, 2019, 6:08 p.m.