#9345: fix axis invert calculation
Merge pull request #1081 from ahuarte47/Issue_9345

Bug #9345: fix calculation of axis ordering of CRS