Rocky is a 3D Geospatial C++ SDK.
Rocky will render an accurate 3D or 2D map with real geospatial imagery and elevation data. It supports thousands of map projections and many popular geodata sources including GeoTIFF, TMS, OpenStreetMap, WMTS, WMS, and Azure Maps. Rocky's data model is inspired by the osgEarth SDK, a 3D GIS toolkit created in 2008 and still in wide use today.
This project is in its early stages so expect a lot of API and architectural changes before version 1.0.
#include <rocky/vsg/Application.h>
#include <rocky/TMSImageLayer.h>
int main(int argc, char** argv)
{
rocky::Application app(argc, argv);
auto imagery = rocky::TMSImageLayer::create();
imagery->setURI("https://readymap.org/readymap/tiles/1.0.0/7/");
app.map()->layers().add(imagery);
return app.run();
}