openstreetmap parser rewritten to use promise instead of callback.