spherely.destroy_prepared#
- spherely.destroy_prepared(geography, /)#
Destroy the prepared part of a geography, freeing up memory.
Note that the prepared geography will always be cleaned up if the geography itself is dereferenced. This function needs only be called in very specific circumstances, such as freeing up memory without losing the geographies, or benchmarking.
This function updates the input geographies in-place!
- Parameters:
geography (
Geography
or array_like) – Geography object(s).- Returns:
unprepared (
Geography
or array) – The same input Geography object(s) with no attached index.
See also