Geographic Coordinate Format Converter
A library to transform geospatial coordinates.
Installation
To install the stable version:
npm install --save geographic-coordinate-converter
This assumes you are using npm as your package manager.
Usage
Instance the converter from one of the following methods:
; CoordinateConverterCoordinateConverterCoordinateConverterCoordinateConverter
Convert to the desired format:
;;
Examples
CoordinateConverter //"36º 00.607' S 002º 20.914' W"CoordinateConverter //"36º 00' 36.4'' S 002º 20' 54.8'' W"CoordinateConverter //"-36.01011 -2.34856"CoordinateConverter //[-36.01012, -2.34857]
License
MIT