Re: [osg-users] [vpb] .tif and .tfw

2010-07-13 Thread lucie lemonnier
Hi, In fact, now it seems to work, I had a problem in my data input. Otherwise, I have a model of terrain larger than my orthoimage, do you know how to cut the terrain model to obtain only the part with the orthoimage? Are there any options of VPB for this? Thank you! Cheers, lucie

Re: [osg-users] [vpb] .tif and .tfw

2010-07-13 Thread Pierre Bourdin (gmail)
Hi Lucie, to cut your terrain you can use a lot of tools...google is your friend, you'll find a lot of info on that topic. If you have the budget for it, one of the most convenient tool is probably GlobalMapper: http://www.globalmapper.com/ Of course gdal_translate can do it too:

Re: [osg-users] [vpb] .tif and .tfw

2010-07-09 Thread lucie lemonnier
Hello Pierre, I send you in attachment what I get in my console with OSG_NOTIFY_LEVEL = INFO when I run osgdem --geocentric -d data.dem -t data.tif -l 3 -o data.osg and when I run osgviewer data.osg. Otherwise, I use osg-2.8.2, VPB 0.9.10 and gdal 1.5. I will try to use Boston data. Thank you!

Re: [osg-users] [vpb] .tif and .tfw

2010-07-09 Thread lucie lemonnier
Hi, I tested the boston example but I'm not sure that the projection has worked well. I run osgdem.exe --geocentric -d boston-dem-downtown-5m-utm19n-meters.tif -t boston-10m-utm19n-meters.tif -l 5 -o test2.osg. I send what I obtain in attachment. Can you tell me if it worked well? Thank you!

Re: [osg-users] [vpb] .tif and .tfw

2010-07-09 Thread Pierre Bourdin (gmail)
Hello Lucie, When looking at your log I see that the tiff texture is reprojected... started DataSet::createDestination(3) reprojecting to file temporaryfile_013c07_0100_deme.tif reprojecting to file temporaryfile_S4_06032_5215_20061018_m20_1_utm20.tif Time for after_reproject 8.389910 as

Re: [osg-users] [vpb] .tif and .tfw

2010-07-08 Thread lucie lemonnier
Hi, I tried everything you told me but the projection does not work. When I run gdal_info data.tif, I get : Driver: GTiff/GeoTIFF Files: data.tif Size is 18470, 8809 Coordinate System is: GEOGCS[WGS 84, DATUM[WGS_1984, SPHEROID[WGS 84,6378137,298.2572235630016,

Re: [osg-users] [vpb] .tif and .tfw

2010-07-08 Thread lucie lemonnier
Hi, I also tried with dem and orthoimage downloaded at: http://www.geobase.ca/geobase/en/index.html I get the same problem, the projection doesn't work. With gdal_info data.dem, I get : Driver: USGSDEM/USGS Optional ASCII DEM (and CDED) Files: 013c07_0100_deme.dem Size is 1201, 1201 Coordinate

Re: [osg-users] [vpb] .tif and .tfw

2010-07-08 Thread Pierre Bourdin (gmail)
Hi Lucie, maybe you could try to use the OSG_NOTIFY_LEVEL=INFO flag to know a little bit more about your problem... What are the version of osg, vpb and gdal you are using ? Also you could maybe try to use some known to work data like the Boston sample of the OsgGis project ?

Re: [osg-users] [vpb] .tif and .tfw

2010-07-08 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
and dt1 files... -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of lucie lemonnier Sent: Thursday, July 08, 2010 9:45 AM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] [vpb] .tif and .tfw

[osg-users] [vpb] .tif and .tfw

2010-07-07 Thread lucie lemonnier
Hi, I have a file of elevation data DTED and an orthoimage .tif with a .tfw file. A .tfw file is used to georeference a .tif file. When I use osgdem -d data.dt1 -l 3 -o data.osg, I get a terrain model without texture and when I use osgdem -d data.dt1 -t data.tif -l 3 -o data.osg, the

Re: [osg-users] [vpb] .tif and .tfw

2010-07-07 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
To: osg-users@lists.openscenegraph.org Subject: [osg-users] [vpb] .tif and .tfw Hi, I have a file of elevation data DTED and an orthoimage .tif with a .tfw file. A .tfw file is used to georeference a .tif file. When I use osgdem -d data.dt1 -l 3 -o data.osg, I get a terrain model without texture