Commit graph

8 commits

Author SHA1 Message Date
Fabian Wunsch
d32649d5c7 Added comments
and tweaked the treshold a bit
2022-04-12 15:13:39 +02:00
Fabian Wunsch
24bed2a73c Moved log out of loop 2022-04-12 08:15:27 +02:00
Fabian Wunsch
9c5782e6c8 More balanced approach
to centroid vs pole of inaccessability
2022-04-12 08:15:21 +02:00
Fabian Wunsch
5aa211e120 Much better way of finding the visual center 2022-04-12 08:15:12 +02:00
Fabian Wunsch
132798351d Added typing; added clarification 2022-04-12 08:15:02 +02:00
Fabian Wunsch
8fc546885e More descriptive variable names 2022-04-12 08:14:46 +02:00
Fabian Wunsch
302f0fe068 Changed codebase and minor bugfixes
Changed the codebase to https://github.com/Twista/python-polylabel/
and rounded results
2022-04-12 08:14:42 +02:00
Fabian Wunsch
d819cfb313 Changed the algorithm to calculate the center
this is the version from Mapbox, just to see how well it performs. It
definitely needs improvements as of now. I'm going to include the
atlas.json, but it will be excluded once the pr is ready to be merged
2022-04-12 08:14:10 +02:00