【问题标题】:How extract waypoint route from bing maps directions and convert it to a shapefile如何从 bing 地图方向提取航路点路线并将其转换为 shapefile
【发布时间】:2011-11-10 21:47:16
【问题描述】:

我想知道是否可以在 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-maps bing-maps arcgis shapefile


    【解决方案1】:

    我在几年前写了这篇文章,解释了如何创建一个迷你 Windows 应用程序,它连接到 Bing 地图路由服务并从输出中创建一个 WKT 线串以导入 SQL Server:http://www.viawindowslive.com/Articles/VirtualEarth/CreatingRoutesinSQLServer2008usingVE.aspx

    改为创建路线的 shapefile 并不难。 (或者,只需获取 WKT 输出并使用 OGR2OGR (http://www.gdal.org) 将其转换为 shapefile)

    【讨论】:

    • 感谢您的回复。我一直在尝试让您的代码正常工作,但我无法获得为添加令牌服务而提供的 url。我最终使用了这个 url staging.mappoint.net/standard-30/mappoint.wsdl 并列出了 CommonService 类。
    • 代码中的错误说所有添加的服务引用都不存在于命名空间VESQLRouteGeneratorApp中。
    猜你喜欢
    • 2012-07-16
    • 1970-01-01
    • 2021-12-19
    • 2021-08-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多