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

uber / h3-go
100%

Build:
DEFAULT BRANCH: master
Repo Added 18 Sep 2018 05:56PM UTC
Files 8
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • bench-ranges
  • chore-upgrade-h3-core
  • feat-add-error-codes
  • feat/latlng-to-cells-batch
  • gilley/adopt-modules
  • gilley/test-str
  • gilley/travis
  • joegilley-patch-2
  • joegilley-patch-3
  • justinhwang/4.3
  • justinhwang/4.5
  • justinhwang/bindings
  • justinhwang/bit
  • justinhwang/bump
  • justinhwang/changelog
  • justinhwang/coverage
  • justinhwang/doc
  • justinhwang/docs
  • justinhwang/edge
  • justinhwang/err
  • justinhwang/forward-gnomonic-opt
  • justinhwang/from_string
  • justinhwang/generics
  • justinhwang/github
  • justinhwang/greatcircle
  • justinhwang/griddiskunsafe
  • justinhwang/gridring
  • justinhwang/indexdigit
  • justinhwang/intpow
  • justinhwang/latlngcell
  • justinhwang/latlngstr
  • justinhwang/numverts
  • justinhwang/paritytest-benchmarks
  • justinhwang/purego-phase-a
  • justinhwang/purego-phase-b
  • justinhwang/purego-phase-c
  • justinhwang/purego-phase-d
  • justinhwang/purego-phase-e
  • justinhwang/purego-phase-f
  • justinhwang/purego-phase-g
  • justinhwang/readme
  • justinhwang/remove-h3core
  • justinhwang/stack
  • justinhwang/tostring
  • justinhwang/tovec3-projection-opt
  • justinhwang/unsafe
  • justinhwang/vertex
  • maintainer-banner
  • master
  • refs/tags/v3.7.0
  • refs/tags/v3.7.1
  • refs/tags/v4.0.0
  • refs/tags/v4.0.1
  • refs/tags/v4.1.0
  • refs/tags/v4.1.1
  • refs/tags/v4.1.2
  • refs/tags/v4.2.0
  • refs/tags/v4.2.1
  • refs/tags/v4.2.2
  • refs/tags/v4.2.3
  • refs/tags/v4.2.4
  • refs/tags/v4.3.0
  • refs/tags/v4.4.0
  • refs/tags/v4.4.1
  • refs/tags/v4.5.0
  • update-h3
  • upgrade-github-actions-node24
  • v3.0.0
  • v3.0.1
  • v3.0.2
  • v4
  • vscode
  • zcoleman/exposing-polygontocells-containment
  • zcoleman/issue-78

02 Jul 2026 03:08PM UTC coverage: 100.0%. Remained the same
28600578552

push

github

