We introduce a path-based measure of convexity to be used in assessing the compactness of legislative districts. Our measure is the probability that a district contains the shortest path between a randomly selected pair of its points. The measure is defined relative to exogenous political boundaries and population distributions.