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

GNIS Redirect #159

Open
dblodgett-usgs opened this issue May 16, 2022 · 7 comments
Open

GNIS Redirect #159

dblodgett-usgs opened this issue May 16, 2022 · 7 comments
Assignees
Labels
PID request PID registrations

Comments

@dblodgett-usgs
Copy link
Member

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: [email protected]

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
Copy link
Member

ksonda commented May 26, 2022

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
Copy link
Member

ksonda commented May 27, 2022

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

@ksonda
Copy link
Member

ksonda commented Nov 9, 2022

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
Copy link
Member

ksonda commented Nov 9, 2022

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

@ksonda
Copy link
Member

ksonda commented Nov 16, 2022

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

@ksonda
Copy link
Member

ksonda commented Jul 2, 2024

@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/<gaz_id> as a regex redirect to https://edits.nationalmap.gov/apps/gaz-domestic/public/summary/<gaz_id>

  2. Mint geoconnex.us/iow/gnis/<collection_type>/<gaz_id> to

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

@dblodgett-usgs
Copy link
Member Author

Thumbs up from me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PID request PID registrations
Projects
None yet
Development

No branches or pull requests

2 participants