spherely.prepare#
- spherely.prepare(geography: Geography | array_like) object #
Prepare a geography, improving performance of other operations.
A prepared geography is a normal geography with added information such as an index on the line segments. This improves the performance of the following operations.
This function does not recompute previously prepared geographies; it is efficient to call this function on an array that partially contains prepared geographies.
- Parameters:
geography (
Geography
or array_like) – Geography object(s)
See also