Of Geocoders, Open Cages, Mapping APIs and Going It Alone

It's been a while since I've written one of these posts, in fact it's been almost a year. A lot has happened since December of 2013, when I wrote "Who knows precisely where 2014 will take me?". To be more precise, this is where 2014 took me ...

Firstly if you've been paying attention, you'll have noticed that my blogging and tweeting frequencies have dropped right off. Put it this way, someone's been paying attention.

you-tweeted

Emerging from the embrace of the large corporate mapping organisation that used to be Ovi Maps, dallied briefly with the name Nokia Maps and ended up calling itself HERE Maps, I found myself in the complete antithesis of a corporate. I joined Ed and Javier at Lokku, in the trendy part of London known as Clerkenwell, with possibly the best job title I've ever had; I was Lokku's Geotechnologist in Residence. I've known Ed and Javier for a good number of years and have watched them grow Nestoria and reinvigorate and rejuvenate London's #geomob meetup. I knew this was going to be a very different experience.

On my first day in the Lokku office, Ed thrust a piece of paper into my hand, saying "here's your email login credentials, the wifi password and how to access the wiki; your induction is now complete" ... and it was. So what does a resident geotechnologist actually do? The first and foremost task was to sort out Lokku's lack of an espresso machine and to run a tech talk, briefing the rest of the team on how to make the hot, caffienated beverage that the geo industry relies on. See? I told you this wasn't going to be your everyday corporate existence.

Armed with a fresh, hot espresso I took a look at the technology that Lokku and Nestoria had put in place. My hunch was that to make Nestoria work well across the countries they served, the Lokku crew had solved one of industry's key puzzles, namely how to geocode address listings well in countries that don't really take the need for unique addresses that seriously. My hunch was good and I came up with a series of recommendations to the Lokku board on what they should do next, this included the concept of what Ed later termed as a meta-geocoder.

A meta-geocoder does the same as the geocoders that the larger geo companies have; a single geocoding interface with multiple geocoders hidden behind, each one doing what it does well, be that country specific geocoding, or language specific geocoding or some other speciality. With the help of the incredibly smart Marc Tobias Metten, one of the few people I know who can get a global Nominatim instance up and running, we built what's now become the OpenCage Geocoder.

greenwich

When you're in a small organisation you have to roll your sleeves up and be prepared to get your hands dirty. Need a website? You end up writing it yourself. Need code samples and scripting language wrapper? Write them yourself too. Need to launch a product? You end up writing a talk, getting yourself to an applicable conference, in this case State of the Map EU, and launch it yourself.

sotm-eu

In the six months I spent at Lokku, Ed, myself and MTM brought an entire geocoding API from the roughest of concept notes to something that's up and running and is, to paraphrase Aaron Straup Cope, a real thing and it's a thing that I'm very proud of. I also became one of the select group known as the Lokku Alumni, and that meant I got another map to add to the collection.

lokku-alumnus

My stint at Lokku ended in July of this year and overnight I transformed myself from being a resident geotechnologist to being an uncivil servant and taking on the role of Head of APIs for the oldest mapping agency in the world, the UK's Ordnance Survey. In doing so, I also struck out into the murky waters of consulting and, together with Alison, founded Malstow Geospatial. The story of how Malstow got its name is the subject for another blog post entirely.

So for now, I've swapped getting on a plane to Berlin on a weekly basis and taking the train and Tube to Clerkenwell on a daily basis and instead joined the daily diaspora out of London and down the Southampton, where the Ministry of Maps makes its home.

occulus I've spent the last 4 months working out best how to bring the Ordnance Survey's maps to the internet and the internet to the OS. Much is happening and I've found myself an amazing team of geotechnologists and cartographers. As soon as there's something to show for our endeavours, you'll probably read about it here first.

"Who knows where 2014 will take me?" It's been one heck of a ride and a whole lot of fun and hard work combined. Now let's see what happens in 2015 ...

Welcome to B2* ... The New Reality Of The Mapping Industry

Not all Geographic Information conferences are created equal. A great proof point for this is IRLOGI, the Irish Association for Geographic Information. Today I've been in Dublin at their annual GIS Ireland 2014 conference, which is in its 19th year. I'd been invited to give one of the opening keynotes; who could resist such an invitation?

Held in the hidden conference centre that nestles unassumingly under the Chartered Accountants of Ireland's offices, GIS Ireland ticked all the boxes. The conference team had obviously worked hard to ensure that there was a wide range of topics being discussed and managed to avoid the "same people, same talks, same topics" trap that some conferences fall into. The coffee was hot and plentiful and the wifi (almost) stayed up and running all the time.

The starting point for the talk I have was an article called Today's Mapping Industry Really Does Need To Please All People, All The Time, which I'd written for GPS Business News in September. As there was an article length limit, I couldn't go into the detail I think this topic merited, but a conference talk is a different beast. This is what that article morphed into. This is B2*.

OpenCage At State Of The Map Europe 2014; Geocoding - The Missing Link For OSM?

Last weekend, myself and the rest of the OpenCage team were in Karlsruhe in Germany for the second annual OpenStreetMap State of the Map Europe conference. It was probably one of the best run and most diverse OSM conferences I've been to.

