Cache attributes: Difference between revisions

From Opencaching.eu
Jump to navigation Jump to search
(Added GC attributes reference)
(Finalizing GC attribute reference)
Line 51: Line 51:


=== GC attributes reference ===
=== GC attributes reference ===
{| class="wikitable collapsible collapsed"
Reference documented for establishing equivalences necessary for compatibility with third party apps using GPX file.
 
* Attribute has only '''YES''' = attribute that can be set or unset;
* Attribute has both '''YES''' and '''NO''' = attribute that can be set normally, set as it's inverse meaning or unset;
 
{| class="wikitable mw-collapsible mw-collapsed collapsible collapsed"
! ID !! YES !! NO !! IMAGE !! NAME
! ID !! YES !! NO !! IMAGE !! NAME
|-
|-
Line 175: Line 180:
|-
|-
! 42
! 42
| YES || ** || firstaid || Needs maintenance
| YES || **<ref group="GC attributes">Not a real attribute (ie. not owner editable for a cache), holds "needs maintenance" flag.</ref>|| firstaid || Needs maintenance
|-
|-
! 43
! 43
Line 184: Line 189:
|-
|-
! 45
! 45
| YES || *** || landf || Lost And Found Tour
| YES || ***<ref name=":0" group="GC attributes">Special attributes, not available to the regular user.</ref>|| landf || Lost And Found Tour
|-
|-
! 46
! 46
Line 232: Line 237:
|-
|-
! 61
! 61
| YES || *** || partnership || Partnership cache
| YES || ***<ref name=":0" group="GC attributes" />|| partnership || Partnership cache
|-
|-
! 62
! 62
Line 250: Line 255:
|-
|-
! 67
! 67
| YES || *** || geotour || GeoTour
| YES || ***<ref name=":0" group="GC attributes" />|| geotour || GeoTour
|}
|}
* Attributes according to Geocaching.com: https://www.geocaching.com/about/icons.aspx
* gcTour GreaseMonkey script: https://gist.github.com/DieBatzen/5814dc7368c1034470c8/
* also based on: https://forums.geocaching.com/GC/index.php?/topic/282652-groundspeak-gpx/&tab=comments#comment-4855718

Revision as of 09:18, 3 June 2019


DRAFT, WORK IN PROGRESS

A geocache may have attached a number of attributes, giving more information about the cache, the hiding, the recommendations, requirements, permissions, hazards, other helpful information related with the search.

This document describes the existing cache attributes across Opencaching sites.

Attribute numbering rules

  • all OC attributes that have equivalent meaning to a GC attribute to use the same numeric ID; (while the meaning is equivalent, the exact wording of it's name need not be the same. examples are "bring your children / suitable for children / kids friendly / etc");
  • all OC attributes that have equivalent meaning to a negated GC attribute to use the same numeric ID added to 9000. (for example: "available 24/7" is ID 13. "NOT available 24/7" to be ID 9013.);
    • DE branch negated attributes use a separate flag and retain the ID without adding 9000.
  • OC attributes that have equivalent meaning on both PL and DE branches
  • existing DE branch only attributes to retain their IDs in the range 100 - 199;
  • all OC future and existing attributes that are PL branch specific to have numeric IDs in the range 200 - 299;
  • all OC future attributes that are DE branch specific to have numeric IDs in the range 300 - 399;
  • all OC special purpose attributes to have numeric IDs in the range 900 - 999;
  • all OC attributes that have the meaning of a negated OC attribute to use the same numeric ID on the least significant 3 digits, the fourth digit be the branch designator (according to applicability) and the fifth (most significant digit) be 9; (hypothetical generic example: "available during high tide" ID 241 - PL branch (UK), "NOT available during high tide" ID 9241 - PL branch)
  • all attributes have assigned a unique ACODE (according to OKAPI).
  • all "OC only" attributes have assigned a unique OCGS number, equal to their ID. (for GPX export purposes).

Attributes matrix

OC attributes mapping and equivalences

GC attributes reference

Reference documented for establishing equivalences necessary for compatibility with third party apps using GPX file.

  • Attribute has only YES = attribute that can be set or unset;
  • Attribute has both YES and NO = attribute that can be set normally, set as it's inverse meaning or unset;


Cite error: <ref> tags exist for a group named "GC attributes", but no corresponding <references group="GC attributes"/> tag was found