![]() |
|
Demo token 93a1f6fc-3fa2-40ee-9fae-0ff301df50f0 (The token is valid on average for about three days).
Register and receive a token to access the API. The token will be available in your personal account.
date of update: 2024-12-21 06:21
quantity: 128
JSON:
<?php
// Demo token. (Replace it with your token).
$token = '93a1f6fc-3fa2-40ee-9fae-0ff301df50f0';
$url = 'https://wildtracks.pro/api/mountains/all/bj/json/'.$token;
// We receive confirmation via the LINK
$jsonData = file_get_contents($url);
// Checking if the data was received successfully
if ($jsonData === false) {
die('Error receiving data from the URL');
}
// Converting JSON to an associative array
$dataArray = json_decode($jsonData, true);
// Checking if it was possible to convert JSON to an array
if ($dataArray === null) {
die('Error decoding JSON');
}
// Output an array
echo "<pre>";
print_r($dataArray);
echo "</pre>";
?>
Type:
Mountains (MTS ) (A mountain range or a group of mountains or high ridges) | 4 |
Hills (HLLS ) (Rounded elevations of limited extent rising above the surrounding land with local relief of less than 300m) | 14 |
Hill (HLL ) (A rounded elevation of limited extent rising above the surrounding land with local relief of less than 300m) | 68 |
Mountain (MT ) (An elevation standing high above the surrounding area with small summit area, steep slopes and local relief of 300m or more) | 9 |
Mesa(s) (MESA ) (A flat-topped, isolated elevation with steep slopes on all sides, less extensive than a plateau) | 4 |
Rock (RK ) (A conspicuous, isolated rocky mass) | 8 |
Ridge(s) (RDGE ) (A long narrow elevation with steep sides, and a more or less continuous crest) | 12 |
Cliff(s) (CLF ) (A high, steep to perpendicular slope overlooking a waterbody or lower area) | 3 |
Butte(s) (BUTE ) (A small, isolated, usually flat-topped hill with steep sides) | 3 |
Gorge(s) (GRGE ) (A short, narrow, steep-sided section of a stream valley) | 1 |
Rocks (RKS ) (Conspicuous, isolated rocky masses) | 2 |
Description of fields:
name | Name |
alternatenames | Alternative names |
latitude | Estimated latitude (wgs84) |
longitude | Estimated longitude (wgs84) |
feature_code | Type of mountain, hill, rock... (link) |
modification_date | Date added or modified |
country_code | ISO-3166 2-letter country code, 2 characters |
dem | Digital elevation model, srtm3 or gtopo30, average elevation of 3''x3'' (ca 90mx90m) or 30''x30'' (ca 900mx900m) area in meters, integer. srtm processed by cgiar/ciat. |
timezone | The iana timezone id (link) |