internetofwater / geoconnex.us

URI registry for https://geoconnex.us based URIs
Other
23 stars 14 forks source link

Update mainstems. #173

Closed dblodgett-usgs closed 1 year ago

dblodgett-usgs commented 1 year ago

This is a WIP, I need help with template setup.

I have three fields that need to be templated out.

  1. featuretype is multivalued, can we template this?
  2. encompassing_mainstem_basins is the list of all encompassing basins (actually the list of all downstream mainstems)
  3. new_mainstemid can be more than one value and needs to be templated.

The encompassing_mainstem_basins association is: https://www.opengis.net/def/schema/hy_features/hyf/encompassingCatchment

I'm not quite sure what association to use for new_mainstemid -- https://schema.org/supersededBy ??

Here are two examples (one that has a supersede list and one that has the downstream / encompassing lists) -- data to match this is here. https://www.hydroshare.org/resource/3295a17b4cc24d34bd6a5c5aaf753c50/data/contents/mainstems.gpkg

image image

dblodgett-usgs commented 1 year ago

Alright -- I mocked up a template file. I'm not sure how to test it, so there may be some errors in there that I'm not seeing. Help??