-
Dear all, Could someone give me a hint? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
By As for adding your own Collections, you can use the API itself to load collections and itmes; check out this script in the repo for an example: https://github.com/stac-utils/stac-fastapi/blob/master/scripts/ingest_joplin.py. If you're using pgstac, you could also use the HTH |
Beta Was this translation helpful? Give feedback.
-
@gadomski Thanks for the answer but the issue has been resolved. I appreciate the usefulness of the link to the repository |
Beta Was this translation helpful? Give feedback.
By
catalog.json
, I assume you mean the landing page? If so, you can customize title, description, etc when you create your API (e.g. here's how it's done on the Planetary Computer: https://github.com/microsoft/planetary-computer-apis/blob/26a67e1266c7fc1ba190bdc5406cbfa2f6855edc/pcstac/pcstac/main.py#L57-L74). If you need additional customization, you can override thelanding_page
method on your client:stac-fastapi/stac_fastapi/types/stac_fastapi/types/core.py
Line 540 in 3db04da
As for adding your own Collections, you can use the API itself to load collections and itmes; check out this script in the repo…