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

tilezen / mapbox-vector-tile / 154
97%
master: 96%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v2.2.0
DEFAULT BRANCH: master
Ran 17 Mar 2017 02:29PM UTC
Jobs 2
Files 10
Run time 11s
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

pending completion
154

push

travis-ci

zerebubuth
Union inners in blocks when making valid

The process of making a polygon valid would start with an outer ring for the polygon and subtract each inner one-by-one, checking that the result stayed valid. This allowed us to reject each individual inner if it would make the polygon invalid.

Unfortunately, this process is _very_ slow when there are 1,000s of inners. When there are many inners, it switches to grouping and unioning blocks of inners together, which reduces the number of times that the expensive "difference" operation is called. This can reduce MVT generation time down from hours to minutes. For example, `9/270/185` went down from 4h to 75s.

639 of 657 relevant lines covered (97.26%)

1.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 154.1 17 Mar 2017 02:29PM UTC 0
91.63
Travis Job 154.1
2 154.2 17 Mar 2017 02:29PM UTC 0
90.87
Travis Job 154.2
Source Files on build 154
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #154
  • 40547f29 on github
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