locked
Polygon around route RRS feed

  • Question

  • Hi,

         I need to draw polygon around route with 200 meters of all points in route and save into database. Route screen shot is below. Please help me.

    Thanks

    Nagendra

    Wednesday, September 3, 2014 12:10 PM

Answers

  • Take a look at this blog post: http://blogs.bing.com/maps/2013/08/05/advance-spatial-queries-using-entity-framework-5/ You can use the Bing Maps REST services to get the points that make up the route line. Once you have this you can use the spatial tools in SQL to buffer this line by 200 meters. In the blog post I mentioned there is a find near route example which pretty much does everything but save the polygon in the database, which should be fairly easy to do.

    http://rbrundritt.wordpress.com

    Wednesday, September 3, 2014 1:55 PM