Interface to the "Geonames" Spatial Query Web Service

The web service at < https://www.geonames.org/> provides a number of spatial data queries, including administrative area hierarchies, city locations and some country postal code queries. A (free) username is required and rate limits exist.


Build Status

R package for accessing the geonames.org API

Install from here using devtools:

  • install.packages("devtools") -- if you don't have devtools yet
  • require(devtools)
  • install.packages("rjson") -- gets this dependency from CRAN
  • install_github("ropensci/geonames")

A version of this will be pushed to CRAN.

To enable all of the functions of this package, register for a geonames.org username at http://www.geonames.org/login/ and then enable access to the geonames free webservices by clicking http://www.geonames.org/enablefreewebservice Once that's done, in your R session, run options(geonamesUsername="myusername") to authenticate with the webservice. More information about the parameters for many of the functions in this package can be found here: http://www.geonames.org/export/ws-overview.html

Part of ROpenSci

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("geonames")

0.999 by Barry Rowlingson, 6 months ago


Report a bug at https://github.com/ropensci/geonames/issues


Browse source code at https://github.com/cran/geonames


Authors: Barry Rowlingson


Documentation:   PDF Manual  


Task views: Analysis of Spatial Data


GPL-3 license


Imports rjson


Imported by rnoaa.

Enhanced by mapmisc.


See at CRAN