[osg-users] [VPB] Overriding source reprojection requirement in vpbmaster

Robert Osfield robert.osfield at gmail.com
Sat Mar 29 02:20:55 PDT 2008


Hi Glenn,

It's correct vpbmaster refuses to do a build if the sources aren't all
the same coordinate system as otherwise running osgdem on multiple
processes at the same time would cause multiple reprojections on the
same data at the same time and an unholy mess.

The way to manage the reprojection is do it as a preprocessing step,
creating a cache of reprojected data.  For this you use another tool
vpbcache.   I'm looking after my little 4 year old right now so can't
answer any further right now - we're going out for walk!!

Robert.

On Sat, Mar 29, 2008 at 12:50 AM, Glenn Waldron <gwaldron at gmail.com> wrote:
> Robert,
>
>  I've noticed that vpbmaster refuses to continue if it detects that all
> sources are not in the same coordinate system. I can certainly understand
> why. That said, is there a way to override this decision and tell vpbmaster
> to "trust me" that all sources are in a common projection?
>
>  Case in point: GDAL's ECW (ER Mapper compressed wavelet raster) plugin is
> sometimes not able to correctly parse the coordinate system information in
> the file. (This is a known issue -- http://www.gdal.org/frmt_ecw.html). So
> vpbmaster won't run since it thinks the ECW is in a different projection
> than other input layers.
>
> I tried using the "--cs" option to manually specify the CS; also
> "--ReprojectSources False"; no luck in either case. I'm running on Win32
> with the latest SVN head of OSG and VPB.
>
>  Glenn
>
> --
> Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : 703-652-4791
> _______________________________________________
>  osg-users mailing list
>  osg-users at lists.openscenegraph.org
>  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


More information about the osg-users mailing list