First of all, please excuse me for my English.
I'm a beginner in osg and osgEarth (and SIG). I have to make an spatial viewing application with osgEarth, so i have to use osgEarth API.

I load an not georeferenced 3D model and i have the geo information in other file : DATUUM, Projection system, EPSG and an offset in meter for cartographic system and in seconds for geo system. I looking for set those informations programatically. Set the SRS is not a big deal, but I don't know how to set the offset.

I use a osgEarth::Map object with osgEarth::ModelLayer, I set the layer and put it in my map, then i set the SRS of my map :

map->getSRS()->create(".....")

and i create MapNode from my map. How I can set my offset ?

I also have a problem with EarthManipulator::setViewpoint(), it seems to didn't work. even in osgEarth example : osgearth_city, that create boston city and try to set a viewpoint close to boston. in the application, the viewpoint is never set, the view don't move.

I load an not georeferenced 3D model and i have the geo information in other file : DATUUM, Projection system, EPSG and an offset in meter for cartographic system and in seconds for geo system. I looking for set those informations programatically. Set the SRS is not a big deal, but I don't know how to set the offset.
I use a osgEarth::Map object with osgEarth::ModelLayer, I set the layer and put it in my map, then i set the SRS of my map :
map->getSRS()->create(".....")

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou cannot download files in this forum