Me, Android, and YEG OpenData
Not that long ago, the City of Edmonton announced it's Open Data Catalogue. I noticed that one of the data catalogues was a list of historical buildings in the city. Yeah, I know that some people in other cities might consider this a pretty weak list. I mean, the oldest building in Edmonton isn’t even 150 years old. I’d wager that some parts of the world consider 150 year old buildings to be “new construction”. Anyway, as I've been dabbling with Android now for about the past year, I thought a handy little project to try out would be to write an app for Android that would show me where the historical buildings are in the city.
I've got the foundation of a simple application started over a GitHub called, not surprisingly, Historical Buildings (if you pull the source code, then just a heads up that I use IntelliJ for my Android development). This application currently works in the emulator, my next step is to installing it on my phone and trying it out for real. Right now all the application does is present you with a list of buildings. You click on one, and you'll see on Google Maps where the building.
Some other ideas for features that may or may not happen:
- Figure out the whole unit testing story in Android. Then setup a build script. Then a build server. CI rocks, but as I’m trying to learn the Android framework and figure out what all the parts are, I’m not to focused on that at the moment.
- Don’t always fetch the data – store it locally
- I don’t think the way I’m parsing the JSON result is very efficient or “proper”, but it does get the job done.
- Notify the user when they are within a certain distance of a historical building.
- Currently YEG has a PDF explaining the significance of the building. Not very friendly/convenient for mobile devices. Need something better.
- One thought would be to create Wikipedia entries and link to that.
- Another thought is to petition the City of Edmonton to convert their PDF’s to a more neutral format (HTML anyone)?
- The Edmonton Public Library has some information about the “Lost Building of Edmonton”. Maybe incorporate that somehow – perhaps showing what buildings used to exist at a given address?
- Perhaps allow the user to update their coordinates for YEG’s historical buildings. I’ve notice (on the emulator) that sometimes the lat/long isn’t exactly accurate. If you look at the image below for the old Arlington Apartments, you notice that the marker should be over the pile of rubble slightly to the left of where it currently is.
- Maybe include buildings that aren’t necessarily designated as historical, but are interesting architecturally or otherwise.
- Instead of using YEG OpenData, perhaps an independent cloud based data store (Azure maybe?)