spherely.destroy_prepared

spherely.destroy_prepared#

spherely.destroy_prepared(geography: Geography | array_like) object#

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.

Parameters:

geography (Geography or array_like) – Geography object(s)

See also

is_prepared, prepare