An R package for geocoding address by calling the Google or Baidu Geocoding API and coordinate conversions for WGS-84, GCJ-02 and BD-09 geodetic system
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R version 1.3.1 Apr 13, 2017
inst rm .DS_Store Jul 22, 2016
man version 1.3.1 Apr 13, 2017
tests version 1.3.0 Dec 17, 2016
.Rbuildignore version 1.2.8 Jul 22, 2016
.gitignore Merge branch 'master' of github.com:caijun/geoChina Feb 15, 2014
.travis.yml port to native R support in Travis May 20, 2015
DESCRIPTION version 1.3.1 Apr 13, 2017
LICENSE Initial commit Feb 15, 2014
NAMESPACE version 1.2.8 Jul 22, 2016
NEWS.md version 1.3.1 Apr 13, 2017
README.md update README Apr 23, 2017
geoChina.Rproj version 1.2.5 Jun 10, 2015

README.md

geoChina

Build Status

An R package for geocoding address by calling the Google or Baidu Geocoding API and coordinate conversions for WGS-84, GCJ-02 and BD-09 geodetic system

Introduction

In China the digital maps use two main Geographic Coordinate Systems (GCSs), namely GCJ-02 and BD-09, rather than the well known WGS-84. geoChina provides functions for the mutual coordinate conversions between those three GCSs. Therefore, when geocoding address or reverse geocoding latitude/longitude location by calling either Google or Baidu Geocoding API, geoChina allows for inputting or outputting the coordinates in the GCS different from the one that Google or Baidu map uses. Besides, function for geocoding IP address is provided.

Installation

Install the latest development version from GitHub (devtools package is required):

if (!requireNamespace("devtools")) install.packages("devtools")
devtools::install_github("caijun/geoChina")

Contact

Bugs and feature requests can be filed to https://github.com/caijun/geoChina/issues. Pull requests are also welcome.