oraclesai.weights.RookWeightsDefinition

class RookWeightsDefinition

Defines a spatial relationship where two polygons are considered neighbors if they share at least one edge.

Methods

__init__()

from_dict(w_dict)

from_json(json_str)

Attributes

index_allowed

Returns true if the spatial weights may be calculated by passing a spatial index of the data.