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 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 filter for reading the data.
> gdal_translate -of vrt -a_srs EPSG:4326  volcanes.tif volcanes.vrt
>
> //Then use the vrt as input
> osgdem -d volcanes.vrt  -l 8  -v 1.0 -o kk
>
>
> EPSG:4326 is short form defenition of a basic lat lon coordinate system,
> same format you will receive ie landsat data in.
>
> Hope this helps.
>
> Brgs.
>
> Ralf Stokholm
>
> 2008/10/27 Robert Osfield <[EMAIL PROTECTED]>
>>
>> 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 docs, I haven't had a chance to write full docs for all the
>> utilities yet.  There are some notes online.
>>
>> Robert.
>>
>> On Mon, Oct 27, 2008 at 4:43 PM, Alejandro Aguilar Sierra
>> <[EMAIL PROTECTED]> wrote:
>> > 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 to make it work
>> > and even so it does wrongly, creating the mirror image in the Y
>> > direction, as you can see comparing the texture image with the
>> > produced terrain.
>> > Any hint?
>> >
>> > Where can I find documentation about vpbmaster, vpbcache and vpbsize?
>> >
>> > Regards,
>> >
>> > -- A.
>> >
>> > On Mon, Oct 27, 2008 at 3:40 AM, Robert Osfield
>> > <[EMAIL PROTECTED]> wrote:
>> >> 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 reprojects the data into WGS84
>> >> and then builds the data, if you are using vpbmaster then you'll need
>> >> to do this reprojection as a prior step to calling vpbmaster.  The
>> >> vpbcache utility can do this reprojection for you.  If you are just
>> >> using osgdem standalone then it can do the reprojection for you.
>> >>
>> >> The key is that your source data should have at least a projection
>> >> that GDAL recognizes otherwise you end up having to build your own
>> >> projection.  GDAL has tools to allow you to do this.
>> >>
>> >> Robert.
>> >> _______________________________________________
>> >> osg-users mailing list
>> >> osg-users@lists.openscenegraph.org
>> >>
>> >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>> >>
>> >
>> > _______________________________________________
>> > osg-users mailing list
>> > osg-users@lists.openscenegraph.org
>> >
>> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>> >
>> >
>> _______________________________________________
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to