Open pedro-andrade-inpe opened 3 years ago
When loading a CellularSpace from a shapefile, the Cells do not have attribute parent. Fix it.
CellularSpace
Cells
parent
cs = CellularSpace{xdim = 10} print(cs.cells[1].parent) -- OK cs = CellularSpace{file = filePath("amazonia.shp")} print(cs.cells[1].parent) -- nil
When loading a
CellularSpace
from a shapefile, theCells
do not have attributeparent
. Fix it.