imported OsmApi 0.2.19 from svn.openstreetmap.org