Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cell with no parent when loading CellularSpace from shapefile #2370

Open
pedro-andrade-inpe opened this issue Nov 25, 2020 · 0 comments
Open
Assignees
Milestone

Comments

@pedro-andrade-inpe
Copy link
Member

When loading a CellularSpace from a shapefile, the Cells do not have attribute parent. Fix it.

cs = CellularSpace{xdim = 10}

print(cs.cells[1].parent) -- OK

cs = CellularSpace{file = filePath("amazonia.shp")}

print(cs.cells[1].parent) -- nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants