Personal Development

During the past week, I have been working on using MapTiler, and looking at the work of Ben James, who I spoke about a few weeks ago here. I have been trying to create an interactive map showing location of eBike base locations.

I have managed to create a base map of London using HTML and JavaScript using the following guide. I then converted a file containing X,Y co-ordinates of all eBike base locations into a GeoJSON. I then uploaded this into MapTiler and used it to create the below map.

I used the TfL API found here, in order to get the base locations, as well as the number of bikes currently stored at each location. However in order to be useful, it would be necessary for each location to be updated  regarding its number of available bikes on a minute by minute basis. While I have been mostly successful in obtaining this data using Python, I will need to convert my code into JavaScript, so it can be successful integrated within HTML code.

I plan to use a color-coding symbology to show whether there are no bikes available, and the quantity of original bikes and eBikes. Wish me luck!

Leave a Reply

Your email address will not be published. Required fields are marked *