我想知道是否可以提取 bing 地图方向中的每个航点路线(下面的航点路线示例)
http://dl.dropbox.com/u/15387358/bing%20route.jpg
我知道如何提取路线的唯一方法是通过这种方法:
www.elsewhere.org/journal/gmaptogpx/
然后使用它转换为 shapefile:
freegeographytools.com/2007/exporting-gps-data-to-gis-i-garmin-gps-units
我的问题是上述方法仅适用于谷歌地图,谷歌地图中计算的路线与必应地图不同。到目前为止,我唯一的解决方法(非常繁琐)是通过拖动 wapoints 以匹配 bing 地图中的路线,在 google 地图中手动追踪路线。
I was wondering if it is possible to extract each waypoint route in bing maps directions (example of waypoint routes below)
http://dl.dropbox.com/u/15387358/bing%20route.jpg
The only way i know how to extract the route is through this method:
www.elsewhere.org/journal/gmaptogpx/
and then use this to convert to a shapefile:
freegeographytools.com/2007/exporting-gps-data-to-gis-i-garmin-gps-units
My problem is that the above method only works on google maps and the calculated route in google maps is different from bing maps. My only workaround as of now (very tedious) is to manually trace the route out in google maps by dragging wapoints to match the route from bing maps.
发布评论
评论(1)
几年前我写了这篇文章,解释如何创建一个连接到 Bing 地图路由服务的迷你 Windows 应用程序,并从输出创建一个 WKT 线串以导入 SQL Server:http://www.viawindowslive.com/Articles/VirtualEarth/CreatingRoutesinSQLServer2008usingVE.aspx
修改它来创建路线的 shapefile 并不会太难。 (或者,只需获取 WKT 输出并使用 OGR2OGR (http://www.gdal.org) 将其转换为 shapefile)
I wrote this article a couple of years ago explaining how to create a mini- Windows App that connected to the Bing Maps routing service and created a WKT Linestring from the output for import into SQL Server: http://www.viawindowslive.com/Articles/VirtualEarth/CreatingRoutesinSQLServer2008usingVE.aspx
It wouldn't be too hard to adapt this to create a shapefile of the route instead. (Or alternatively, just take the WKT output and convert it to a shapefile using OGR2OGR (http://www.gdal.org))