Description Usage Arguments Value See Also Examples
Extract converted coordinate points from convertCoord request
1 | extractConvertCoord(res)
|
res |
Required. |
Returns a data.table which extracts converted coordinate points from request of convertCoord. See https://lbs.amap.com/api/webservice/guide/api/convert for more information.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
library(dplyr)
library(amapGeocode)
# Before the `convertCoord()` is executed,
# the token should be set by `option(amap_key = 'key')`
# or set by key argument in `convertCoord()`
# get result of converted coordinate system as a XML
convertCoord("116.481499,39.990475", coordsys = "gps", to_table = FALSE) %>%
# extract result of converted coordinate system as a data.table
extractConvertCoord()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.