geoconv: Convert geocode

Description Usage Arguments Details Examples

Description

Take in geocode from the other source to baidu's geocode

Usage

1
geoconv(geocode, from = 3, to = 5)

Arguments

from

takes intergers from 1 to 8. See more in details.

to

5 or 6. See more in details.

geocde

geocode from the other source,limit 100 geo point once

Details

Go to http://developer.baidu.com/map/index.php?title=webapi/guide/changeposition to see what the intergers mean.

Examples

1
2
3
4
5
6
7
vec=geoconv(geocode=c(119.348557,25.996298),from=3,to=5)

mtx=matrix(c(119.348557,25.996298,119.350449,25.997036),byrow=T,ncol=2)
geo_mtx=geoconv(mtx)

df=as.data.frame(mtx)
geo_df=geoconv(df)

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