Re: [osg-users] VPB bug or faulty data?

2008-10-27 Thread Ralf Stokholm
Hi Alejandro Im not 100% here, but I think you still need to specify some sort of projection basis, even plain lat lon uses some defenition of the geoid like WGS84 og similar. Natrally it could be a problem with you GTiff file. What version of VPB OSG are you using? Brgs. Ralf 2008/10/27

Re: [osg-users] VPB bug or faulty data?

2008-10-27 Thread Ümit Uzun
Hi Alejandro, VPB is only understand well referenced WGS84 formatted data. So I advice you to use referenced images to create your terrain, if you are not familiar with reference data manipulation on images you should download prepared referenced data from http://seamless.usgs.gov/index.php or

Re: [osg-users] VPB bug or faulty data?

2008-10-27 Thread Robert Osfield
Hi Umit, On Mon, Oct 27, 2008 at 7:36 AM, Ümit Uzun [EMAIL PROTECTED] wrote: VPB is only understand well referenced WGS84 formatted data. This is not correct, VPB can handle a wide range of projections, including no projections if your manually provide the projections. However, I would very

Re: [osg-users] VPB bug or faulty data?

2008-10-27 Thread Ümit Uzun
Hi Robert, Thanks for clarification. But I remember that, VPB can manipulate only WGS84 referenced data. But it may be valid for only BlueMarble viewer. Sorry for wrong comment :) Best Regards. Umit Uzun 2008/10/27 Robert Osfield [EMAIL PROTECTED] Hi Umit, On Mon, Oct 27, 2008 at 7:36 AM,

Re: [osg-users] VPB bug or faulty data?

2008-10-27 Thread Robert Osfield
Hi Umit, On Mon, Oct 27, 2008 at 9:25 AM, Ümit Uzun [EMAIL PROTECTED] wrote: Thanks for clarification. But I remember that, VPB can manipulate only WGS84 referenced data. But it may be valid for only BlueMarble viewer. Sorry for wrong comment :) When building geocentric databases VPB

Re: [osg-users] VPB bug or faulty data?

2008-10-27 Thread Alejandro Aguilar Sierra
Hi Ralph, I am using the last versions from svn. Perhaps this warning from gdalinfo gives a hint on what is wrong with this data? gdalinfo volcanes.tif Warning 1: TIFFReadDirectory:volcanes.tif: Wrong StripByteCounts field, ignoring and calculating from imagelength because otherwise it

Re: [osg-users] VPB bug or faulty data?

2008-10-27 Thread Robert Osfield
Hi Alejandro, There is no coordinate systeml information for VPB to go on, and empty string for the coordinate system is not sufficient for determining the coordinate system, the origin and pixel size info aren't sufficient on their own. Robert. On Mon, Oct 27, 2008 at 4:32 PM, Alejandro

Re: [osg-users] VPB bug or faulty data?

2008-10-27 Thread Alejandro Aguilar Sierra
Hi Robert and Umit, As probably you already read it, my data is georeferenced but has no projection info (plain latitude, l,ongitude). Using plain osgdem produces a wrong 1 dimension field (a line). osgdem -d volcanes.tif -l 8 -v 1.0 -o kk I have to give some approximated --xx and --yy data

Re: [osg-users] VPB bug or faulty data?

2008-10-27 Thread Alejandro Aguilar Sierra
Hi Robert: Yes but they are perfectly georeferenced. What shoud I do? --geocentric is enough? -- A. On Mon, Oct 27, 2008 at 10:38 AM, Robert Osfield [EMAIL PROTECTED] wrote: Hi Alejandro, There is no coordinate systeml information for VPB to go on, and empty string for the coordinate system

Re: [osg-users] VPB bug or faulty data?

2008-10-27 Thread Robert Osfield
Hi Alejandro, Your data *is* the problem, please add the coordinate system info. Using the --xx etc options really is not a good solution going forward. Use properly set up data and things will work fine. Please go check out the gdal website for info on how to set up your data. As for VPB

Re: [osg-users] VPB bug or faulty data?

2008-10-27 Thread Ralf Stokholm
Hi Alejandro You can use gdalwarp to (stamp) the projection information into you data. try using something similar to the following: //call gdalwarp to project my data to wgs84 //This will create a virtual raster (vrt) which does not copy the data of the original raster //but creates a sort of

Re: [osg-users] VPB bug or faulty data?

2008-10-27 Thread Alejandro Aguilar Sierra
Hi Ralph, It works, thank you very much! :) -- A. On Mon, Oct 27, 2008 at 1:57 PM, Ralf Stokholm [EMAIL PROTECTED] wrote: Hi Alejandro You can use gdalwarp to (stamp) the projection information into you data. try using something similar to the following: //call gdalwarp to project my

Re: [osg-users] VPB bug or faulty data?

2008-10-26 Thread Ralf Stokholm
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

Re: [osg-users] VPB bug or faulty data?

2008-10-26 Thread Alejandro Aguilar Sierra
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

[osg-users] VPB bug or faulty data?

2008-10-25 Thread Alejandro Aguilar Sierra
Hello: I got DEM data from INEGI (Mexican Geographic Institute) and convert it to Geo Tiff. gdal_translate -of GTiff -co TILED=YES MDE-n20s19e097o099.bil volcanes.tif gdaladdo -r average volcanes.tif 2 4 8 16 32 gdalinfo volcanes.tif Warning 1: TIFFReadDirectory:volcanes.tif: