Skip to content

Instantly share code, notes, and snippets.

@jef-n
Created March 16, 2012 00:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jef-n/2047870 to your computer and use it in GitHub Desktop.
Save jef-n/2047870 to your computer and use it in GitHub Desktop.
const char *axis0 = OSRGetAxis( mCRS, mGeoFlag ? "GEOGCS" : "PROJCS", 0, &orientation );
mAxisInverted = mGeoFlag
? (orientation == OAO_East || orientation == OAO_West || orientation == OAO_Other )
: (orientation == OAO_North || orientation == OAO_South );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment