Commit d45f379
Voronoi cities (#84)
* squeletton for voronoi implementation
* update to geo-types 0.2
* remove failure warning
* first working version
but still lots of todos 😉
* update deps
* fix code
* changes
* working version
* Fully working version of voronoi
* remove useless field
* Fix nits
* Greatly improvement run speed
* new small optimizations
* Update to last geos version
* Remove useless code
* only iterate over towns which share the same parent
* Performance improvement
* fix zones not matching their name
* speed up
* working version
* cargo fmt
* update ubuntu travis version
* add test for voronoi
* Add disable-voronoi option
* Check intersection failure instead of unwraping
* Fix tests
* No more unwraps or expect
* Use osm ids instead
* Improvements on voronoi
* add debug
* Global performance improvement
* Prevent file rereading
* Don't flatten vectors
* Prevent voronoi computation when parent is a country
* Replace deprecated env_logger item
* Use github link instead of local one
* fmt
* Apply comments
* fmt
* update to last geos version
* clean up cargo file
* Fix towns exclusion when only one city
* Add filter langs option
* Use new geos crate version
* Don't keep unique zone when failures occur
* fmt
* cleanup
* apply comments
* Add comments1 parent 65553e7 commit d45f379
File tree
12 files changed
+922
-358
lines changed- src
- bin
- tests
- data
12 files changed
+922
-358
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
0 commit comments