@speleotica/frcs2breakout
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

@speleotica/frcs2breakout

CircleCI Coverage Status semantic-release Commitizen friendly npm version

Converts data from FRCS format to Breakout.

API

import {
  FrcsPlotFile,
  FrcsSurveyFile,
  FrcsTripSummaryFile,
} from '@speleotica/frcsdata'
import { Length, UnitizedNumber } from '@speleotica/unitized'

type CaveInput = {
  /**
   * Parsed survey file data
   */
  survey: FrcsSurveyFile
  /**
   * Parsed plot file data
   */
  plot?: FrcsPlotFile
  /**
   * Parsed trip summaries file data
   */
  summaries?: FrcsTripSummaryFile
  /**
   * If given, will add survey notes filenames to the output trips
   */
  surveyNotesFilePrefix?: string
  /**
   * The UTM zone of the plot.  If omitted, fixed stations won't be output
   */
  utmZone?: number
  /**
   * Offset to apply to fixed stations from the plot
   */
  zeroReference?: {
    northing: UnitizedNumber<Length>
    easting: UnitizedNumber<Length>
    elevation: UnitizedNumber<Length>
  }
}

export function convertToBreakout(data: Record<string, CaveInput>): MetacaveData

Readme

Keywords

Package Sidebar

Install

npm i @speleotica/frcs2breakout

Weekly Downloads

1

Version

1.1.2

License

MIT

Unpacked Size

141 kB

Total Files

9

Last publish

Collaborators

  • jedwards1211