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

connect NCEI catalogue as an ODIS node #361

Open
jmckenna opened this issue Nov 6, 2023 · 5 comments
Open

connect NCEI catalogue as an ODIS node #361

jmckenna opened this issue Nov 6, 2023 · 5 comments
Labels

Comments

@jmckenna
Copy link
Contributor

jmckenna commented Nov 6, 2023

@jmckenna
Copy link
Contributor Author

Updates:

  • corrected spatial coordinates order in the template (see polygon coordinates at https://github.com/iodepo/odis-arch/pull/365/files )
  • some related important notes for schema.org's spatial support :
    • schema.org expects lat,long coordinate pairs (y,x)
      • this is opposite of most geo software (Shapely, etc.) which expects
        long,lat (x,y)
    • GeoShape box is recommended, to avoid polygon issues, with a syntax of "box": "miny minx maxy maxx" (lower left, upper right)
             "@type": "GeoShape",
             "box": "46.37 -147.525 54.5617 -125.4467"
      

(we are currently updating all of our examples in the ODIS documentation, to match these rules)

@pbuttigieg pbuttigieg linked a pull request Jan 10, 2024 that will close this issue
@pbuttigieg
Copy link
Collaborator

The metadata looks good, with some caveats discussed in #365

However, the main issue blocking connection to ODIS is the lack of a sitemap.xml that points to the landing pages with embedded JSON-LD/schema.org.

There is a high-level sitemap here: https://www.ncei.noaa.gov/sitemap.xml

The easiest thing to do would be for NCEI to maintain a separate sitemap (e.g. https://www.ncei.noaa.gov/datasets/sitemap.xml) that lists all the landing pages of datasets (including their JSON-LD/schema.org metadata).

For the microplastics mission, we can try a more local solution where the microplastic team creates and exposes their own sitemap.xml that lists URLs to all landing pages + JSON-LD/schema.org that is relevant to them.

@jmckenna
Copy link
Contributor Author

Updates regarding sitemap:

@jmckenna
Copy link
Contributor Author

jmckenna commented Jan 24, 2024

@pbuttigieg
Copy link
Collaborator

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

Successfully merging a pull request may close this issue.

2 participants