-
Notifications
You must be signed in to change notification settings - Fork 122
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
Add file://
protocol to self
links that currently don't have a protocol
#1347
Comments
Does this also imply that RELATIVE_PUBLISHED is no longer a valid catalog type? |
🤔 I'm not sure why it would be invalid ... per best practices:
I think a |
Oh ok so absolute in this context just means a url with a protocol. Not as in absolute vs relative path? |
Yeah, I think that text from the best practices is now a bit confusing since a href with a protocol is probably always absolute ... I can't think of an example of a |
I was thinking about this more in the context of the migrate function. I think the next version of pystac should be able to read URIs that have the |
I'll open a new PR now taking just the reading bits from #1472 |
xref radiantearth/stac-spec#1281, but it seems likely that at some point in the future
self
links will be required to have a protocol (i.e. absolute filesystem paths won't be enough). We should update to pystac to writefile://
absolute paths to future-proof ourselves and help ecosystem adoption.The text was updated successfully, but these errors were encountered: