Learn R Programming

geonames (version 0.8)

Searching: Searching

Description

Various geographic searches

Usage

GNsearch(...)
GNneighbourhood(lat,lng)
GNfindNearby(...)
GNfindNearbyPlaceName(lat,lng,radius,maxRows,style)
GNfindNearbyStreets(lat,lng)
GNfindNearestAddress(lat,lng)
GNfindNearestIntersection(lat,lng)

Arguments

...
Various search arguments
lat
Decimal latitude. North is positive
lng
Decimal longitude. East is positive
radius
Search radius in km
maxRows
Limit on returned rows
style
Verbosity of returned data

Value

  • List or data frame objects with the query results.

Details

These functions query geonames for general spatial searches. See http://www.geonames.org/export/ws-overview.html for a full description of valid arguments and return values.