Sirvard Nshanyan

From Immersive Visualization Lab Wiki
Revision as of 17:04, 26 March 2009 by Jschulze (Talk | contribs)

Jump to: navigation, search

In order to convert .tff -> .osga, run:

        osgdem --xx 10 --yy 10 -t filename.tif -l 3 -a archiveName.osga

For NTF files do:

        osgdem --xx 10 --yy 10 -t texture.ntf --xx 10 --yy 10 -d elevation.tif -l 4 -o filename.ive -a terrain.osga

For more information, refer to:

        http://virtualplanetbuilder.osgforge.org/
        http://www.openscenegraph.org/projects/osg/wiki/Support/UserGuides/osgdem
        ~/plugins/Image/Image.txt
        osgdem --help


To load the .osga file into covise, the file needs to be included in:

        covise/config/monash.xml  ->   under <Image><Files> <nameInPluginsList value="filename" />  </Files></Image>
  • osgdem is located at /home/covise/covise/extern_libs/src/VirtualPlanetBuilder/bin
  • ivl.xml is a lab specific config. file
  • sand.xml is a machine specific config. file


Data Workflow

First we need to decide which area to download. For UCSD campus the coordinates are:

  • Latitude from 32deg 51' 33" N (south end) to 32deg 53' 12" N (north end)
  • Longitude from 117deg 13' 22" W (east end) to 117deg 15' 18" W (west end)

Create Texture Data TIFF

  • Go to http://seamless.usgs.gov/website/seamless/viewer.htm
  • Under Downloads, click "Define Download Area by Coordinates".
  • Select "Modify Download Request".
  • Select "National Elevation Dataset (NED) 1/9 Arc Second" and "Orthoimagery - San Diego County, CA - 0.3048m Color Jan 2006"

Output format: GeoTIFF The server will offer two images to download for orthoimagery, because the area selected covers two stored tiles. Use gdal_merge.py to merge the two images. Documentation for it is at http://www.gdal.org/gdal_merge.html The merge tool itself is at /home/covise/covise/extern_libs/src/gdal-1.6.0/swig/python/scripts/



Elevation Data