Hi Norman,

What should I specify as the source coordinate system?

-s_srs EPSG:4326
 Or the convenient shorthand
-s_srs WGS84

Hmm, that doesn't seem to work either:

gdalwarp -s_srs WGS84 -t_srs "+proj=utm +zone=32 +datum=WGS84" 32V.tif 32V_warped.tif

Then I generate a terrain from that:

osgdem -d 32V_warped.tif --TERRAIN -v 0.0001 -l 8 -o database_osg/32V.osg

And if I load it, it's still the same as it was (i.e. too small relative to other models modeled in meters).

gdalinfo output looks the same as before:

Driver: GTiff/GeoTIFF
Files: 32V_warped.tif
Size is 271, 241
Coordinate System is:
PROJCS["unnamed",
    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"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",9],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",0],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AUTHORITY["EPSG","32632"]]
Origin = (2.983333335000000,64.016665864999993)
Pixel Size = (0.033333330000000,-0.033333330000000)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (   2.9833333,  64.0166659) (  4d30'40.62"E,  0d 0'2.08"N)
Lower Left  (   2.9833333,  55.9833333) (  4d30'40.62"E,  0d 0'1.82"N)
Upper Right (  12.0166658,  64.0166659) (  4d30'40.91"E,  0d 0'2.08"N)
Lower Right (  12.0166658,  55.9833333) (  4d30'40.91"E,  0d 0'1.82"N)
Center      (   7.4999996,  59.9999996) (  4d30'40.76"E,  0d 0'1.95"N)
Band 1 Block=271x15 Type=Int16, ColorInterp=Gray


Thanks for the links, BTW.

J-S
--
______________________________________________________
Jean-Sebastien Guay    [EMAIL PROTECTED]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to