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

Query point location for all exposure #5

Open
tomalrussell opened this issue Sep 9, 2021 · 1 comment
Open

Query point location for all exposure #5

tomalrussell opened this issue Sep 9, 2021 · 1 comment
Labels
big feature New feature

Comments

@tomalrussell
Copy link
Member

For a given location - which may be a current or future infrastructure asset location - I would like to know all the hazards which may affect it.

  • Do any hazards have no effect on the location? In that case, report no exposure.
  • What are the depths/wind speeds at all return periods? Line graph with 1/return period on x-axis, depth on y-axis.
  • What are the likelihoods of extremes, from an event set? Histogram of depths.

Implementation notes - may be an API call rather than pushing all data client side:

GET /exposure/rp?lat=0.00&lng=0.00

[
  {
    "hazard": "coastal", 
    "exposure": [0,0,0,1,2], 
    "return_period": [5,10,50,100,250] 
  }
]

^ exposure and return period entries correspond

GET /exposure/events?lat=0.00&lng=0.00

[
  {
    "hazard": "coastal", 
    "events": [2.3,7,2.3]
  }
]

^ events is list of non-zero depths from event set

@tomalrussell tomalrussell added the feature New feature label Nov 11, 2021
@tomalrussell tomalrussell mentioned this issue Feb 3, 2022
3 tasks
@mz8i
Copy link
Contributor

mz8i commented Mar 13, 2022

Relevant discussion from terracotta repo: DHI/terracotta#163

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
big feature New feature
Projects
None yet
Development

No branches or pull requests

3 participants