![]() |
|
Demo token 68a8a656-1811-409a-9418-dae2631e2320 (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 11:40
quantity: 82
JSON:
<?php
// Demo token. (Replace it with your token).
$token = '68a8a656-1811-409a-9418-dae2631e2320';
$url = 'https://wildtracks.pro/api/parks/all/sv/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:
Locality (LCTY ) (A minor area or place of unspecified or mixed character and indefinite boundaries) | 12 |
Salt area (SALT ) (A shallow basin or flat where salt accumulates after periodic inundation) | 10 |
Port (PRT ) (A place provided with terminal and transfer facilities for loading and discharging waterborne cargo or passengers, usually located in a harbor) | 2 |
Park (PRK ) (An area, often of forested land, maintained as a place of beauty, or for recreation) | 41 |
Area (AREA ) (A tract of land without homogeneous character or boundaries) | 5 |
Nature reserve (RESN ) (An area reserved for the maintenance of a natural habitat) | 2 |
Wildlife reserve (RESW ) (A tract of public land reserved for the preservation of wildlife) | 1 |
Industrial area (INDS ) (An area characterized by industrial activity) | 3 |
Housing development (DEVH ) (A tract of land on which many houses of similar design are built according to a development plan) | 6 |
Description of fields:
name | Name |
alternatenames | Alternative names |
latitude | Estimated latitude (wgs84) |
longitude | Estimated longitude (wgs84) |
feature_code | Type of parks, area... (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) |