Answered by:
Private Real-Time Transite

Question
-
I'm working on my last semester project which is based on real-time transit. So, I want to develop website (using Python + Django Fw) that will show all our university buses' real-time Geo-location (on Bing map) to the university students and professors, and also shows the bus arrival times for bus stop nearest to them (From wherever they are). This is main module of my project. So the question is that
- How do I integrate telemetry information (lats and longs) of buses and bus stops to Bing map API?
- May I do this for real-time using Bing map?
- Is it accessible any where other than my site? (If it's then it will become meaning less for those who're not our university person) In sort, It could be private?
I had asked this in Google Map forum and stackoverflow, but still no one answered yet.
Thursday, March 10, 2016 5:17 AM
Answers
-
If you want to make your data private, then you can show locations on the map lat/longs by using pushpins. https://www.bingmapsportal.com/ISDK/AjaxV7#Pushpins1
You can show real-time positions of buses, however this would be considered an asset tracking application and require a license. (most mapping platforms would require this)
If you build a custom app using the Bing Maps developer APIs, it would only be available on your site.
That said, if you would like to make the data publically available and the transit service in question is a public service, then I would recommend creating a GTFS feed of the bus data and making it publically available. This would allow all mapping platforms to ingest the data and make it publically available to all. However, you should check with the transit authority before doing this.
http://rbrundritt.wordpress.com
- Proposed as answer by Ricky_Brundritt Friday, March 11, 2016 6:20 PM
- Marked as answer by Sid Trivedi Saturday, March 12, 2016 6:07 AM
Friday, March 11, 2016 6:19 PM -
All the code you need for Bing Maps would be in click side JavaScript.
It sounds like you are using the directions module to draw the path of the bus. You can also use Polylines to draw straight lines that aren't draggable. If you want the line to snap t the road you can pass your waypoints into the REST routing service:
https://msdn.microsoft.com/en-us/library/ff701705.aspx
https://msdn.microsoft.com/en-us/library/gg427607.aspx
To enquire about a license, send an email to maplic@microsoft.com or fill out the form here: http://microsoft.com/maps
http://rbrundritt.wordpress.com
- Proposed as answer by Ricky_Brundritt Saturday, March 12, 2016 8:06 PM
- Marked as answer by Ricky_Brundritt Saturday, March 12, 2016 8:07 PM
Saturday, March 12, 2016 8:06 PM
All replies
-
If you want to make your data private, then you can show locations on the map lat/longs by using pushpins. https://www.bingmapsportal.com/ISDK/AjaxV7#Pushpins1
You can show real-time positions of buses, however this would be considered an asset tracking application and require a license. (most mapping platforms would require this)
If you build a custom app using the Bing Maps developer APIs, it would only be available on your site.
That said, if you would like to make the data publically available and the transit service in question is a public service, then I would recommend creating a GTFS feed of the bus data and making it publically available. This would allow all mapping platforms to ingest the data and make it publically available to all. However, you should check with the transit authority before doing this.
http://rbrundritt.wordpress.com
- Proposed as answer by Ricky_Brundritt Friday, March 11, 2016 6:20 PM
- Marked as answer by Sid Trivedi Saturday, March 12, 2016 6:07 AM
Friday, March 11, 2016 6:19 PM -
Thank you @Ricky_Brundritt
Now the problems are
- How can I integrate this with my website (Python+ Django)?
- How can I create routes there by bus stops?, (I found the option there but I want them fixed not draggable for Bus stops)
- And as you told it requires licence then how can I get it? and is my reason valid to get licence? My campus authority who owns the buses will provide me the licence for this but I think they may don't know the licence format. So please give me the name of that licence. So that I can search for its format on internet.
I'm having tons of questions in my mind. May I mail you? because this is forum and I think all going to be out of bound of this forum.
Saturday, March 12, 2016 7:16 AM -
All the code you need for Bing Maps would be in click side JavaScript.
It sounds like you are using the directions module to draw the path of the bus. You can also use Polylines to draw straight lines that aren't draggable. If you want the line to snap t the road you can pass your waypoints into the REST routing service:
https://msdn.microsoft.com/en-us/library/ff701705.aspx
https://msdn.microsoft.com/en-us/library/gg427607.aspx
To enquire about a license, send an email to maplic@microsoft.com or fill out the form here: http://microsoft.com/maps
http://rbrundritt.wordpress.com
- Proposed as answer by Ricky_Brundritt Saturday, March 12, 2016 8:06 PM
- Marked as answer by Ricky_Brundritt Saturday, March 12, 2016 8:07 PM
Saturday, March 12, 2016 8:06 PM