tg
github.com · Open source · Active
Fast point-in-polygon geometry library for C
- Developer tools
- Open source
- C
- Day-7 check
- Day-30 check
- geometry
- point in polygon
- point in polygon c
- geometry library c
- geofencing library
- geojson c library
- spatial predicates
- Stars
- 678
- Forks
- 29
- Open issues
- 4
- Last commit
- Found
- 3 years ago
GitHub figures as of . They are context, not a ranking.
tg is a geometry library for C focused on fast point-in-polygon checks. It suits developers who need to test whether points fall inside shapes in performance-sensitive C code, and who want a focused geometry dependency.
Repository description on GitHub: “Geometry library for C - Fast point-in-polygon”
What it does
- Point-in-polygon checks designed to be fast
- Implements OGC Simple Features geometry types
- Reads and writes GeoJSON, WKT, WKB and GeoBIN
- Compiles to WebAssembly with Emscripten
Good for
- Test whether GPS points fall inside geofence polygons in C code
- Run spatial predicates such as intersects and covers on streaming data
Suits: C developers who need fast geospatial checks in performance-sensitive code.
What you can try
Read the README on GitHub and install from source.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw tg on , when tidwall posted it to Show HN. GitHub listed no published releases for tidwall/tg when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 201 points, 32 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 201 points, 32 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: tidwall/tg
- Found: tidwall posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was tg released?
- No dated release record is available. Kip found it on Show HN on 22 Sep 2023.
- Is tg open source?
- Its source is public on GitHub at tidwall/tg under the MIT licence.
- What does tg run on?
- Library.
- Is tg free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is tg still maintained?
- Yes. It had a commit or release in the last 90 days as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | tidwall/tg REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-37619100. Summary written by KipFound’s editor.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.