The first day of the conference was spent in the lobby, drinking lots of the aforementioned coffee and using lots of the aforementioned wifi, while we made last minute tweaks to the API and the accompanying website. By the end of the afternoon, the API was ready, the website worked and my slide deck was finished.

Of all which meant I could enjoy the second day of the conference and actually listen to the talks until 4.30 in the afternoon when I took to the stage and gave this talk, which was filmed and put up on YouTube.

The State Of The Mapping API

This week the GeoBusiness conference took place in London and as far as geo-themed conferences go it was a broad themed and mixed bag of an event. GIS was heavily represented as was the BIM element of this geo-discipline. The collection of raw data was a prevailing theme on the exhibition booths with drones aplenty and LIDAR cars out in the car park of the Business Design Centre. Thankfully the data and web driven part of the industry was also represented and I played my part by giving a talk.

I decided to talk about the current state of the wide range of web maps APIs we have in our toolkit and with tongue placed slightly in cheek I called the talk The State Of The Mapping API. A personal homage to OSM's State Of The Map conference if you will.

The Challenge Of Open

One of the great things about the combination of maps, geo, location and London is that roughly once a month there's some kind of meetup happening in the city on these themes. One of the longer running players in this space is the Geospatial Specialist Group of the British Computer Society which is being relaunched and reinvigorated as the Location Information SG. Earlier this week I gave a talk, but what to talk about?

It didn't take too long to come up with a suitable theme. In my current day job, consulting with open data specialists Lokku, I come across the benefits and the challenges in using open data on almost a daily basis. One of the earliest lessons is that nothing is simple and nothing is straightforwards when you bring licensing into a field and open data is no exception.

Welcome To The Republic Of Null Island

In English, null means nothing, nil, empty or void. In computing, null is a special value for nothing, an empty value. In geography, null tends to be what you get when you've been unable to geocode a place or an address and haven't checked the geocoder's response. What you end up with is a pair of coordinates of 0 degrees longitude and 0 degrees latitude, a point somewhere in the middle of the Atlantic Ocean, south of Ghana and west of Gabon. It's here that you'll also find Null Island, if you look hard enough.

The website for the Republic of Null Island (like no place on earth) says this about the island's location ...

The Republic of Null Island is one of the smallest and least-visited nations on Earth. Situated where the Prime Meridian crosses the Equator, Null Island sits 1600 kilometres off the western coast of Africa.

... but Null Island is an in joke created by Nate Kelso and Tom Patterson as part of the Natural Earth data set in January 2011.

Cartography, The Musical

I like maps. Even if you've never read posts on this site, the name "Mostly Maps" should probably be a giveaway. What you may not know is that I don't really like musicals. Now granted I've seen Rent and Spamalot, but that's because Alison and I were in New York and the former was recommended by one of my best friends and for the latter I'm a massive Python fan. Maps and musicals aren't something that go together. But that may be about to change.

Cast your mind back to the dawn of history, before mobile phones were smart and when GPS was just an Australian rugby club, which is sometime in the very early 2000's. If you lived in London, your essential navigation guide wasn't a maps app, but a copy of the A-Z as the Geographer's A-Z Street Atlas was better known. This was the map you carried around London rather than a mapping app on your phone. I still have several editions on the bookshelf at home, each one being bought when its predecessor got so dog eared as to be unusable or just started falling apart.

In India Just Because You Can Map Something, Doesn't Always Mean You Should

It's easy to get stuck in a mental rut, to think that everyone thinks and feels the same way you do about a subject. But sometimes you need to get away and visit another country and another culture to find out that maybe there's more than one way of looking at a subject. For me that subject is, unsurprisingly, maps and the other country was India.

Some countries are easier to map than others. Up to the end of the Cold War, it was commonplace for the UK's Ordnance Survey to not show prohibited places, although this practice has been effectively stopped due to the widespread availability of satellite imagery. Further afield, there's contested borders and territorial disputes which makes mapping some administrative boundaries something of a challenge; a proof of the old adage about pleasing some people some of the time but not all people all of the time.

It's easy to think that not mapping an area is a thing of the past. That we can and should map everywhere. That mapping is simply the combination of human effort, a bit of technology and a lot of data. Indeed OpenStreetMap's beginner's guide states upfront that the data you add improves the free world map for everyone. But as I found out, in India, there's a lot more subtlety and nuance behind this admirable creed.

Firstly there's the act of mapping itself. As with pre-Cold War Britain (and to be fair, some parts of Britain today), India has placed restrictions on what can and cannot appear on a map. When working for Nokia's HERE Maps, I ran a program to use crowd mapping to improve the company's maps in India and came across these restrictions first hand. My point here is not to agree or disagree with a government's stance on mapping restrictions but merely to point out that they exist.

A More Accurate And Realistic Map Of The Northern Line

Running between Edgware, Mill Hill East and High Barnet to the North of London to Morden to the South, the London Underground's Northern Line stretches for 36 miles and takes in 50 stations. The line, marked in black on the Tube map, is a familiar sight to London commuters. But is the map of the line accurate? Does it reflect reality?

northern-line-train-map

A geographic map of the line looks something like this. The Northern spurs of the line merge at Camden Town and then split into two branches, one via Charing Cross and the other via Bank, before merging again at Kennington and heading towards the Southern terminus at Morden.