本文介绍了当前URL从Google位置历史记录下载KML数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在一段时间内以kml下载谷歌位置历史数据。



直到2015年8月26日,这种格式的网址才起作用:

  https://maps.google.com/locationhistory/b/0/kml?startTime=$start_seconds&endTime=$end_seconds 

现在该格式的链接失败。



我怀疑问题与,尽管这一变化发生在7月22日前近一个月。



在谷歌产品论坛<建议这样做:

评论者错误地认为上述链接提供了七天。它似乎只给出三个,但也许这个评论者是在正确的轨道上。



我已经为评论者的网址中的字段尝试了不同的值,这些值与日期相关不明显,但尚未找到能够返回带有数据的kml文件的URL我有几张使用位置历史记录数据的地图,它们现在全部坏掉了。



编辑:这里有一个类似的问题:并仅选择位置记录和KML格式。点击下一步,然后点击创建档案。
过了一段时间,它会让你下载一个带有KML格式的位置历史记录的压缩文件。



我试过并能够下载更多比我一年的地点还要多:我可能在一年多前选择了位置历史记录服务......


I need to download google location history data in kml for a period of time.

Up until August 26, 2015, a URL in this format worked:

https://maps.google.com/locationhistory/b/0/kml?startTime=$start_seconds&endTime=$end_seconds  

Now a link in that format fails.

I suspect the problem is related to google changing the way its website displays location history, though that change happened nearly a month earlier on July 22.

A commenter on the google products forum suggested this:

The commenter is wrong that the above link gives seven days. It appears to only give about three, but perhaps the commenter is on the right track.

I have tried different values for the fields in the commenter's URL that are not obvious date-related but have not been able to find a URL that returns a kml file with data for more that a few days.

I have several maps that use location history data, they are now all broken.

Edit: There's a similar question here: Extfiltrating Google Location History from Timeline

解决方案

Go to https://takeout.google.com/settings/takeout and select only "Location History" with "KML format". Click "Next" and, then, "Create archive".After a while it will let you download a zip file with your (presumably entire) location history in KML format.

I tried and was able to download more than one year of my locations: I probably opted in the Location History service a little more than one year ago...

这篇关于当前URL从Google位置历史记录下载KML数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 05:24