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

mysociety / global.mapit.mysociety.org / 43 / 3
77%
master: 77%

Build:
DEFAULT BRANCH: master
Ran 07 Nov 2017 01:38PM UTC
Files 26
Run time 1s
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

07 Nov 2017 01:32PM UTC coverage: 64.746% (-2.2%) from 66.947%
TOXENV=py35

push

travis-ci

mhl
Add a command to set .country on areas (and assess ambiguities)

This command:

 - Iterates over every area

 - Takes an arbitrary point within every polygon in that area

 - Finds all the O02 (country-level) areas that contain those points

 - If there's exactly one of those, sets it as the country on the area

 - Otherwise sets it to a special '?' country, and outputs an error
   message describing the ambiguity

The plan is to run this command (*without* --commit) to assess the
number of areas that have ambiguous enclosing areas, and then decide
what do about those cases. (e.g. we could change MapIt's data model to
accommodate multiple countries for an area, making sure not to break the
existing API; we could pick the smaller of the ambiguous regions
(typically more useful information); we could use the special '?'
country for real.)

1135 of 1753 relevant lines covered (64.75%)

0.65 hits per line

Source Files on job 43.3 (TOXENV=py35)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 43
  • Travis Job 43.3
  • 8d178545 on github
  • Prev Job for TOXENV=py35 on master (#34.3)
  • Next Job for TOXENV=py35 on master (#44.3)
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