Skip to content

Pole of Inaccessibility via Shapely's PolyLabel - Contained within the given polygon? #1854

Closed Answered by jorisvandenbossche
diehl asked this question in Q&A
Discussion options

You must be logged in to vote

My interpretation of the documentation is also that the center point should always be inside the polygon. In GEOS, this is called Maximum Inscribed Circle, and quoting its docs:

Constructs the "maximum inscribed circle" (MIC) for a polygonal geometry,
up to a specified tolerance.
The MIC is determined by a point in the interior of the area
which has the farthest distance from the area boundary, along with a boundary point at that distance.
In the context of geography the center of the MIC is known as the
"pole of inaccessibility". A cartographic use case is to determine a suitable point
to place a map label within a polygon.

Now, currently we have a custom implementation in Python, and …

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@diehl
Comment options

@diehl
Comment options

@jorisvandenbossche
Comment options

@diehl
Comment options

@diehl
Comment options

Answer selected by diehl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants