geoconvA: translate locations by amap API

Description Usage Arguments Examples

Description

Take in coordiantes and return the location changed by amap API

Usage

1
2
geoconvA(locations = "116.481499,39.990475|116.481499,39.990375",
  coordsys = "baidu", mapkey, mtx = T)

Arguments

locations

a vector a or matrix contains longtitude and latitude of the center of the map, or a character refers to the address

coordsys

width of the map

mapkey

height of the map

mtx

multiplicative factor for the number of pixels returned. possible values are 2 or anything else.

Examples

1
2
3
4
5
6
## Not run: 
amap_key='71b002162d43fea08afd5b5e31b030af'
geoconvA(mapkey = amap_key)
geoconvA(mapkey = amap_key,mtx=F)

## End(Not run)

daigazi/bamapr documentation built on May 14, 2019, 3:28 p.m.