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

add_aggregations method bug #141

Open
2 tasks done
panosatha opened this issue May 10, 2024 · 0 comments
Open
2 tasks done

add_aggregations method bug #141

panosatha opened this issue May 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@panosatha
Copy link
Collaborator

Preliminary Checklist

  • I have searched the existing issues list for similar reports and found none. If you did find a similar issue, please add a comment to the existing issue instead of opening a new one.
  • I have verified that the issue exists in the latest version of DelftDashboard and its dependencies. Please update to the latest version and check if the issue still exists.

Severity Level

Medium

Steps to reproduce

In the add_aggregation method instead of passing the individual areas, the whole list is passed in each iteration.

for i in fn:
additional_attr = gpd.read_file(i)
additional_attr_total_area = additional_attr.unary_union
if area_of_interest.overlaps(additional_attr_total_area, align=True).all():
app.active_model.domain.exposure_vm.set_aggregation_areas_config(
fn, attribute, label
)

Current behaviour

No response

Desired behaviour

No response

Additional context

No response

@panosatha panosatha added the bug Something isn't working label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant