openlr
Parser for openlr data.
npm install openlr
const openlr = ;openlr;
currently only tested on lines which return an object with a points array, an attributes array, nOffset and nOffset (pertaining to the positive and negative offset), and a bbox. See the openlr white paper for more details about the attributes.
misc
The openlr white paper defines the offset to be a uInt, but the examples treat the offsets as an int, unclear which is the case.
While all the numbers are big endian, the white paper seems to imply circle radius should be little endian but the example doesn't make it clear which way it should be, this library treats it as a little endian number.