If the source data is using UTM coordinates already, you can just do

osgdem --TERRAIN --PagedLOD -t texturedir -d elevdir -l 10 -o
utmdatabase.ive

If the source data is not using UTM, you can use gdal to reproject the
data by

gdalwarp -t_srs "proj=utm +zone=11 +datum=WGS84" infile outfile

If gdalwarp complains, try the command

gdalwarp -s_srs "proj=latlong +datum=WGS84" -t_srs "proj=utm +zone=11
+datum=WGS84" infile outfile

In either case, "outfile" is the new source data you'll feed into the
osgdem command above.

I picked "zone 11" as an example for UTM. You'll need to choose your own
zone for your purposes.

-Shayne

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Vijeesh
Theningaledathil
Sent: Wednesday, February 23, 2011 8:35 AM
To: [email protected]
Subject: Re: [osg-users] [vpb] coordinate system in terrain

Hi,

How can I generate terrain in UTM coordinate using osgdm?

Thank you!

Cheers,
Vijeesh

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





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

Reply via email to