Nick, Osgdem will work with the input elevation. It will build the database based on the input source. For example if you're using DTED and the geocentric option, it will place the point at the specified elevation (in meters) above the ellipsoid. The point is represented in the Cartesian ECEF geocentric space (e.g. x,y,z).
The default ellipsoid used is WGS84. You can specify the polar and equatorial radii in osgdem to fit to another ellipsoid. Just make sure you specify those radii in your EllipsoidModel class on the rendering side so that things match up. The EllipsoidModel class also defaults to WGS84... HTH -Shayne -----Original Message----- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Nick Modly Sent: Sunday, August 25, 2013 11:46 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] [vpb] osgdem and HAE/MSL Hi, When providing elevation data to osgdem. is it expected to be in HAE (height above ellipoid), or MSL (mean sea level), or can it tell from the input? For example, I am providing elevation data in the AIG/Arc/Info Binary Grid format (.adf). The data represents the elevation of the area in meters MSL. However, when I osgpick a point and convert it to Lat-Lon-Alt MSL, the altitude is off by about 30m (the difference between HAE and MSL at this location). This are the options I ran osgdem with $ osgdem --geocentric -o output.ive -l 8 -d ./path-to-dted/ -t image.tif Is it possible to specify a vertical datum or coordinate system, such as EGM96? Thank you! Cheers, Nick ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=55984#55984 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org