Hi Umit,
Do you know if osgdem actually look at any of the .prj, .aux, .rrd at all or is
it only looking
at the .tif file?
Also, do you know if we have two GeoTIFFs of one big patch (but low resolution)
and one smaller patch
(but high res) of the same area, we can use osgdem to generate an osga DEM file
with high res for the area
where we have high res and low res for area we have low res, eg using:
osgdem -l 8 -d DEM_1m_landArea100x100m.tif -d DEM_10m_landArea4000x4000m.tif -o
test.ive -a test.osga
Yes I understand you. You should look at LOD (Level of Detail) method.
osgviewer supporting this feature automatically. and you can't use different
resolution elevation images in same terrain. You should use same range of
resolution both of elevation and texture images. If you want to LOD processing
by this way you don't need two different images. Choose high resolution and
small patches and use them in osgdem -d 1.tif -d 2.tif . . . . .
I didn't mean that the 2 patches are of the same area. The
DEM_10m_landArea4000x4000m.tif would cover a bigger area 4 km by 4 km at
10 meter resolution, and the DEM_1m_landArea100x100m.tif would cover a
smaller area of the DEM_10m_landArea4000x4000m.tif but at a higher
resolution. The reason for 2 tif files at different resolution is that
we don't want the osga DEM to have high resolution for areas we are not
interested in when we are higher up; osgviewer does this automatically
but we don't want to have a large osga DEM file.
Where did you get the images(DEM_1m_landArea100x100m.tif) Ling ?
I don't have it yet. USGS will generate them for us but I haven't
figure out if osgdem can handle them. Actually, we were thinking of
asking for DEM_1m_landArea4000x4000m.tif and
DEM_10m_landArea40000x40000m.tif instead of what I said above, so you
see that's alot of data processing.
Thanks Umit,
Linh
ÜMİT UZUN
----------------------------------------
Date: Tue, 12 Feb 2008 18:42:38 -0800
From: [EMAIL PROTECTED]
To: [email protected]
Subject: [osg-users] how to read GeoTIFF files using osgdem?
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
_________________________________________________________________
Yeni nesil Windows Live Servisleri’ne şimdi ulaşın!
http://get.live.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_________________________________________________________________
Yeni nesil Windows Live Servisleri’ne şimdi ulaşın!
http://get.live.com
_______________________________________________
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