Autor Thema: Stats for Opencaching sites  (Gelesen 4997 mal)

Offline j-he

  • Nano
  • **
  • Beiträge: 32
Re: Stats for Opencaching sites
« Antwort #30 am: 04. Juli 2020, 22:56:03 »
FWIW, Project-GC checks for word "FTF" in the log to figure it out. I don't think many people put it in their logs (I know I don't usually) so it is not the best approach.
As an alternative, Project-GC lets you use and configure a public Bookmark List for your FTFs, which is the method I use. I think it is more reliable than looking at log entries, as there may be other reasons to write about FTF in a log entry.

Offline tomaszg

  • Nano
  • **
  • Beiträge: 21
Re: Stats for Opencaching sites
« Antwort #31 am: 05. Juli 2020, 00:34:20 »
Right, but I'm not sure what would be an alternative of this approach for OC. I see you have some kind of lists on OCDE which could be used for this end. On the other hand, we don't have such a thing on OCPL as far as I know.  I would prefer to have some solution that would work across the board... Uploading a file with a custom list of cache codes would be tedious.

Offline JoDaEmPA

  • Aktive User
  • *
  • Beiträge: 3
Re: Stats for Opencaching sites
« Antwort #32 am: 13. Juli 2020, 12:05:34 »
At
project-gc.com also uses a filter with {FTF} entries!
But the method of j-he to put the {FTF's} in a bookmark list is probably the easiest method!
Thanks tomaszg
{translated with Google}

Offline mic@

  • Moderator
  • Large
  • *****
  • Beiträge: 6457
  • oc-only Verstecker
Re: Stats for Opencaching sites
« Antwort #33 am: 18. Oktober 2020, 20:38:55 »
Zitat von: tomaszg
It supports all OC sites which use OKAPI.

Hi Tomasz, are you able to produce the OC statistic in a more vivid way (not picture, but video).
Here is what I mean: https://www.youtube.com/watch?v=kvhOL2AfJSo

Offline tomaszg

  • Nano
  • **
  • Beiträge: 21
Re: Stats for Opencaching sites
« Antwort #34 am: 18. Oktober 2020, 20:51:24 »
It should be possible. Some kind of animated GIF or PNG probably would be easiest. I'll think about it. Not sure when I will have time to code it though.

Offline tomaszg

  • Nano
  • **
  • Beiträge: 21
Re: Stats for Opencaching sites
« Antwort #35 am: 02. November 2020, 21:58:18 »
There is now a basic support for animated maps. Not sure if that is exactly what you meant. Right now it is quite limited. Caches are displayed sequentially not taking into account time span between actual finds. I should probably also add some timestamp on the picture. There is also no way to control the playback of GIF at the moment, but I'm looking into shiny JS code that could make it more flexible.

Ah, it is also rather slow, even for ~500 caches. Be patient with the server ;)

Offline mic@

  • Moderator
  • Large
  • *****
  • Beiträge: 6457
  • oc-only Verstecker
Re: Stats for Opencaching sites
« Antwort #36 am: 03. November 2020, 11:15:30 »
I tried it, but no answer came (maybe I have too many caches found):

One important thing I forgot to mention (sorry):
This video should be for all caches on the platform (e.g. whole oc.de) and not for a specific user.
So this means that for our platform (oc.de) there are 25.313 caches to pop up in this video.
I presume that this is too much data for Your server...

Offline tomaszg

  • Nano
  • **
  • Beiträge: 21
Re: Stats for Opencaching sites
« Antwort #37 am: 03. November 2020, 21:43:59 »
You have about the same amount of caches as I do, so it should work. Maybe it was caused by Germany map being a bit bigger than Poland. However my app did produce the map, it took it only longer than HTTP server wanted to wait. It can be seen by a direct link: https://tomaszg.pl/geo/map_mic@.gif

As for the whole OCde - it can be done, but I would need to change the approach. Plotting a frame per cache would make the animation too long :D It should be day-based, I think. It would still take more time, but I could render it and put it on Youtube for example.

Offline mic@

  • Moderator
  • Large
  • *****
  • Beiträge: 6457
  • oc-only Verstecker
Re: Stats for Opencaching sites
« Antwort #38 am: 04. November 2020, 15:57:38 »
Zitat von: tomaszg
Plotting a frame per cache would make the animation too long

Please keep in mind that caches come (publish) and go (archive).
Right now we have 25000 active caches but this number must be multiplied.
I don´t know the exact factor, so just assume there have been 50000 caches in total.
When You plot 1000 caches per second from the beginning (13. August 2005) until today,
the video would last about 1-2 min, which is a good duration...

...and not too long like this one here :-)
https://www.youtube.com/watch?v=g2ZLxtqJuKE

« Letzte Änderung: 04. November 2020, 15:59:09 von mic@ »

Offline tomaszg

  • Nano
  • **
  • Beiträge: 21
Re: Stats for Opencaching sites
« Antwort #39 am: 04. November 2020, 18:23:32 »
I was thinking about plotting each day separately as a new frame. I didn't think about archived caches, my simple approach doesn't work well with erasing anything...