How can you determine the orientation of a PostGIS
geography polygon? I'm looking/hoping for a function that would tell me which side is the interior (left or right) as you traverse the vertices of the outer shell in order.
I have data that wraps around the poles, so naive casting to
geometry won't work for me. (Or at least I don't think so. Maybe this isn't true.)
I'm a reasonably good programmer, so if no such function exists then an algorithm outline would be fine too.