> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of ümit uzun
> Sent: Tuesday, March 18, 2008 12:57 PM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] Earth Model with height relief (BlueMarble)
> 
> 
> 
> Hi Robert,
> 
> I am so sorry for writing wrong command. Actually I used to 
> -d parameter in ;
> 
> //run the build.source
> osgdem -s build.source --whole-globe -d topo.tif -v 1000.0 -l 4 
> 
> command.But I forgot typing this detail. 
> I think my topo.tif hasn't georeference information in it. 
> How can I get whole earth height relief data (for example as 
> 10 km / pixel ) which has georefence information in it?
> Could you suggest me a web site?

You need to add georeferencing to your topo.tif 
Probably easiest using GDAL's vrt format
http://www.gdal.org/gdal_vrttut.html


I think this will do it

<VRTDataset rasterXSize="21600" rasterYSize="10800">
  <SRS>WGS84</SRS>
 
<GeoTransform>-180,0.016666666666666666,0,90,0,-0.016666666666666666</GeoTra
nsform>
   <VRTRasterBand dataType="UInt16" band="1">
   <ColorInterp>Gray</ColorInterp>
    <SimpleSource>
      <SourceFilename>topo.tif </SourceFilename>
      <SourceBand>1</SourceBand>
      <SrcRect xOff="0" yOff="0" xSize="21600" ySize="10800"/>
      <DstRect xOff="0" yOff="0" xSize="21600" ySize="10800"/>
    </SimpleSource>
  </VRTRasterBand>
</VRTDataset>



> 
> Thanks for all your advice;
> 
> ÜMİT UZUN
> 
> ----------------------------------------
> > Date: Tue, 18 Mar 2008 16:31:03 +0000
> > From: [EMAIL PROTECTED]
> > To: [email protected]
> > Subject: Re: [osg-users] Earth Model with height relief (BlueMarble)
> > 
> > Hi Umit,
> > 
> > Try add a -d in from of the DEM file. i.e
> > 
> >    osgdem -s build.source --whole-globe -d topo.tif
> > 
> > For -l 4 you'll find that you want see an terrain.  I'd 
> also recommend
> > using --terrain as the build is well over a hundred times faster.
> > 
> > Robert.
> > 
> > On Tue, Mar 18, 2008 at 4:11 PM, ümit uzun  wrote:
> >>
> >>  Hi All.
> >>
> >>  I try to make earth model with height relief. I am using 
> this command on Ubuntu 7.10, OpenSceneGraph Library 2.3.4 and 
> VirtualPlanetBuilder/osgdem 0.9.5 ;
> >>
> >>  // Create the build.source file
> >>  osgdem --bluemarble-west -t ../land_shallow_topo_west.tif \
> >>            --bluemarble-east -t ../land_shallow_topo_east.tif \
> >>            --geocentric \
> >>            -o earth/earth.ive \
> >>            --so build.source
> >>
> >>  //creating whole earth elevation data subroutines
> >>  I download  srtm_ramp2.world.21600x10800.jpg from 
> http://visibleearth.nasa.gov/view_detail.php?id=8391 web 
> site. Then I use gdal utility commands;
> >>
> >>  //traslating jpg to geotiff
> >>  gdal_translate srtm_ramp2.world.21600x10800.jpg topo.tif
> >>
> >>  //adding overview to topo.tif
> >>  gdaladdo -r average topo.tif 2 4 8 16 32 64 128
> >>
> >>  //run the build.source
> >>  osgdem -s build.source --whole-globe topo.tif -v 1000.0 -l 4
> >>
> >>  But when the process finished I see a globe which is not expected.
> >>  The height relief and the earth lands surface can't 
> overlap on same coordinate place.
> >>  what can I do for to create original earth model with 
> height relief.
> >>
> >>  ÜMİT UZUN
> >>
> >>  _________________________________________________________________
> >>  Windows Live Messenger'ın için Ücretsiz 30 İfadeyi yükle
> >>  http://get.live.com
> >> _______________________________________________
> >>  osg-users mailing list
> >>  [email protected]
> >>  
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
> negraph.org
> >>
> >>
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> > 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
> negraph.org
> 
> _________________________________________________________________
> Yeni nesil Windows Live Servisleri'ne şimdi ulaşın!
> http://get.live.com
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
> negraph.org
> 

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

Reply via email to