我正在写一个R脚本来使用XML和RCurl包抓取大量GPS点的evelatio。 在Google Map Elevation API的帮助下,获得evelation值是很有用的。 这里我注意到maximum number of locations in a request是512. 当请求中有100个GPS点时,该脚本可以正常工作。所以我试图在请求中获得512个标高值,因为我拥有太多GPS位置。
我用https://stackoverflow.com/a/5672274/6881568找到抬高。我传递的经度和我使用GPS得到纬度值(其代码如下) public class GPSTracker extends Service implements LocationListener {
private final Context mContext;
// flag for GPS sta