[STAC] resolves relative asset path
See original GitHub issueref: https://github.com/developmentseed/titiler/issues/36#issue-639793489
from @fabricebrito
This feature would ease our setup as the STAC catalogues we use move from a location to another and this is why we use relative hrefs also for the asset paths. For instance pystac resolves the the full href with e.g.
item.assets['nbr'].get_absolute_href()
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
absolute/relative references #373 - radiantearth/stac-spec
A client just needs to resolve the relative links against the URL it requested, I guess. Of course, if links point to another...
Read more >Concepts — pystac 0.3.4 documentation - Read the Docs
HREFs inside a STAC for either links or assets can be relative or absolute. ... should resolve to the absolute path /some/location/item-id/item-id.json ....
Read more >vue.js - vite - Subpage with relative asset path
Is there a way to tell vite to relatively path its way to the asset folder, even for subpages? Ideally not using a...
Read more >Get Absolute Path of File from Relative Path in Node.js
The built-in path module provides a method called resolve that takes a relative path and a base path and returns the absolute path...
Read more >Conflict with assets folder and section URL
I have come up against an issue, and I want to check the best way to resolve this; here is a brief explanation....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No problem, I modified the STACReader to use pystac. PR #313
🎉 woot thanks for the PR @emmanuelmathot 🙏