extract_distribution_urls
Extract concrete dataset download URLs from Croissant/GeoCroissant metadata, along with formats, sizes, and checksums, so ingestion code can fetch data files without manual JSON parsing.
Instructions
Extracts downloadable URLs from a Croissant document's distribution.
Collects the `contentUrl` of every FileObject together with its encoding
formats, sizes and checksums, plus FileSet include patterns and archive
containers. These are the direct access points for the dataset bytes.
Usage: Use this tool to obtain concrete download links (e.g. GeoTIFF /
COG / ZIP assets) for ingestion code without parsing the JSON manually.
Returns:
--------
DistributionUrls containing:
- urls: One entry per distribution item (name, type, contentUrl,
encodingFormat, md5/sha256, includes/containedIn when present).
- count: Number of distribution items with at least one URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jsonld_url | No | URL of a Croissant/GeoCroissant JSON-LD document. | |
| jsonld_path | No | Path to a local Croissant/GeoCroissant file. | |
| jsonld_content | No | Raw JSON string of a Croissant document. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | One entry per FileObject/FileSet: name, contentUrl(s), encodingFormat and hashes when declared. | |
| count | Yes | Number of distribution entries with URLs. |