Difference between revisions of "Sirvard Nshanyan"
From Immersive Visualization Lab Wiki
Line 1: | Line 1: | ||
In order to convert .tff -> .osga, run: | In order to convert .tff -> .osga, run: | ||
− | osgdem -xx 10 --yy 10 -t filename.tif -l 3 -a archiveName.osga | + | 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: | For more information, refer to: |
Revision as of 15:41, 26 March 2009
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, because the area selected covers two stored tiles.