• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mapbox / geobuf / 97 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 22 Dec 2015 04:40PM UTC
Files 3
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Dec 2015 04:39PM UTC coverage: 100.0%. Remained the same
97.1

push

travis-ci

mourner
Fix accumulating precision errors in delta encoding.

Features with high-precision coordinates and lines or polygons containing many points can accumulate an error due to the delta encoding method, which only considers the previous point when computing the delta:

  delta[n] = x[n] - x[n - 1]

Instead use the sum of all the previous deltas:

  delta[n] = x[n] - sum(delta[0 .. n-1])

This prevents rounding errors from accumulating. A cumulative sum is kept for speed instead of recomputing the sum each time.

245 of 245 relevant lines covered (100.0%)

23.7 hits per line

Source Files on job 97.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 97
  • Travis Job 97.1
  • ee5f98ce on github
  • Prev Job for on master (#96.1)
  • Next Job for on master (#98.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc