Closed mapoor closed 6 years ago
Thanks! I'm not accepting new ports to the repo because I won't be able to maintain them, but feel free to create a separate repo for it.
@mapoor for what it's worth, Shapely already has an implementation of this polylabel
algorithm: https://github.com/Toblerity/Shapely/blob/master/shapely/algorithms/polylabel.py#L56. It doesn't surface in the current docs due to an oversight, so I don't blame you for not knowing about it.
@sgillies thanks. shapely's implementation is better.
Polylabel use python (use shapely library maybe slow when polygon is complex)