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 fields to the Structure object #22

Closed
HenryGeorgist opened this issue Aug 15, 2024 · 0 comments · Fixed by #26
Closed

Add fields to the Structure object #22

HenryGeorgist opened this issue Aug 15, 2024 · 0 comments · Fixed by #26
Assignees
Labels
enhancement New feature or request

Comments

@HenryGeorgist
Copy link

Follow the general pattern of this struct from go-consequences:
https://github.com/USACE/go-consequences/blob/ada8f32f50fbc785dd731ade9041dacd8a9516bf/structures/structure.go#L74C1-L81C2
https://github.com/USACE/go-consequences/blob/ada8f32f50fbc785dd731ade9041dacd8a9516bf/structures/structure.go#L16C1-L24C2

  1. Name, string
  2. DamCat, string
  3. CBFips, string
  4. X,Y,Ground elevation float64
  5. Occtype string //note this is a change for simplification for now
  6. FoundationType, Firmzone, ConstructionType string
  7. StructVal, ContVal, FoundHt float64
  8. NumStories int32
  9. Popo65day, popu65day, popo65night, popu65 night int32

add annotation for json tags to match these field names...

https://github.com/USACE/go-consequences/blob/ada8f32f50fbc785dd731ade9041dacd8a9516bf/structureprovider/nsi-structure-provider.go#L19

@HenryGeorgist HenryGeorgist added the enhancement New feature or request label Aug 15, 2024
@jackschonherr jackschonherr linked a pull request Aug 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants