Good looking addresses
The team at our sister brand OpenCage Data have rolled something out that we though Nestoria dev readers might find relevant.
Given a bunch of geodata about a location, (for example like what you might get from OpenStreetMap) how can we form that data into an address or placename that makes sense to a consumer. This challenge is non-trivial as address formats are different from country to country. So we've released an open source set of templates (in the widely used Mustache format) that can be used to programmaticaly format addresses correctly.
It's all in the "address-formatting" repository over on github. NOt all countries are done yet, but bit by it they are being added.
The templates themselves are programming language independent. As regular readers of this blog will know, we're heavy users of perl and as such have written a perl implementation of a parser. Geo::Address::Formatter is over on CPAN, just waiting for you to use it (and the code's of course on github, where we welcome your pull requests). That said, they would welcome other parser implementations.
There's a post up on the OpenCage blog that goes into the motivations of project, and explains the problem set in more detail. There have already been a few pull requests coming in, and more are of course welcome.
In other geo news, we continue our long running streak by sponsoring WhereCamp Berlin which is coming up in mid-November. If you can't make it to Berlin, hopefully you can join us at the next #geomob in London on the 4th of November.












