[osg-users] osgDEM usage...
ümit uzun
cush_umit at hotmail.com
Mon Jun 2 13:18:13 PDT 2008
Hi Shayne;
I think You should use image which has a georeferenced data. So if you download images from osgdem wiki instroductions, it is normally getting wrong results. I will fix the osgdem wiki page in a few days. The instructions belongs for previous version of osgdem.
If you want to create terrain database with hight relief, first of all you should an image which has a georeferenced data ( for example you can download geospatial images from http://seamless.usgs.gov/ and dem files from http://geoengine.nga.mil/geospatial/SW_TOOLS/NIMAMUSE/webinter/rast_roam.html ) or you have to learn using gdal ( http://www.gdal.org/ ), especially gdal_vrt ( http://www.gdal.org/gdal_vrttut.html ) to make add georeference data to any image.
For example you downloaded x.tif and its releated y.dem data from given web pages. Then you can use this command;
osgdem -t x.tif -d y.dem -v 5.0 -so builde.source -o database/sample_terrain.ive
osgdem -s build.source -l 4
Then you should have an terrain with height relief. This can be a bit complex but you should search about osgdem from mail-list ( http://dir.gmane.org/gmane.comp.graphics.openscenegraph.user/ ) and always try to use georeferenced images.
Good Luck;
ÜMİT UZUN
----------------------------------------
> Date: Mon, 2 Jun 2008 19:54:25 +0100
> From: robert.osfield at gmail.com
> To: osg-users at lists.openscenegraph.org
> Subject: Re: [osg-users] osgDEM usage...
>
> Hi Shayne,
>
> On Mon, Jun 2, 2008 at 5:20 PM, Tueller, Shayne R Civ USAF AFMC 519
> SMXS/MXDEC wrote:
>> The files were originally PNG files that I converted per the instructions on
>> the wiki to the .tif format. Whether or not that makes them GeoTiffs I don't
>> know. How can I convert the files to GeoTiffs?
>
> If you want to do any geospatial work then you really need to
> familiarise yourself with tools like gdal, they have plenty of docs an
> links on their project website. VirtualPlanetBuilder uses GDAL
> internally, so what you learn about gdal also will help you understand
> about what VPB can handle.
>
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_________________________________________________________________
Windows Live Spaces – hayatınız, Alanınız. Daha fazlasını öğrenmek için buraya tıklayın.
http://get.live.com/spaces/overview
More information about the osg-users
mailing list