$attributes =
[line 297]
An array of attribute values as an associative array.
Each value is either -1, 0 or 1, depending on whether the values does specifically not apply (-1) does neither apply nor not apply specifically (0) or apply specifically (1). A list of possible values is listed at the ocfAttributes attribute.
A complete list of available attributes with descriptions is available here: http://opencacheformat.sourceforge.net/ocf-tags.php
Tags:
$city =
[line 190]
The name of the city where the cache is located. Normal capitalization is used here,
e.g. "Philadelphia" or "Gelsenkirchen"
Tags:
$country =
[line 171]
The country where the cache can be found in the two-letter-format as defined by ISO 3166-1-alpha-2, e.g. "us" for the United States, "de" for Germany, "fr" for France and so on.
Tags:
$description =
[line 271]
A short textual description of the cache and further information on the surroundings if available.
If this cache is a multi-stage cache each single waypoint SHOULD be listed ONLY as a separate waypoint and NOT be listed in the description. However as most websites do not yet have this separation it is acceptable until this separation is fully implemented to list the full description here.
Tags:
$difficulty =
[line 247]
This is an integer value between 1 and 10 indicating the difficulty of the complete hike, i.e. how easy it is to find the cache.
Tags:
$duration =
[line 237]
The _estimated_ duration of the complete hike in minutes.
This value is only set if the cache has different stations (multi cache etc.).
Tags:
$fields = array('srcid', 'name', 'src', 'lang', 'owner', 'placed', 'homepage', 'logurl', 'url', 'type', 'size', 'title', 'country', 'state', 'city', 'long', 'lat', 'length', 'duration', 'difficulty', 'terrain', 'description', 'waypoints', 'attributes')
[line 316]
Defines all fields given here for data import functions.
Tags:
$homepage =
[line 115]
The URL of the cache homepage. This field is mostly empty unless someone has created a specific website just for this cache or a cache series. This might happen if it is an event cache. Please note: this is _not_ the URL of the website where the data was obtained from.
Tags:
$lang =
[line 83]
The ISO 639-1 code of the language of the description of the geocache and all additional texts, e.g. "en" for English and "de" for German.
http://en.wikipedia.org/wiki/ISO_639-1 contains more information.
Tags:
$lastError =
[line 336]
Contains a textual description of the last error that occured.
Read-only value.
Tags:
$lat =
[line 214]
The latitude in decimal form of the cache location to be displayed, e.g. 51.7064.
This location may differ from the real location if the cache is a puzzle-/mystery cache, a multi cache or something similar. The coordinates given here are the ones to be displayed to the end user.
Tags:
$length =
[line 227]
The complete hike length in meters (not in miles). To convert miles to kilometers you simply have to multiply the miles by 1.609344.
This value is only set if the cache has different stations (multi cache etc.). It only defines the sum of each way from one station to the next _excluding_ the way from a parking location to the first station.
Tags:
$logurl =
[line 125]
The URL where the log for this geocache can be accessed.
On most websites this is the same as the $url field.
Tags:
$long =
[line 202]
The longitude in decimal form of the cache location to be displayed, e.g. 7.18574.
This location may differ from the real location if the cache is a puzzle-/mystery cache, a multi cache or something similar. The coordinates given here are the ones to be displayed to the end user.
Tags:
$name =
[line 65]
The unique name of the cache. This is a string with a length of max. 6 characters.
Tags:
$ocfAttributes = array('wheelchair', 'camping', 'parking', 'publictransport', 'picnictables', 'drinkingwater', 'restrooms', 'telephone', 'stroller', 'museum', 'restaurant', 'night', 'winter', 'scenic','stealth', 'rocks', 'hunting', 'danger', 'plants', 'thorns', 'snakes', 'ticks', 'mine', 'dogs', 'bicycles', 'motorcycles','quads', 'offroad', 'snowmobiles', 'campfires', 'horses', 'fee', 'climbing', 'boat', 'scuba', 'kids', 'short', 'hike', 'wading', 'swimming', '247')
[line 326]
Defines all attributes of the OpenCacheFormat.
A complete list of available attributes with descriptions is available here: http://opencacheformat.sourceforge.net/ocf-tags.php
Tags:
$owner =
[line 93]
The name of the owner of the cache. This _must_ be the name of the registered user on the website from which the cache information was obtained which is listed as the owner on the corresponding page.
Tags:
$placed =
[line 104]
The date when the cache was placed as UNIX timestamp.
Please note that the value normally only contains a date with the time set to 00:00:00. All date values are GMT/UTC.
Tags:
$size =
[line 153]
The size of the cache. This string must be in lower case and may only be one the the following:
micro | small | medium | large
Tags:
$src =
[line 73]
The source where this geocache was obtained from, e.g. "OPENCACHING.DE"
Tags:
$srcid =
[line 57]
The source ID of the geocache. If used in conjunction with the PHPGeocache class the srcid will always be the autoincrement value of the caches table - the field "cache_id".
Tags:
$state =
[line 181]
The name of the state in the locally defined short form, i.e. in the US it is a two-letter-code like "va" for Virginia, "ny" for "New York" and so on.
In Germany this is a three-letter code, e.g. "nrw" for North Rhine Westphalia and so on.
Tags:
$targetDistance =
[line 307]
This value is only set from other external functions.
It contains the distance of this cache to a given location in kilometers.
Tags:
$terrain =
[line 259]
This is an integer value between 1 and 10 indicating the difficulty of the complete hike, i.e. how easy it is to reach the cache. On the website http://www.clayjar.com/gcrs/ you can calculate the difficulty, but please note that the value here has a maximum value of 10.
Tags:
$title =
[line 161]
The title of the cache. This is normally referred to as "the name of the cache".
Tags:
$type =
[line 144]
The type of the cache. This string must be in lower case and may only be one the the following:
traditional | multi | puzzle | event | letterbox
Tags:
$url =
[line 135]
The URL where this geocache is listed. This URL should link directly to the page of the cache, not to the homepage of that website.
Tags:
$waypoints =
[line 280]
An array of Waypoint objects. Each entry is an instantiation of the Waypoint class.
Tags: