package shapefile

  1. Overview
  2. Docs
type direction =
  1. | North
  2. | South
  3. | East
  4. | West
  5. | Up
  6. | Down
  7. | Other
type t = {
  1. name : string;
    (*

    for humans only

    *)
  2. direction : direction;
    (*

    axis direction

    *)
}

Defines axes for correct overlay with different Coordinate Systems. If not provided, the default values are the following:

  • Geographic CS: AXIS"Lon", EAST, AXIS"Lat", NORTH
  • Projected CS: AXIS"X", EAST, AXIS"Y", NORTH
  • Geocentric CS: AXIS"X", OTHER, AXIS"Y", EAST, AXIS"Z", NORTH
val sprint : t -> string

Defines axes for correct overlay with different Coordinate Systems. If not provided, the default values are the following:

  • Geographic CS: AXIS"Lon", EAST, AXIS"Lat", NORTH
  • Projected CS: AXIS"X", EAST, AXIS"Y", NORTH
  • Geocentric CS: AXIS"X", OTHER, AXIS"Y", EAST, AXIS"Z", NORTH
val sprint_dir : direction -> string
val geographic_default : t * t
val projected_default : t * t
val geocentric_default : t * t * t