get_asset_download_info
Retrieve direct download URLs and ready-to-use code snippets for accessing OpenLandMap geospatial datasets in formats like curl, wget, Python, and R.
Instructions
Get download instructions for an asset in multiple formats.
Returns the direct S3 URL plus ready-to-use commands and code snippets for curl, wget, Python (rasterio), and R (terra).
Args: collection_id: Collection identifier. item_id: Item identifier. asset_key: Asset key to get download info for.
Returns: DownloadInfo dict with url and code snippets.
Example: get_asset_download_info("organic.carbon_usda.6a1c", "organic.carbon_usda.6a1c_20180101_20181231", "organic.carbon_usda.6a1c_m_1km_b30cm_s")
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"collection_id": "<collection_id>",
"item_id": "<item_id>",
"asset_key": "<asset_key>"
},
"name": "get_asset_download_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection_id | Yes | ||
| item_id | Yes | ||
| asset_key | Yes |