Hi, Actually the data has no projections, it is in plain longitude/latitude coordinates. Which is the recomended projection for data about 1 or two degrees long so I can have it in kilometers?
Regards, -- A. On Sun, Oct 26, 2008 at 2:04 AM, Ralf Stokholm <[EMAIL PROTECTED]> wrote: > Hi Alejandro > > It seams you are missing projection information in the createt geotiff file. > > VPB needs some sort of projection system information in the input or you > should specify the projection in the commandline for VPB > > It will be faster if you project your source data using ie gdalwarp, adal > translate can also encode the projection data if its missing and you know > what it should be. > > Brgs. > > Ralf Stokholm > > 2008/10/26 Alejandro Aguilar Sierra <[EMAIL PROTECTED]> >> >> Hello: >> >> I got DEM data from INEGI (Mexican Geographic Institute) and convert >> it to Geo Tiff. >> >> gdal_translate -of GTiff -co "TILED=YES" >> MDE-n200000s190000e0970000o0990000.bil volcanes.tif >> gdaladdo -r average volcanes.tif 2 4 8 16 32 >> >> gdalinfo volcanes.tif >> Warning 1: TIFFReadDirectory:volcanes.tif: Wrong "StripByteCounts" >> field, ignoring and calculating from imagelength >> Driver: GTiff/GeoTIFF >> Files: volcanes.tif >> Size is 7200, 3600 >> Coordinate System is `' >> Origin = (-99.000000000000000,20.000000000000000) >> Pixel Size = (0.000277777777778,-0.000277777777778) >> Image Structure Metadata: >> INTERLEAVE=BAND >> Corner Coordinates: >> Upper Left ( -99.0000000, 20.0000000) >> Lower Left ( -99.0000000, 19.0000000) >> Upper Right ( -97.0000000, 20.0000000) >> Lower Right ( -97.0000000, 19.0000000) >> Center ( -98.0000000, 19.5000000) >> Band 1 Block=256x256 Type=UInt16, ColorInterp=Gray >> NoData Value=0 >> Overviews: 3600x1800, 1800x900, 900x450, 450x225, 225x113 >> Warning 1: TIFFReadDirectory:volcanes.tif: Wrong "StripByteCounts" >> field, ignoring and calculating from imagelength >> >> >> If I try to create the terrain database this way I get only a line >> osgdem -d volcanes.tif -l 8 -v 1.0 -o volcanes.ive >> >> so I have to give approximate pixel size with xx and yy and it apparently >> works. >> osgdem --xx 33 --yy 33 -d volcanes.tif -l 8 -v 1.0 -o volcanes.ive >> >> Is there not enough information in the geotiff file? or this is a bug? >> >> Regards, >> >> -- A. >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

