如何获得沿GMaps方向的坐标? [英] How do I obtain the coordinates along GMaps directions?

查看:108
本文介绍了如何获得沿GMaps方向的坐标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为远足路线创建一个在线地图,我一直在使用我的智能手机从它收集坐标。



我有很多关于制作这种曲目的好习惯的问题,但对于初学者来说:如果我可以编辑读数,它看起来会更整洁他们是正确的在谷歌地图上的任何道路上。我怎样才能实现这一目标?

编辑:我想找到的坐标,将沿轨道的轨道完全一样,如果我即使我没有使用捕捉/方向。



我已经尝试过诸如QLandkarte GT和Viking之类的工具,而后者我可以手动删除多余的坐标并移动剩余的坐标,使它们完全位于道路之上(使用OpenStreetMap在Viking内部)。但是,当我在Google Maps中加载编辑后的.kml文件时,道路看起来有些不同,结果几乎没有编辑过的好。



我尝试过使用将GMaps方向导出为.gpx的黑客,认为我可以在道路上插入Google自己的坐标。但导出的文件只有在转折点处有坐标,并且在这些点之间有直线。

QLandkarte GT 据称具有捕捉到道路的功能(请参阅链接中的答案),但我没有找到它,而且我也不知道如何获取该区域的矢量地图。



然后是谷歌地球,人们似乎使用它,但我再也找不到任何轨道编辑功能(免费版)。



简而言之::

如何编辑我现有的曲目,以便它们与GMaps中的道路匹配...



如何获得代表GMaps中的道路的新曲目...

...

...以便最终曲目与Google自己的路线或其他专业GPS-数据,当在GMaps中显示?

解决方案

好像有可能从Google地图获取这些坐标,折线。我不知道如何,它似乎涉及到将参数output = dragdir添加到链接。



无论如何,有一个工具称为 GPS可视化工具,可以创建一个带有所需坐标的.kml文件。



编辑:只要它是唯一的答案,我会接受我的答案,但我仍然想知道更多。


I want to create an online map for a hiking trail, and I have been using my smartphone to collect coordinates from it.

I have many questions regarding what's good practice when it comes to making such tracks, but for starters: it would look much neater if I could edit the readings so that they are right on top any roads in Google Maps. How can I achieve this?
EDIT: I want to find the coordinates that will make a track along a road look exactly as if I'm using snapping/directions even when I'm not.

I've tried tools such as QLandkarte GT and Viking, and with the latter I was able to manually remove excess coordinates and move the remaining ones so that they're exactly on top of roads (inside Viking, using OpenStreetMap). However when I load the edited .kml-file in Google Maps, the roads seem to be in slightly different places and the result is hardly better than before editing.

I tried using the hack that exports GMaps directions as .gpx, thinking I could insert Google's own coordinates along the roads. But the exported file only had coordinates at the turning points with straight lines between these.

QLandkarte GT supposedly has a snap-to-road feature (see answer in link), but I haven't found it and I also don't know how to obtain a vector map of the area.

Then there's Google Earth which people seem to use for this, but again I can't find any track editing features (in the free version).

In short:
How do I edit my existing tracks so that they match roads in GMaps...
OR
How can I obtain new tracks representing roads in GMaps...

...so that the resulting track is as smooth as Google's own directions or other professional GPS-data, when displayed in GMaps?

解决方案

It seems like it's possible to get these coordinates from Google Maps after all, exporting the directions polyline. I'm not sure how, it seems to involve adding the parameter output=dragdir to the link.

Anyway there's a tool called GPS Visualizer that can create a .kml-file with the wanted coordinates.

Edit: Will accept my own answer as long as it's the only one, but I would still like to know more.

这篇关于如何获得沿GMaps方向的坐标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