stilt.Zones#
- class stilt.Zones(*, base: stilt.config.spatial.Grid | stilt.geometry.Mesh, labels: tuple[str, ...]) None[source]#
Regions made by merging the cells of a
GridorMesh.
Parameters
baseGrid or MeshGeometry whose cells are merged.
labelssequence of strOne label per cell of
base, inbase.indexorder. Cells with the same label form one region. Theindexlists the labels in order of first appearance.
Methods#
|
Return zones from labels of any type, converted to strings. |
Attributes#
|
|
|
CRS of the base geometry. |
|
First 10 characters of a SHA-256 hash of the base geometry and labels. |
|
Unique labels in order of first appearance, as an index named |
|
Whether the base geometry is in longitude/latitude degrees. |
|
Sparse |
|
Smallest cell width of the base geometry, since no region is smaller. |
|
|
|