Replies: 7 comments 11 replies
-
Happy new year! I do not know of any limitations to the two letter prefix a gc.com trackable starts with (and could not find any such limitation on trackable help page (https://www.geocaching.com/help/index.php?pg=kb.printer.friendly&id=10) or trackable order page (https://www.geocaching.com/account/orders/new)), so I guess we have to assume that we need to take the brand name into account. (IIRC we even had some discussion about this what priority to use when a name clash happens and decided to use gc.com > geokrety.) |
Beta Was this translation helpful? Give feedback.
-
Happy new year! AFAIK the public trackable code itself is unique, but not the secret tracking code. |
Beta Was this translation helpful? Give feedback.
-
I have a second question. I noticed that in the inventory the (secret) trackingnumber is displayed for my inventory entries, not the (public) geocode. Is this intentionally or an error? (I am reworking this area right now and could correct it) |
Beta Was this translation helpful? Give feedback.
-
I think "it only unique when bundled with a brand" is right.
|
Beta Was this translation helpful? Give feedback.
-
I am actually asking for the "public" code only (which is called "geocode" in c:geo's Java code). My trivial observation would be same as @fm-sys that those are unique across platforms (with unique prefixes). For Geocaches this is good enough for c:geo, it is the sole destinction between platforms in code. If this is not good enough for trackables, there needs to be some good explanation. Leaving that aside, trackables are handled really weird in code today. Most noteable, trackable-related data seems to be stored a lot of times using the (secret) trackingcode/trackingnumber as a key! It is clear that this secret key is NOT unique across platforms, but why was this ever considered to be a good key for string trackable information??? |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for all the information. To summarize what I gathered:
With this in mind I can continue my work. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Happy new year also from my side. The summary is fine. :) |
Beta Was this translation helpful? Give feedback.
-
Dear @cgeo/team, happy new year.
In context of #2012 I discovered that trackable logging needs refactoring to enable a clean new logging approach. In this context I feel that class "TrackableLog" is currently misused as some kind of "Trackable-light" information (and not to actually store a trackable log, as the name would intend).
I noticed that in contrast to geocaches, trackables have a brand property in addition to their tracking code (I mean the public one).
My Question: is a trackable code unique by itself or is it only unique when bundled with a brand?
Beta Was this translation helpful? Give feedback.
All reactions