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

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29953#29953





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


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:
http://www.gdal.org/gdal_translate.html

I believe 3Dem can do it:
http://freegeographytools.com/2007/dem-terrain-depiction-using-3dem

and probably QGis: http://www.qgis.org/ 

Hope it helps.
Pierre.

Le mardi 13 juillet 2010 à 12:19 +0200, lucie lemonnier a écrit :
 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
 
 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=29953#29953
 
 
 
 
 
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-- 

Pierre BOURDIN
I.M.E.R.I.R.
Av. Pascot BP 90443
66004 PERPIGNAN
tél: 04 68 56 84 95
fax: 04 68 55 03 86
email: bour...@imerir.com


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


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!

Cheers,
lucie

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29858#29858




Attachments: 
http://forum.openscenegraph.org//files/run_osgviewer_830.txt
http://forum.openscenegraph.org//files/run_osgdem_171.txt


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


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!

Cheers,
lucie

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29863#29863




Attachments: 
http://forum.openscenegraph.org//files/boston_184.jpg
http://forum.openscenegraph.org//files/boston_171.rar


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


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 recommended by Shayne, you should re-project your data, first it will
save you some processing time and secondly it will allow you to detect
projection problems more easily...


To avoid aliasing artifacts when accessing data, you can also use
gdaladdo to store the mip maps in the .tiff, like explained here :
http://www.openscenegraph.org/projects/osg/wiki/Support/UserGuides/osgdem
(but it won't fix your projection trouble)

Otherwise I believe there was some problems with GDAL 1.5 at least with
some release ;  particularly the 1.5.0 was buggy...

If using known to work data, you still got strange result, try to update
gdal lib...

I've downloaded and tested on my machine (Debian 64bits - osg 2.9.7)
your Boston terrain and it looks normal... but the files are probably
not reprojected...

You could also try to look at your data in a GIS tool like Quantum GIS
http://www.qgis.org/

Just to see if everything is looking good ?


Pierre.

Le vendredi 09 juillet 2010 à 07:45 +, lucie lemonnier a écrit :
 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!
 
 Cheers,
 lucie
 
 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=29858#29858
 
 
 
 
 Attachments: 
 http://forum.openscenegraph.org//files/run_osgviewer_830.txt
 http://forum.openscenegraph.org//files/run_osgdem_171.txt
 
 
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-- 

Pierre BOURDIN
I.M.E.R.I.R.
Av. Pascot BP 90443
66004 PERPIGNAN
tél: 04 68 56 84 95
fax: 04 68 55 03 86
email: bour...@imerir.com


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


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,
AUTHORITY[EPSG,7030]],
AUTHORITY[EPSG,6326]],
PRIMEM[Greenwich,0],
UNIT[degree,0.0174532925199433],
AUTHORITY[EPSG,4326]]
Origin = (5.694386514419802,43.459004007623271)
Pixel Size = (0.56757675771,-0.56757675771)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left  (   5.6943865,  43.4590040) (  5d41'39.79E, 43d27'32.41N)
Lower Left  (   5.6943865,  42.9590256) (  5d41'39.79E, 42d57'32.49N)
Upper Right (   6.7427008,  43.4590040) (  6d44'33.72E, 43d27'32.41N)
Lower Right (   6.7427008,  42.9590256) (  6d44'33.72E, 42d57'32.49N)
Center  (   6.2185437,  43.2090148) (  6d13'6.76E, 43d12'32.45N)
Band 1 Block=18470x1 Type=Byte, ColorInterp=Red
Band 2 Block=18470x1 Type=Byte, ColorInterp=Green
Band 3 Block=18470x1 Type=Byte, ColorInterp=Blue

and when I run gdal_info data.dt1, I get :

Driver: DTED/DTED Elevation Raster
Files: data.dt1
   data.aux
Size is 1201, 1201
Coordinate System is:
GEOGCS[WGS 84,
DATUM[WGS_1984,
SPHEROID[WGS 84,6378137,298.257223563]],
PRIMEM[Greenwich,0],
UNIT[degree,0.0174532925199433],
AUTHORITY[EPSG,4326]]
Origin = (4.9995834,44.0004166)
Pixel Size = (0.0008333,-0.0008333)
Metadata:
  DTED_VerticalAccuracy_UHL=0010
  DTED_VerticalAccuracy_ACC=0010
  DTED_SecurityCode_UHL=U
  DTED_SecurityCode_DSI=U
  DTED_UniqueRef_UHL=
  DTED_UniqueRef_DSI=000
  DTED_DataEdition=01
  DTED_MatchMergeVersion=A
  DTED_MaintenanceDate=
  DTED_MatchMergeDate=
  DTED_MaintenanceDescription=B124
  DTED_Producer=FRDGACEL
  DTED_VerticalDatum=MSL
  DTED_HorizontalDatum=WGS84
  DTED_DigitizingSystem=IGNAUTOMAT
  DTED_CompilationDate=8410
  DTED_HorizontalAccuracy=0060
  DTED_RelHorizontalAccuracy=NA
  DTED_RelVerticalAccuracy=NA
  AREA_OR_POINT=Point
