Hi,

  this is my first time trying to use osgdem on a GeoTIFF file and I 
wasn't successful in viewing the
generated osga file.  The data (from 
http://webgis.wr.usgs.gov/ftphirise/index.jsp) look like this:

% ls DEM_1m_VictoriaCrater*
DEM_1m_VictoriaCrater.asc.gz  DEM_1m_VictoriaCrater.rrd
DEM_1m_VictoriaCrater.aux     DEM_1m_VictoriaCrater.tif
DEM_1m_VictoriaCrater.prj

% cat DEM_1m_VictoriaCrater.prj

PROJCS["Plate_Carree",GEOGCS["EQUIRECTANGULAR_CYLINDRICAL_MARS",DATUM["D_MARS",SPHEROID["MARS",3396190,0]],PRIMEM["Reference_Meridian",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Plate_Carree"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",180],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["Meter",1]]

I then use osgdem command:

% osgdem -l 2 -d DEM_1m_VictoriaCrater.tif -o test.ive -a test.osga

% osgviewer test.osga

But I didn't see anything when osgviewer first came up, but I know 
something is there because when
I spin it, I see something spin by really fast.  My question are:

1. Is the "-d DEM_1m_VictoriaCrater.tif" argument to osgdem all I need 
for a GeoTIFF file?

2. Is there a way for osgviewer to put the object in the center so I can 
see it or do
   I have to ask the USGS to generate the GeoTIFF DEM that has the DEM 
in the center so I can see?

Thank you very much,

Linh


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to