import { Epsg } from './epsg.js' ; /**
 * Order of X & Y coordinates when defined as a array
 *
 * `[x,y]` vs `[y,x]`
 */ export enum XyOrder { /** [x, y] */ Xy , /** [y, x] */ Yx } param epsg export function getXyOrder ( epsg ) { /**
     * [EPSG:2193](https://www.opengis.net/def/crs/EPSG/0/2193) (NZTM) is defined in [y, x]
     * specified by the coordinate system [cs:4500](https://www.opengis.net/def/cs/EPSG/0/4500)
     */ if ( epsg === Epsg . Nztm2000 ) { return XyOrder . Yx ; } return XyOrder . Xy ; }