Skip to main content

load_geos

Locates and loads the GEOS shared library using ctypes, optionally utilizing the GEOS_LIBRARY_PATH from Django settings. It initializes the library's C interface and configures function prototypes for thread-safe context handling.

def load_geos() - > CDLL

Locates and loads the GEOS shared library using system-specific paths or Django settings, then initializes the C-API function prototypes for thread-safe operations.

Returns

TypeDescription
CDLLA ctypes CDLL instance representing the loaded GEOS C library with configured function prototypes.