HGT is an algorithm that generates the fundamentals of polygons by OSM routes.
- Export OSM data using Overpass.
- Find all intersections:
- Bentley-Ottmann sweep-line algorithm O(n log (n + k)).
- Brute force O(n^2).
- Generate polygons:
- Use https://kepler.gl/demo.
- Import file from data_samples/polygones_results.
- Set color by "color" value.
[ ] Fix with "bugged: polygones
[ ] Validation of resulting polygones
[ ] All in one script