web-flow
feat: add pure-Go CellToLatLng & CellToBoundary to x/h3go (#125)

Implement the reverse projection pipeline in pure Go: CellToLatLng
(+ Cell.LatLng) and CellToBoundary (+ Cell.Boundary), with the supporting
FaceIJK/coordIJK/vec2d/vec3d geometry, substrate grids, and overage
adjustment. Verified against the cgo reference via paritytest and by
LatLngToCell round-trips, with regression cases ported from the C tests.

Refactors applied across the package:
- Convert input-parameter helpers to methods on their natural receiver type,
  with one canonical receiver name per type.
- Inline pure-delegation unexported helpers into their exported methods
  (resolution, baseCellNumber, isPentagon); collapse isValid's guard in.
- Add isResClassIII(res) helper, replacing scattered %2 == 1 checks.
- Exclude mnd for x/h3go via path-scoped .golangci.yml rule (geometric and
  bit-layout constants are inherent, not magic) and drop the now-unused
  //nolint:mnd directives; keep gosec.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

616 of 616 new or added lines in 7 files covered. (100.0%)

2102 of 2102 relevant lines covered (100.0%)

1578843.11 hits per line

Relevant lines Covered
Build:
Build:
2102 RELEVANT LINES 2102 COVERED LINES
1578843.11 HITS PER LINE
Source Files on master
  • Tree
  • List 8
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
28600578552 master feat: add pure-Go CellToLatLng & CellToBoundary to x/h3go (#125) Implement the reverse projection pipeline in pure Go: CellToLatLng (+ Cell.LatLng) and CellToBoundary (+ Cell.Boundary), with the supporting FaceIJK/coordIJK/vec2d/vec3d geometry, s... push 02 Jul 2026 03:10PM UTC web-flow github
100.0
27738291857 justinhwang/forward-gnomonic-opt perf: fold forward gnomonic projection (toHex2d) into algebra toHex2d is the forward gnomonic projection behind LatLngToCell, PolygonToCells, and local-IJ -> cell. Like the earlier toVec3 work it computed the angle and radius with transcendentals... Pull #134 18 Jun 2026 05:16AM UTC justinhwang github
100.0
27736586680 justinhwang/tovec3-projection-opt perf: fold projection trig into precomputed tables and fused IJK descent Two hot transforms behind nearly every geometry call are reworked. toVec3 (the inverse gnomonic projection behind CellToLatLng, CellToBoundary, CellArea*, EdgeLength*, vert... Pull #133 18 Jun 2026 04:27AM UTC justinhwang github
100.0
27736352283 justinhwang/tovec3-projection-opt perf: fold projection trig into precomputed tables and fused IJK descent Two hot transforms behind nearly every geometry call are reworked. toVec3 (the inverse gnomonic projection behind CellToLatLng, CellToBoundary, CellArea*, EdgeLength*, vert... push 18 Jun 2026 04:19AM UTC justinhwang github
100.0
27735272019 justinhwang/tovec3-projection-opt perf: fold toVec3 inverse projection into precomputed trig + one sqrt toVec3 (the inverse gnomonic projection behind CellToLatLng, CellToBoundary, CellArea*, EdgeLength*, vertex/edge boundaries, and the polygon paths) computed atan2 + atan + two ... push 18 Jun 2026 03:47AM UTC justinhwang github
99.77
27734628439 justinhwang/paritytest-benchmarks test+perf: parity benchmarks and allocation cuts for x/h3go Add a cgo-vs-pure-Go benchmark suite under x/h3go/paritytest covering every publicly exposed function and method, each run as "impl=cgo" and "impl=go" sub-benchmarks so `benchstat -col /... Pull #132 18 Jun 2026 03:27AM UTC justinhwang github
99.76
27731679822 justinhwang/remove-h3core refactor: remove internal/h3core and reorganize x/h3go Remove the internal/h3core package and inline the shared H3 index-format constants and pentagon base-cell table into both consumers, so neither depends on the shared package: - h3: bit-layout... Pull #131 18 Jun 2026 02:00AM UTC justinhwang github
100.0
27731605010 justinhwang/remove-h3core refactor(h3go): reorganize declarations and genericize shared index ops File organization: - Group const/var/type declaration blocks at the top of each source file. - Split error vars into errors.go; rename h3go.go -> constants.go and add h3.go... push 18 Jun 2026 01:58AM UTC justinhwang github
100.0
27727545624 justinhwang/purego-phase-g feat: add pure-Go regions (polygon/cells, multipolygon) to x/h3go Implements the full H3 regions API in pure Go, verified against the cgo reference: - PolygonToCells (legacy flood-fill polyfill) and GeoPolygon.Cells, with the GeoPolygon/GeoLoo... Pull #130 18 Jun 2026 12:02AM UTC justinhwang github
100.0
27665848677 justinhwang/purego-phase-f feat: add pure-Go vertexes, directed edges & edge length to x/h3go Add the Vertex and DirectedEdge index types with their full method and free-function surfaces: Cell.Vertex/Vertexes and Vertex.LatLng/IsValid/ String/Resolution/IndexDigit; Cell.D... Pull #129 17 Jun 2026 04:32AM UTC justinhwang github
100.0
See All Builds (333)
  • Repo 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