getRoadCoor: get road ployline coordinate by road id from amap

Description Usage Arguments Value Examples

Description

get road ployline from amap,default will convert to baidu coordinate,and will convert to linedata and pointdata to show within REmap::remapb()

Usage

1
getRoadCoor(id = "B0FFGQOZO5", tobaidu = T, name = "hhh")

Arguments

id

road'id,can get by function getSearchPlus

tobaidu

whether convert amap to baidu coodinate,default to be T

Value

a list within linedata and geodata

Examples

1
2
3
4
5
6
7
## Not run: 
rectangel=matrix(c(120.208958,27.327244,120.232389,27.30612),byrow = T,nrow = 2) #test
df=getSearchPlus(mtx = rectangel,word = '閬撹矑ù<U+3E65>',types = '19',Tobaidu = F)
str(df)
x=getroadcoor()
 
## End(Not run)

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