Urbarama API mashup – The daily rest library API

Today’s entry is pretty cool. I came across the urbarama site, which describes itself as “a collaborative world atlas of architecture and civil infrastructure”. What’s more it has an API, which will return details on closeby projects given a geographic reference point. For more detailed information and for downloads see the excel liberation site.

So let’s start with the rest library entry – pretty straightforward (for details on this see the rest library overview)
VBA

GAS

 

However, the thing here is that the parameters required are kind of funky. Essentially a minimum and maximum longitude and latitude. I though I may as well mash this up with the already existing yahoo geocode library entry and make a proper job of it. So now, the UI for this mashup will ask for a place, an area to look in, and will populate a spreadsheet with information about and location of qualifying items from the urbarama database. Naturally this then provides a nice list from which to generate a map, and data with which to populate the infoboxes. That’s for another day.

There were a few things to figure out to get all this to work, not least how to calculate a latitude/longtitude given a distance and a heading, but the final fits together quite well. Here’s a snippet of the output.

You can get the whole thing on the excel liberation site.

 

About brucemcp 223 Articles
I am a Google Developer Expert and decided to investigate Google Apps Script in my spare time. The more I investigated the more content I created so this site is extremely rich. Now, in 2019, a lot of things have disappeared or don’t work anymore due to Google having retired some stuff. I am however leaving things as is and where I came across some deprecated stuff, I have indicated it. I decided to write a book about it and to also create videos to teach developers who want to learn Google Apps Script. If you find the material contained in this site useful, you can support me by buying my books and or videos.

Be the first to comment

Leave a Reply

Your email address will not be published.


*


one × one =