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

OpenTreeMap / otm-core / 2593
83%
develop: 84%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/sockjs-0.3.21
DEFAULT BRANCH: develop
Ran 08 Mar 2017 06:44AM UTC
Jobs 1
Files 190
Run time 12s
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
2593

Pull #3041

travis-ci

web-flow
Fix polygon area calculation

The `getPolygonDisplayArea` function began returning zero when passed
the results of calling `getLatLngs` on a boundary polygon. The
`getLatLngs` method was producing a doubly-nested array and the
`geodesicArea` function only works on a 1-dimensional array. I fixed
`getPolygonDisplayArea` by making it recursively descend through an
arbitrary number of nested arrays and sum the results of calling
`geodesicArea` on any "leaf" array it finds.
Pull Request #3041: Fix polygon area calculation

15600 of 18745 relevant lines covered (83.22%)

0.83 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
treemap/management/commands/random_trees.py
Jobs
ID Job ID Ran Files Coverage
1 2593.1 08 Mar 2017 06:44AM UTC 0
83.22
Travis Job 2593.1
Source Files on build 2593
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2593
  • Pull Request #3041
  • PR Base - release/2.15.0 (#2581)
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

© 2025 Coveralls, Inc