- 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
nodeId
tonumber
type. - Convert
bench.js
to Typescript
distanceToNextRef
has been changed to calculate distance along geometry instead ofstart
toend
points.
- Fix closed loops LineStrings: https://github.com/sharedstreets/sharedstreets-conflator/issues/8
- Implement
backReference
&forwardReference
methods. - Implement
getStartCoord
&getEndCoord
methods, easy way to extract coordinates from a GeoJSON LineString. - Implement
getFormOfWay
method, easy way to extract FormOfWay from a GeoJSON LineString. - Update
distanceToNextRef
to usestart
&end
params.
- 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
formOfWay
optional forreferenceId
method. - Add
coordsToLonlats
method
- 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.js
precision loss issue - Add
.pbf
test 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