C++/Javascript framework for working with OSM files