add ogreutils helper functions