internetofwater / geoconnex.us

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

GNIS Redirect #159

Open dblodgett-usgs opened 2 years ago

dblodgett-usgs commented 2 years ago

Now that a GNIS app is available, I think we should go ahead and mint GNIS redirects. I've reached out to the team working on the app and will try and get some dialogue going here.

Contact Information

Your name: David Blodgett

Your email: dblodgett@usgs.gov

Your organization: USGS

Your organization website: https://edits.nationalmap.gov/apps/gaz-domestic/public/search/names

Regex redirect request details

The base PID pattern you would like

https://geoconnex.us/ref/gnis/[0-9]+

PID pattern:

The desired target URI base pattern

https://edits.nationalmap.gov/apps/gaz-domestic/public/summary/$1

Target pattern:

Explanation of the kinds of expressions to match from the end of the PID pattern to the end of the target pattern.

Match any number of digits

Expression type:

2-3 example target URIs

https://edits.nationalmap.gov/apps/gaz-domestic/public/summary/1577073 https://edits.nationalmap.gov/apps/gaz-domestic/public/summary/204770

target URI example:

Target URI example:

Link to sitemap or file to create one.

Available for download here: https://www.usgs.gov/u.s.-board-on-geographic-names/download-gnis-data Available as an ArcGIS map service: https://carto.nationalmap.gov/arcgis/rest/services/geonames/MapServer

ksonda commented 2 years ago

Will need to create a template. Since we can proxy the esri service, it *may not be necessary for you to prepare any data (although probaly we want a jsonld graph to import directly), unless you want to make links to other data that can't be generated on the fly from the data in the service.

ksonda commented 2 years ago

Yeah on thinking about this more this may be a good opportunity to experiment with generating a json-ld graph for bulk import

ksonda commented 1 year ago

Per discussion on slack, I'm thinking the best thing to do is to

  1. Mint PIDS like https://geoconnex.us/ref/gnis/[featureID]
  2. redirect those to a collection in reference.geoconnex.us. To keep it updated, implement a monthly update of the gnis-data download
  3. Include subjectOF links to nationalmap and wikipedia, sameAs links to gnis-ld.org and wikidata and ref/counties, ref/states, ref/mainstems perhaps
ksonda commented 1 year ago

starting a repo that will include CI with hydroshare https://github.com/cgs-earth/ref_gnis

ksonda commented 1 year ago

when we do this, we should update the GNIS urls in all reference features that were using the Apex urls

ksonda commented 3 days ago

@C-Loftus @dblodgett-usgs @webb-ben @adplincinst

Bumping this issue per a recent email thread with the National Map People.

I think we

  1. Mint geoconnex.us/usgs/gnis/ as a regex redirect to https://edits.nationalmap.gov/apps/gaz-domestic/public/summary/

  2. Mint geoconnex.us/iow/gnis// to

  1. for other integrations we do, we advise using geoconnex.us/usgs/gnis/, but our graph will merge in the geospatial and name info from geoconnex.us/iow/gnis// until such time as TNM has a stable semantic version of GNIS out there that we can redirect geoconnex.us/usgs/gnis/ to.
dblodgett-usgs commented 3 days ago

Thumbs up from me!