Re: [osg-users] geotiff images for use with VPB

2008-11-14 Thread J.P. Delport

Hi,

see the following page where I did something similar for the Blue Marble 
NG tiff files.


http://www.openscenegraph.org/projects/VirtualPlanetBuilder/wiki/ExampleClusterJPD

You can use gdal_translate.

e.g.

gdal_translate -of GTiff -a_srs +proj=latlong +datum=WGS84 -a_ullr 
-180 90 -90   0 world.topo.bathy.200407.3x21600x21600.A1.jpg A1.tif



jp

Juan Sebastian Casanueva wrote:

Hi,
I am using VPB to generate a terrain. I use DTED for elevation and I now 
want to put textures to the terrain.
I have textures in png format, and I want to generate geotiff files from 
them so that I can use them with VPB.
All the png images are 1 degree x 1 degree in latitude/longitude, so I 
know the coordinates of the corners. I don't know if I can georeference 
the png images, converting them to geotiff, using gdal_translate?
If so, how can I do that? what parameters do I need to pass to 
gdal_translate?
 
I realize that this mailing list might not be the place to ask this 
question, but maybe someone here can help me:)
 
thanks a lot

Juan




___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] geotiff images for use with VPB

2008-11-14 Thread christophe loustaunau
Hi Juan,


I don't know if I can georeference the png images, converting them to
 geotiff, using gdal_translate?

Yes you can.


 If so, how can I do that? what parameters do I need to pass to
 gdal_translate?



Take a look here : http://www.gdal.org/gdal_translate.html
All the parameters are explain.

See also this page :
http://www.openscenegraph.org/projects/VirtualPlanetBuilder/wiki/ExampleClusterJPD
Where you can see how to georeference the Blue Marble Next Generation data,
it's a good example, and it's really the same thing of what you wan't to do.


Regards.

-- 
Christophe Loustaunau.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org