Giter VIP home page Giter VIP logo

unpublished-geocaches's Introduction

unpublished-geocaches

On geocaching.com website, when you have created an unpublished cache, the gpx file isn't downloadable. And when you prepare an event, it is boring to create a gpx of your caches (even with GSAK, you will have to use copy/paste a lot).

With the new REST API from Groundspeak, we can now use it to fetch all the owner's unpublished geocaches!

You can use this web app hosted here: unpublished.vaguelibre.net

unpublished-geocaches's People

Contributors

dependabot[bot] avatar surfoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

thn80

unpublished-geocaches's Issues

GPS loads only 1 geocache from the generated GPX file

Hello Surfoo,

Here is an issue that I faced today:

Description

I generated a GPX file of several unpublished geocaches and transferred it to my GPS. However, only the 1st geocache from the file was loaded and not the other ones.

Steps to reproduce

  1. Generate a GPX file for several unpublished geocaches
  2. Transfer the GPX file to your GPS (does not work at least on the Garmin Dakota 20)
  3. Power on the GPS, search for the geocaches in the GPX file: only the first geocache of the file is present and displayed, the other ones are not loaded.

Origin of the issue

Looking into the GPX file and comparing it with the one generated by the Geocaching website on a published geocache, I figured out that the problem was with the id value of the following XML tag (in the template waypoint.xml): <groundspeak:cache id="{{ referenceCode }}" available="True" archived="False" xmlns:groundspeak="http://www.groundspeak.com/cache/1/0/1">.

This web app uses the GC code (base 31) of the geocache whereas the Geocaching website uses the unique id (base 16). The GPS fails because of that to load the whole list of geocaches from the GPX file: when I changed the ids of my generated GPX file for a base 16 id, the caches were loaded by the GPS. So, converting the referenceCode attribute before setting it to be the value of this id should fix this issue.

Thanks a lot for this useful web app!
Regards,

yohhaan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.