Realtime Bus Map Using OpenLayers and KML

12 Jan

The City of Albuquerque posts a KML file every minute that shows the location of a bus. Using OpenLayers and Open Street Map, I built a map to display route 157.

I needed the KML to be stored locally do I created a PHP script to grab the file. In the HTML, I called the script using . It runs, saves the KML and then OpenLayers displays it.

I would like to use $_GET to allow the passing of a route # to find your bus and a QRCode on the bus sign.

See the map.


2 Responses to “Realtime Bus Map Using OpenLayers and KML”

  1. itechonology February 15, 2013 at 4:56 am #

    Reblogged this on ITechonology.


  1. Albuquerque Live Bus Tracker | Architecture and Planning - January 26, 2015

    […] time now – ignore the bus data or figure out a way to build something with it? In 2013, I wrote a post using the real time bus data that required me to use some tools that I don’t usually pull out […]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: