spherely.is_prepared#
- spherely.is_prepared(geography: Geography | array_like) object #
Returns True if the geography object is “prepared”, False otherwise.
A prepared geography is a normal geography with added information such as an index on the line segments. This improves the performance of many operations.
Note that it is not necessary to check if a geography is already prepared before preparing it. It is more efficient to call prepare directly because it will skip geographies that are already prepared.
- Parameters:
geography (
Geography
or array_like) – Geography object(s)
See also