[osg-users] Add get/setCoordinateSystemType to osg::CoordinateSystemNode?

Robert Osfield robert.osfield at gmail.com
Wed Jun 18 05:06:55 PDT 2008


On Wed, Jun 18, 2008 at 12:41 PM, Glenn Waldron <gwaldron at gmail.com> wrote:
> Robert,
>
> I propose that osg::CoordinateSystemNode should have the same
> get/setCoordinateSystemType() methods that are found in osgTerrain::Locator.
> Without them, it is not possible to differentiate between a geocentric and a
> projected plate carre projection.
>
> If you agree, I will submit the change. Thanks.

I have no objection, the only thing to be wary of is if the coordinate
system string and the type disagree - this would be a garbage
in/garbage out issue, if the user sets things correctly, they will
agree, if they mess up there won't be an automatic way of checking
i.e. you'd need something like PROJ to check.

Robert.


More information about the osg-users mailing list