Have you tried using the --geocentric flag? I've used .tif files before just
fine but they were georeferenced. Try running

gdalinfo data.tif

to see what projection the file is using. If it's not geocentric, you can
reproject the data by

gdalwarp -t_srs "+proj=latlong +datum=WGS84" -r bilinear data.tif data2.tif

then try using

osgdem --geocentric -d data.dt1 -t data2.tif -l 3 -o data.ive

-Shayne

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of lucie
lemonnier
Sent: Wednesday, July 07, 2010 9:29 AM
To: [email protected]
Subject: [osg-users] [vpb] .tif and .tfw

Hi,

I have a file of elevation data DTED and an orthoimage .tif with a .tfw
file. A .tfw file is used to georeference a .tif file. When I use "osgdem -d
data.dt1 -l 3 -o data.osg", I get a terrain model without texture and when I
use "osgdem -d data.dt1 -t data.tif -l 3 -o data.osg", the projection of the
orthoimage isn't correct. 
Does anyone know how to use .tif with .tfw with VPB?

Thank you!

Cheers,
lucie

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29792#29792





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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to