Corner Coordinates:
Upper Left  (   4.9995833,  44.0004167) (  4d59'58.50E, 44d 0'1.50N)
Lower Left  (   4.9995833,  42.9995833) (  4d59'58.50E, 42d59'58.50N)
Upper Right (   6.0004167,  44.0004167) (  6d 0'1.50E, 44d 0'1.50N)
Lower Right (   6.0004167,  42.9995833) (  6d 0'1.50E, 42d59'58.50N)
Center  (   5.500,  43.500) (  5d30'0.00E, 43d30'0.00N)
Band 1 Block=1x1201 Type=Int16, ColorInterp=Undefined
  NoData Value=-32767
  Unit Type: m
  Metadata:
LAYER_TYPE=athematic

Can you help me, please?

Thank you!

Cheers,
lucie

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29817#29817





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


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 System is:
GEOGCS[NAD83,
DATUM[North_American_Datum_1983,
SPHEROID[GRS 1980,6378137,298.257222101,
AUTHORITY[EPSG,7019]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY[EPSG,6269]],
PRIMEM[Greenwich,0,
AUTHORITY[EPSG,8901]],
UNIT[degree,0.0174532925199433,
AUTHORITY[EPSG,9108]],
AXIS[Lat,NORTH],
AXIS[Long,EAST],
AUTHORITY[EPSG,4269]]
Origin = (-60.75010416667,52.50010416667)
Pixel Size = (0.0002083,-0.0002083)
Metadata:
  AREA_OR_POINT=Point
Corner Coordinates:
Upper Left  ( -60.7501042,  52.5001042) ( 60d45'0.38W, 52d30'0.38N)
Lower Left  ( -60.7501042,  52.2498958) ( 60d45'0.38W, 52d14'59.63N)
Upper Right ( -60.4998958,  52.5001042) ( 60d29'59.63W, 52d30'0.38N)
Lower Right ( -60.4998958,  52.2498958) ( 60d29'59.63W, 52d14'59.63N)
Center  ( -60.625,  52.375) ( 60d37'30.00W, 52d22'30.00N)
Band 1 Block=1201x1201 Type=Int16, ColorInterp=Undefined
  NoData Value=-32767
  Unit Type: m

and with gdal_info data.tif, I get : 

Driver: GTiff/GeoTIFF
Files: S4_06032_5215_20061018_m20_1_utm20.tif
Size is 3826, 3622
Coordinate System is:
PROJCS[unnamed,
GEOGCS[NAD83,
DATUM[North_American_Datum_1983,
SPHEROID[GRS 1980,6378137,298.2572221010002,
AUTHORITY[EPSG,7019]],
AUTHORITY[EPSG,6269]],
PRIMEM[Greenwich,0],
UNIT[degree,0.0174532925199433],
AUTHORITY[EPSG,4269]],
PROJECTION[Transverse_Mercator],
PARAMETER[latitude_of_origin,0],
PARAMETER[central_meridian,-63],
PARAMETER[scale_factor,0.9996],
PARAMETER[false_easting,50],
PARAMETER[false_northing,0],
UNIT[metre,1,
AUTHORITY[EPSG,9001]],
AUTHORITY[EPSG,26920]]
Origin = (630040.000,5828260.000)
Pixel Size = (20.000,-20.000)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (  630040.000, 5828260.000) ( 61d 4'49.40W, 52d35'19.68N)
Lower Left  (  630040.000, 5755820.000) ( 61d 6'29.89W, 51d56'16.38N)
Upper Right (  706560.000, 5828260.000) ( 59d57'8.07W, 52d33'54.44N)
Lower Right (  706560.000, 5755820.000) ( 59d59'47.44W, 51d54'53.11N)
Center  (  668300.000, 5792040.000) ( 60d32'3.63W, 52d15'10.72N)
Band 1 Block=3826x2 Type=Byte, ColorInterp=Gray

I don't understand why it doesn't work.
I tried with --geocentric and without.
I'm sending you what I obtain with osgdem --geocentric -d data.dem -t data.tif 
-l 3 -o data.osg in attachment.


Thank you!

Cheers,
lucie

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29838#29838




Attachments: 
http://forum.openscenegraph.org//files/terrain_328.jpg


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


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 ?
http://osggis.org/downloads/boston-sample.zip

Cheers, Pierre.

Le jeudi 08 juillet 2010 à 15:44 +, lucie lemonnier a écrit :
 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 System is:
 GEOGCS[NAD83,
 DATUM[North_American_Datum_1983,
 SPHEROID[GRS 1980,6378137,298.257222101,
 AUTHORITY[EPSG,7019]],
 TOWGS84[0,0,0,0,0,0,0],
 AUTHORITY[EPSG,6269]],
 PRIMEM[Greenwich,0,
 AUTHORITY[EPSG,8901]],
 UNIT[degree,0.0174532925199433,
 AUTHORITY[EPSG,9108]],
 AXIS[Lat,NORTH],
 AXIS[Long,EAST],
 AUTHORITY[EPSG,4269]]
 Origin = (-60.75010416667,52.50010416667)
 Pixel Size = (0.0002083,-0.0002083)
 Metadata:
   AREA_OR_POINT=Point
 Corner Coordinates:
 Upper Left  ( -60.7501042,  52.5001042) ( 60d45'0.38W, 52d30'0.38N)
 Lower Left  ( -60.7501042,  52.2498958) ( 60d45'0.38W, 52d14'59.63N)
 Upper Right ( -60.4998958,  52.5001042) ( 60d29'59.63W, 52d30'0.38N)
 Lower Right ( -60.4998958,  52.2498958) ( 60d29'59.63W, 52d14'59.63N)
 Center  ( -60.625,  52.375) ( 60d37'30.00W, 52d22'30.00N)
 Band 1 Block=1201x1201 Type=Int16, ColorInterp=Undefined
   NoData Value=-32767
   Unit Type: m
 
 and with gdal_info data.tif, I get : 
 
 Driver: GTiff/GeoTIFF
 Files: S4_06032_5215_20061018_m20_1_utm20.tif
 Size is 3826, 3622
 Coordinate System is:
 PROJCS[unnamed,
 GEOGCS[NAD83,
 DATUM[North_American_Datum_1983,
 SPHEROID[GRS 1980,6378137,298.2572221010002,
 AUTHORITY[EPSG,7019]],
 AUTHORITY[EPSG,6269]],
 PRIMEM[Greenwich,0],
 UNIT[degree,0.0174532925199433],
 AUTHORITY[EPSG,4269]],
 PROJECTION[Transverse_Mercator],
 PARAMETER[latitude_of_origin,0],
 PARAMETER[central_meridian,-63],
 PARAMETER[scale_factor,0.9996],
 PARAMETER[false_easting,50],
 PARAMETER[false_northing,0],
 UNIT[metre,1,
 AUTHORITY[EPSG,9001]],
 AUTHORITY[EPSG,26920]]
 Origin = (630040.000,5828260.000)
 Pixel Size = (20.000,-20.000)
 Metadata:
   AREA_OR_POINT=Area
 Image Structure Metadata:
   INTERLEAVE=BAND
 Corner Coordinates:
 Upper Left  (  630040.000, 5828260.000) ( 61d 4'49.40W, 52d35'19.68N)
 Lower Left  (  630040.000, 5755820.000) ( 61d 6'29.89W, 51d56'16.38N)
 Upper Right (  706560.000, 5828260.000) ( 59d57'8.07W, 52d33'54.44N)
 Lower Right (  706560.000, 5755820.000) ( 59d59'47.44W, 51d54'53.11N)
 Center  (  668300.000, 5792040.000) ( 60d32'3.63W, 52d15'10.72N)
 Band 1 Block=3826x2 Type=Byte, ColorInterp=Gray
 
 I don't understand why it doesn't work.
 I tried with --geocentric and without.
 I'm sending you what I obtain with osgdem --geocentric -d data.dem -t 
 data.tif -l 3 -o data.osg in attachment.
 
 
 Thank you!
 
 Cheers,
 lucie
 
 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=29838#29838
 
 
 
 
 Attachments: 
 http://forum.openscenegraph.org//files/terrain_328.jpg
 
 
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-- 

Pierre BOURDIN
I.M.E.R.I.R.
Av. Pascot BP 90443
66004 PERPIGNAN
tél: 04 68 56 84 95
fax: 04 68 55 03 86
email: bour...@imerir.com


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


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

2010-07-08 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Hi Lucie,

Did you attempt to reproject the tif file using gdalwarp? Try that and then
use osgdem with the new reprojected file to see if that works.

I didn't receive your attachment. Please resend to
shayne.tuel...@comcast.net and I'll take a look at it. If you can, send me
the actual tif 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

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 System is:
GEOGCS[NAD83,
DATUM[North_American_Datum_1983,
SPHEROID[GRS 1980,6378137,298.257222101,
AUTHORITY[EPSG,7019]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY[EPSG,6269]],
PRIMEM[Greenwich,0,
AUTHORITY[EPSG,8901]],
UNIT[degree,0.0174532925199433,
AUTHORITY[EPSG,9108]],
AXIS[Lat,NORTH],
AXIS[Long,EAST],
AUTHORITY[EPSG,4269]]
Origin = (-60.75010416667,52.50010416667)
Pixel Size = (0.0002083,-0.0002083)
Metadata:
  AREA_OR_POINT=Point
Corner Coordinates:
Upper Left  ( -60.7501042,  52.5001042) ( 60d45'0.38W, 52d30'0.38N)
Lower Left  ( -60.7501042,  52.2498958) ( 60d45'0.38W, 52d14'59.63N)
Upper Right ( -60.4998958,  52.5001042) ( 60d29'59.63W, 52d30'0.38N)
Lower Right ( -60.4998958,  52.2498958) ( 60d29'59.63W, 52d14'59.63N)
Center  ( -60.625,  52.375) ( 60d37'30.00W, 52d22'30.00N)
Band 1 Block=1201x1201 Type=Int16, ColorInterp=Undefined
  NoData Value=-32767
  Unit Type: m

and with gdal_info data.tif, I get : 

Driver: GTiff/GeoTIFF
Files: S4_06032_5215_20061018_m20_1_utm20.tif
Size is 3826, 3622
Coordinate System is:
PROJCS[unnamed,
GEOGCS[NAD83,
DATUM[North_American_Datum_1983,
SPHEROID[GRS 1980,6378137,298.2572221010002,
AUTHORITY[EPSG,7019]],
AUTHORITY[EPSG,6269]],
PRIMEM[Greenwich,0],
UNIT[degree,0.0174532925199433],
AUTHORITY[EPSG,4269]],
PROJECTION[Transverse_Mercator],
PARAMETER[latitude_of_origin,0],
PARAMETER[central_meridian,-63],
PARAMETER[scale_factor,0.9996],
PARAMETER[false_easting,50],
PARAMETER[false_northing,0],
UNIT[metre,1,
AUTHORITY[EPSG,9001]],
AUTHORITY[EPSG,26920]]
Origin = (630040.000,5828260.000)
Pixel Size = (20.000,-20.000)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (  630040.000, 5828260.000) ( 61d 4'49.40W, 52d35'19.68N)
Lower Left  (  630040.000, 5755820.000) ( 61d 6'29.89W, 51d56'16.38N)
Upper Right (  706560.000, 5828260.000) ( 59d57'8.07W, 52d33'54.44N)
Lower Right (  706560.000, 5755820.000) ( 59d59'47.44W, 51d54'53.11N)
Center  (  668300.000, 5792040.000) ( 60d32'3.63W, 52d15'10.72N)
Band 1 Block=3826x2 Type=Byte, ColorInterp=Gray

I don't understand why it doesn't work.
I tried with --geocentric and without.
I'm sending you what I obtain with osgdem --geocentric -d data.dem -t
data.tif -l 3 -o data.osg in attachment.


Thank you!

Cheers,
lucie

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29838#29838




Attachments: 
http://forum.openscenegraph.org//files/terrain_328.jpg


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


smime.p7s
Description: S/MIME cryptographic signature
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[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 projection of the orthoimage 
isn't correct. 
Does anyone know how to use .tif with .tfw with VPB?

Thank you!

Cheers,
lucie

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29792#29792





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


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

2010-07-07 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Have you tried using the --geocentric flag? I've used .tif files before just
fine but they were georeferenced. Try running

gdalinfo data.tif

to see what projection the file is using. If it's not geocentric, you can
reproject the data by

gdalwarp -t_srs +proj=latlong +datum=WGS84 -r bilinear data.tif data2.tif

then try using

osgdem --geocentric -d data.dt1 -t data2.tif -l 3 -o data.ive

-Shayne

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of lucie
lemonnier
Sent: Wednesday, July 07, 2010 9:29 AM
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 and when I
use osgdem -d data.dt1 -t data.tif -l 3 -o data.osg, the projection of the
orthoimage isn't correct. 
Does anyone know how to use .tif with .tfw with VPB?

Thank you!

Cheers,
lucie

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29792#29792





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


smime.p7s
Description: S/MIME cryptographic signature
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org