internetofwater / geoconnex.us

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

reference feature finder process #160

Closed ksonda closed 5 months ago

ksonda commented 2 years ago

As more folks are starting to come on board, they are going to need an "easy" way to identify which reference features to use. For NHDPlusV2 comids/reachcodes, the NLDI point lookup endpoint may be suitable. For cataloging features, mainstems, and reference gages, some kind of other lookup will be necessary.

One option is to have a web map, similar to the shiny app. But this requires a lot of manual looking around for each and every feature of interest. Another option I was thinking would be to have a pygeoapi process running on reference.geoconnex.us, where you could programmatically supply a lat/lon, and get a response of the members of every reference collection within a small bbox of the supplied lat/long.

e.g.

https://reference.geoconnex.us/processes/lookup?lon=x&lat=y

might return something like:

{
    "gages": [
        "https://geoconnex.us/ref/gages/1073686",
        "https://geoconnex.us/ref/gages/1185820"
    ],
    "mainstems": "https://geoconnex.us/ref/mainstems/2600",
    "hu10": "https://geoconnex.us/ref/hu10/1802011101",
    "counties": "https://geoconnex.us/ref/counties/06061"

}

We could even possible have a https://reference.geoconnex.us/processes/lookup/map?lon=x&lat=y that would give you something like this

image

webb-ben commented 5 months ago

Closed in lieu of https://github.com/internetofwater/geoconnex.us/issues/184