class RGeo::CoordSys::CS::AxisInfo

OGC spec description

Details of axis. This is used to label axes, and indicate the orientation.

Attributes

name[R]

Human readable name for axis. Possible values are “X”, “Y”, “Long”, “Lat” or any other short string.

orientation[R]

Gets enumerated value for orientation.

Public Class Methods

create(name_, orientation_) click to toggle source

Creates an AxisInfo. you must pass the human readable name for the axis (e.g. “X”, “Y”, “Long”, “Lat”, or other short string) and either an integer orientation code or a string. Possible orientation values are “OTHER”, “NORTH”, “SOUTH”, “EAST”, “WEST”, “UP”, and “DOWN”, or the corresponding integer values 0-5.

# File lib/rgeo/coord_sys/cs/entities.rb, line 339
def create(name_, orientation_)
  new(name_, orientation_)
end