Common
Animals
Fish
Mushrooms
Flora
Login
Registration
Back

Tonga Tonga mountain, hill, rock...

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 12:01
quantity: 323
JSON:
<?php

// Demo token. (Replace it with your token).
$token = '93a1f6fc-3fa2-40ee-9fae-0ff301df50f0';
$url = 'https://wildtracks.pro/api/mountains/all/to/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:
Island (ISL ) (A tract of land, smaller than a continent, surrounded by water at high water)210
Hill (HLL ) (A rounded elevation of limited extent rising above the surrounding land with local relief of less than 300m)11
Rock (RK ) (A conspicuous, isolated rocky mass)18
Islands (ISLS ) (Tracts of land, smaller than a continent, surrounded by water at high water)9
Point (PT ) (A tapering piece of land projecting into a body of water, less prominent than a cape)34
Peak (PK ) (A pointed elevation atop a mountain, ridge, or other hypsographic feature)2
Butte(s) (BUTE ) (A small, isolated, usually flat-topped hill with steep sides)1
Beach (BCH ) (A shore zone of coarse unconsolidated sediment that extends from the low-water line to the highest reach of storm waves)24
Headland (HDLD ) (A high projection of land extending into a large body of water beyond the line of the coast)4
Blowhole(s) (BLHL ) (A hole in coastal rock through which sea water is forced by a rising tide or waves and spurted through an outlet into the air)1
Rocks (RKS ) (Conspicuous, isolated rocky masses)1
Ridge(s) (RDGE ) (A long narrow elevation with steep sides, and a more or less continuous crest)4
Volcano (VLC ) (A conical elevation composed of volcanic materials with a crater at the top)3
Plateau (PLAT ) (An elevated plain with steep slopes on one or more sides, and often with incised streams)1

Description of fields:
nameName
alternatenamesAlternative names
latitudeEstimated latitude (wgs84)
longitudeEstimated longitude (wgs84)
feature_codeType of mountain, hill, rock... (link)
modification_dateDate added or modified
country_codeISO-3166 2-letter country code, 2 characters
demDigital 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.
timezoneThe iana timezone id (link)