You should take a look at osgEarth (http://osgearth.org). If you are just looking to rasterize the OSM and overlay it on some terrain you can use something like MapServer or GeoServer to do the rasterization and expose it as a WMS service that osgEarth can access. You can also use MapBox.com to generate rasterized OSM maps and access them in osgEarth.
If you need access to the raw vector data from OSM you also might be able to use the pbf files directly in osgEarth if you use GDAL 1.10, it looks like it has an OGR driver for it (http://www.gdal.org/ogr/drv_osm.html). If that works then you can use the OGR driver for osgEarth and apply any styling you want from simple vector rendering to extrusion of building polygons. Jason On Tue, Sep 17, 2013 at 3:40 PM, Preet <[email protected]> wrote: > On Tue, Sep 17, 2013 at 11:09 AM, Айдар Ильдарович <[email protected]> wrote: > > Hello! > > I use OpenSceneGraph 3.0.1 in my research. > > Please, help me, how to use and to load files of OpenStreetMap (extension > > o5m, pbf, osm) in osgviewer. > > You can't do this directly. The files have to be opened and parsed > using another library and then you need to decide how to set up your > scene graph based on your needs. How would OpenSceneGraph know what > you want to do with an OpenStreetMap <node> or <way> and other such > elements? > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

