Author Topic: Geocache symbols  (Read 3445 times)

Offline stebu

  • Expert
  • Padavan of Locus
  • ***
  • Posts: 252
  • Thanked: 1 times
    • View Profile
  • Device: Xcover 2
Geocache symbols
« on: April 18, 2013, 08:34:32 »
Hi!

I need an clear icon for my solved mysteries (the red star in the corner is not so good and I do not know how to get it).
I noticed that Locus/icons_gc contains almost all of the official GC type icons. But I cannot use them from a GPX file.

The following types are OK:
"Earthcache", "Traditional Cache", "Multi-cache", "Unknown Cache", "Virtual Cache", "Letterbox Hybrid",
"Event Cache", "Webcam Cache", "Cache In Trash Out Event", "Wherigo Cache", "Mega-Event Cache"

Then I tried "GPS Adventures Exhibit", "Locationless (Reverse) Cache", "Groundspeak HQ" and even "Cache"
and the result was always the gc_type_gps.png icon.

Then the questions:
Is it possible to get the rest of the icons linked to {groundspeak:type}?
If not, can I trust that type="Cache" links to gc_type_gps.png
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12454
  • Thanked: 771 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 2
Re: Geocache symbols
« Reply #1 on: April 18, 2013, 09:25:09 »
Hello Stebu,
  I'm sorry, but ... I have no idea what you're talking about :). What are icons "Locus/icons_gc"? Where they come from ... also Locus do not support own icons for geocaches. It always use own predefined icons.

  Red star in corner mean that cache has "computed" coordinates. This may be removed in action bar menu in cache screen
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline stebu

  • Expert
  • Padavan of Locus
  • ***
  • Posts: 252
  • Thanked: 1 times
    • View Profile
  • Device: Xcover 2
Re: Geocache symbols
« Reply #2 on: April 18, 2013, 09:57:22 »
In Locus APK I have found for example gc_type_ape.png, gc_type_benchmark.png, gc_type_computed.png, gc_type_disabled.png, gc_type_earth.png, gc_type_event.png, gc_type_found.png, gc_type_gc.png, gc_type_gps.png, gc_type_groundspeak.png, gc_type_loc.png, gc_type_mega.png, gc_type_multi.png, gc_type_not_found.png, gc_type_own.png, gc_type_post.png, gc_type_tradi.png, gc_type_trash.png, gc_type_uknown.png, gc_type_virtual.png, gc_type_waymark.png, gc_type_webcam.png, gc_type_where.png

When I create my own GPX file, I want to control the cache icon by the field
<groundspeak:type>xxx</groundspeak:type>
And the results are in my first post.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12454
  • Thanked: 771 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 2
Re: Geocache symbols
« Reply #3 on: April 18, 2013, 10:15:11 »
ah understand. In case, Locus do not recognize types of cache, it always use default. This should normally not happen because all existing caches are defined in Locus.

you may find code, that convert "type" to my private code here http://code.google.com/p/android-locus- ... us-api#591 . This may helps you if you want to specify icons
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline stebu

  • Expert
  • Padavan of Locus
  • ***
  • Posts: 252
  • Thanked: 1 times
    • View Profile
  • Device: Xcover 2
Re: Geocache symbols
« Reply #4 on: April 18, 2013, 10:18:06 »
Great!
This helps a lot.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12454
  • Thanked: 771 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 2
Re: Geocache symbols
« Reply #5 on: April 18, 2013, 10:24:51 »
perfect

maybe also vote here may be useful for you https://getsatisfaction.com/locus/topic ... ing_how_to
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline stebu

  • Expert
  • Padavan of Locus
  • ***
  • Posts: 252
  • Thanked: 1 times
    • View Profile
  • Device: Xcover 2
Re: Geocache symbols
« Reply #6 on: April 18, 2013, 11:25:57 »
I knew that already for POIs and categories :)

For those who (for any reason) want to change geocache icons, here is a list of supported types,
that can be placed in a GPX file in the field
<groundspeak:type>xxx</groundspeak:type>, replace xxx with one of the following:
    Benchmark;
    Cache In Trash Out Event;
    EarthCache;
    Event Cache;
    Groundspeak;   // Grounspeak HQ icon
    Letterbox;
    Locationless Cache;
    Maze Exhibit;
    Mega-Event Cache;
    Multi-Cache;
    Traditional Cache;
    Unknown Cache;
    Virtual Cache;
    Webcam Cache;
    Wherigo Cache;
All other names will produce a general Geocache icon.

The following produced also the general icon:
    GPS Adventure;
    Project APE Cache;
« Last Edit: January 01, 1970, 01:00:00 by Guest »