[osg-users] Image Resolution in VPB

Robert Osfield robert.osfield at gmail.com
Mon Mar 16 13:47:14 PDT 2009


Hi Martins,

You could try to use the -e option.  It takes lat/longs as input.  I don't
know if it'll pad though, as I suspect it won't unless the at least some of
the input data covers the region.   If you want to force the resolution to
be the same then just use the image and height res option.  I can't recall
what they off the top of my head, run osgdem --help to list them all.

Robert.

On Mon, Mar 16, 2009 at 6:12 PM, Martins Innus <minnus at ccr.buffalo.edu>wrote:

> Hello,
>        I'm using VPB to generate a terrain database with 2ft resolution
> elevation data and 1 ft resolution imagery. What I'm trying to do is make
> the imagery in the highest resolution tiles have the exact same resolution
> as the source imagery and also still be a power of 2 for the image tiles.
>        I've verified that if I take a small input area where the source
> imagery dimensions are a power of 2, I get what i want for the final model.
>        It seems that if I could tell VPB to "pad out" the extents of my
> input data to a power of 2 that should work as well.  I don't care if its
> black or garbage or whatever.
>
>        Would the "-e" option do what I want if I specify extents larger
> than the input data?  I'm about to give that a try but it takes about three
> days for this job to run to completion, so I figured I would ask if anyone
> has tried to do the same thing.
>
> Thanks for any insight.
>
> Martins
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090316/d9a63fcd/attachment-0003.htm>


More information about the osg-users mailing list