Hi,

I need some help with grabbing some data inside a srtm tif file.

I want 51° 7'19.22"N 11°32'33.81"E into the data, i.e for a top left (I assume for osgdem -ge option) start point and 10k x 10k area . I have converted to degrees for osgdem.


My commandline arguments look like this:


osgdem --TERRAIN -ge 11.543903 51.122688 3 3 --LOD --PagedLOD -d srtm_39_02.tif -o auerstadt.ive -a auerstadt.osga -l 6 -v 0.12


I'm syntactically correct - for I get a lovely looking terrain however I am not accessing the area I want.
It may be I'm not interpreting the -ge option correctly

Could someone please shine a light on what I need to do to grab this information from the tif file and if it is possible with osgdem.


Best regards

Paul

gdalinfo:


Driver: GTiff/GeoTIFF
Files: srtm_39_02.tif
       srtm_39_02.tfw
Size is 6001, 6001
Coordinate System is:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0],
    UNIT["degree",0.0174532925199433],
    AUTHORITY["EPSG","4326"]]
Origin = (9.999583623875717,55.000417150924136)
Pixel Size = (0.000833333333333,-0.000833333333333)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (   9.9995836,  55.0004172)
Lower Left  (   9.9995836,  49.9995838)
Upper Right (  15.0004170,  55.0004172)
Lower Right (  15.0004170,  49.9995838)
Center      (  12.5000003,  52.5000005)
Band 1 Block=6001x1 Type=Int16, ColorInterp=Gray
  NoData Value=-32768


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

Reply via email to