Skip to content

Create named_places detail view linked from plot obs detail view #145

@DarianGill

Description

@DarianGill

This has not been prioritized because it's seemingly redundant with existing lat, lng, state, and country information already displayed in the app.

Still, for completeness named_places were added to the api response from vegbank2 in #240 but they are only returned as nested values within the plot observation endpoint for example:

"named_places": [
    {
      "code": "n-us-me",
      "description": null,
      "name": "Maine",
      "system": "region|state|province"
    },
    {
      "code": "n-us",
      "description": null,
      "name": "United States",
      "system": "area|country|territory"
    },
    {
      "code": "TME0863",
      "description": "Maine, Southern Lat:44° 15' 00\" Eastern Long: -068° 07' 30\"",
      "name": "Seal Harbor",
      "system": "quadrangle"
    }
  ],

For this to be implemented we'd also need np_codes for each and a get_named_place endpoint that accepted them and returned additional fields including:

  • rf_label
  • rf_code
  • obs_count (And the ability to filter plot obs by named_place)
  • parent_places
    • np_code
    • name
    • convergence
  • child_places
    • np_code
    • name
    • convergence

So we could make a view like the original vegbank's:

Image

Or this really long one:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions