开发者

How extract waypoint route from bing maps directions and convert it to a shapefile

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 o开发者_Go百科nly 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.


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))

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