- mirgrated/refactored cache library from api
- Update test suite
- Update directory stucture: move code to
./src - Remove uncessary dependencies
- Fixed bugs in location reference generation
- Update default roudning to five decimals
- Revert
nodeIdtonumbertype. - Convert
bench.jsto Typescript
distanceToNextRefhas been changed to calculate distance along geometry instead ofstarttoendpoints.
- Fix closed loops LineStrings: https://github.com/sharedstreets/sharedstreets-conflator/issues/8
- Implement
backReference&forwardReferencemethods. - Implement
getStartCoord&getEndCoordmethods, easy way to extract coordinates from a GeoJSON LineString. - Implement
getFormOfWaymethod, easy way to extract FormOfWay from a GeoJSON LineString. - Update
distanceToNextRefto usestart&endparams.
- Add new helper methods
inboundBearing,outboundBearing&distanceToNextRef.
- Enforce strict TSLint/Typescript configs
- Add new method
metadata - Update docs for
reference - Add new method
reference
- Add new method
intersection
- Add new method
geometry - Convert tests to Typescript
- Make
formOfWayoptional forreferenceIdmethod. - Add
coordsToLonlatsmethod
- Enforce strict TSLint
tslint.json - Enforce strict=true
tsconfig.json#9
- Improved readability of testing (expectedId)
- Handle FormOfWay as
undefined - Split method names
getFormOfWay=>getFormOfWayString&getFormOfWayNumber - Split method names
getFormOfWay=>getFormOfWayString&getFormOfWayNumber - Update pbf sample data
- Fix
bignumber.jsprecision loss issue - Add
.pbftest cases (intersection 100%, geometry 100%, reference 0%) - Replace
latlonsToCoords=>lonlatsToCoords
- Add messages methods (helps troubleshoot library)
- Add
geometryMessage - Add
intersectionMessage - Add
referenceMessage
- Add
referenceId - Add
locationReference - Clean documentation
- Add
geometryId - Add
intersectionId
- Start implementation of SharedStreets Location Reference
- Start implementation of SharedStreets Reference
- Drop Rollup bundler in favor of Browserify (Config too complex when including Crypto & Typescript)
- Replaced Base58 with Base16 (hex)
- Implement
sharedstreets.geometry
- Drop PBF & Typescript definition from core library
- Implement Geometry Pbf parser
- Implement Intersection Pbf parser
- Setup boilerplate
- Add PBF test fixtures
- Add initial JSDocs documentation