Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by jri

  1. I've noticed for a while now that the link to open Magic Map (using the 'i' button menu option) wasn't showing all relevant layers. It seemed as though SSSI and Forestry Commission weren't shown and they're the 2 main ones which crop up in my area. To fix this I've taken the URL options from the link on the Wiki and changed the GME script locally. I noticed that the original GME URL options were using numerical references for what to display. The Wiki link (which opens the Benchmarking page) uses more easily readable names for each layer.


    Thanks for sharing this. I'll build it in to the next release of the script.

  2. There was an an greasemonkey add-on that put the elevation on the page after the cache name, but can't find anything about it now


    I wrote a Greasemonkey script a few years back which adds the height in metres to a cache listing, next to the coordinates. You can get it from https://openuserjs.o...Geocache_Height - there's also a version which works in feet. The height data comes from Google, and has the usual caveats about taking its accuracy with a pinch of salt.



  3. It may or not be related to the automatic update of the GME script today but when I do a search for caches via the Play button then select Filters and enter something like Church Micro in the selection box I get the required number of caches returned BUT then when I select Map these Geocaches I get a full screen (OS map style) showing ALL caches i.e not just those in the Filter???


    I am sure this feature was working yesterday.....


    Is it related to the GME script please or is it yet another issue with the Groundspeak staff playing with the maps again??


    I've had a look at this, and it's not related to GME. I switched off Greasemonkey, so I was just using the plain website, with no scripts, then did a filtered search. When I clicked the "Map These Geocaches" button, it worked about 50% of the time, showing just the four caches from my search. The rest of the time, the four caches appeared, then disappeared to be replaced by the normal, unfiltered map.


    An intermittent fault like this implies that either its another overloading problem, similar to the issues GME was having, or that some of Groundspeak's servers are configured differently to others, and it's pot luck which you get.

  4. I've just done a quick test on the main map, cache, trackable and placement pages and they all seemed to work well.


    Thanks for all the hard work on the maps.



    Just out of interest, does anyone know of a script (if it's possible) which will toggle all caches on the map off and on - usually the first thing I do when I go to the map is switch off all icons, zoom out, to find a place I want, zoom in on it and then enable all the icons. I regularly use the map for work and planning walks and I often just hide all the icons.


    Glad GME's working for you again.


    And yes, GME should already have the feature you want! If you turn on the 'I' tool and click on the map, there should be a link to hide cache icons (and turn then on again).

  5. I had a meeting in London today and used some of the time on the train to finish fixing GME. Strangely, the dodgy 3G internet signal in the Wiltshire countryside gave just what I needed for testing how the script reacted to slow website load times! The result is on Github at https://github.com/JRInge/userscripts/raw/GME-Development/GeocachingMapEnhancements/Geocaching_Map_Enhancements.user.js (same link as before).


    It would be great if anyone could be a victim volunteer for testing, and let me know how well it works, as I haven't had a chance to do much testing. In particular, I've not really tried out how the script works on pages other than the main maps page (i.e. trackable maps, cache listings, cache placement, etc.).


    If it all seems to be working, in a few days I'll post the update on OpenUserJs.org, which should auto-update people who haven't manually installed the Github version.

  6. I think most of these problems are caused by Groundspeak's server issues. From what I figured out yesterday, the symptoms with GME are caused by GME trying to modify the map page before all the scripts from the geocaching.com servers have loaded and run properly. I can work around the issues to an extent by building more checking into the GME script, but it's hard to test and figure out what needs fixing: if the server is running too well, everything works fine and I can't see a problem. If it's too bad, then I get the 500 error and nothing works!


    The same problems are probably also behind the issue where the map page loads, but clicking on a cache icon doesn't do anything. Whenever you move the mouse over a map tile, there is a request to the server to ask whether any caches are in the area, which has to be answered before you can click on the icon. After you've clicked, there's another request to fetch the information about the cache. Overloaded servers can break the website at any of these stages.

  7. OK, I've fixed the first part of the problem (no GME icons). For the desperate, a somewhat-working version of the script is available on GitHub at https://github.com/JRInge/userscripts/raw/GME-Development/GeocachingMapEnhancements/Geocaching_Map_Enhancements.user.js


    If you do try the GitHub version, it may break the auto-update in Greasemonkey. Be sure to re-install the "official" version when I announce it here.


    I still need to fix the extra map selection icon, and I was going to do some work to the cache page maps too. Unfortunately I'm just getting "500 - Server Error" from the website right now, which probably means it's overloaded again. As I can't do any more testing at the moment, I'm going to go out caching instead.

  8. I've now released a bugfix update: GME v0.7.3.2. Greasemonkey / Tampermonkey ought to auto-update in due course, but if you are impatient or installed a modified version, you might need to get it directly from https://openuserjs.org/users/JRI/scripts


    Hopefully this will fix the current problems, but I've not done much testing, so let me know if there are other issues. This version should remove all trace of Mapquest from GME, and set OSM to be the default map.


    The reason the changes to the website broke GME so badly was that Groundspeak now include Google Maps as an option even when you have Leaflet Maps selected in your Map Preferences. As both map engines are loaded at the same time, GME couldn't work out which you were using, and quit because it assumed you had the wrong one. I've now disabled this test, so GME should work fine again when your preference is Leaflet. As before, it won't work when Google is selected as your preferred mapping engine, but as my Premium membership lapsed some while ago, I can no longer test quite how gracefully it fails (or not). If any PM knows enough Javascript to give me a reliable test, let me know!

  9. This is the problem: test googlemaps api:

    if (document.querySelector("script[src*='//maps.googleapis.com/']")){
     console.warn("Geocaching Map Enhancements requires Leaflet Maps to be enabled.");

    It can be change to

    if (document.querySelector("script[src*='//anymap.googleapis.com/']")){
     console.warn("Geocaching Map Enhancements requires Leaflet Maps to be enabled.");


    if (document.querySelector("script[src*='//maps.googleapis.com/']")){
     console.warn("Geocaching Map Enhancements requires Leaflet Maps to be enabled.");

    but it is not system solution.


    I'll have a go at fixing this properly tonight after I'm back from work - screaming children and wife permitting! I'll post here once it's done - not everyone seems to get automatic updates.

  10. Hi jriHope you don't mind this post but I have lost my OS maps. I have greasemonkey and also the geo map enhancements but no OS showing. What have I done!! :unsure:

    Just a thought, but have you recently cleaned out your browser by deleting cookies, temporary internet files, etc ? If so, that's where your custom mapsource data is held. Been there, done that. You just need to add the OS Maps source back in using the same method you did originally. Earlier posts in this thread #705, #706, #708, & #711 discuss this.


    If that doesn't solve the problem for you, I'll need more details about what's happening (or not) before I can help. Have you tried the tips on the troubleshooting page? http://geo.inge.org.uk/gme_trouble.htm

  11. If you PM me the message, I'll look at the details (I'm not actually using the Bing service myself at the moment).

    PM'd you with the full text


    Looks like we're probably OK, but I'll try to check in more detail when I've got my current uni assignment out of the way. I'm hoping to get time over the summer to do some major work on GME that may mean it can get OS maps without going through Bing, but either way, I should be able to make sure there aren't any problems come November.

  12. I just got an Email titled "Bing Maps AJAX Control v7 and SOAP Web Services Deprecation"

    Seems version 6.3 will reach end-of-life on November 30, 2016.


    Any effect on GME, or what?


    I can copy the entire mail if you need, but I suspect all users will get one soon.


    This won't affect the GME script itself (for non-Bing maps), as it doesn't use Bing's software. However, if retiring their old version means map tiles are no longer served up in the way GME uses, that could cause a problem. If you PM me the message, I'll look at the details (I'm not actually using the Bing service myself at the moment).

  13. Looks like a website bug. The small maps on the cache listing pages work fine, but the big map at http://www.geocaching.com/map seems to be broken - I've checked in Edge, Chrome and Firefox. I see the header bar and search sidebar, but the map pane is blank and none of the sidebar functions work. Looking in the browser console, it seems there's a javascript error that's crashing the whole page before it attempts to load the map.


    I guess that means I won't be looking for too many caches today...

  14. This always irks me. People get caught up in the politics and miss the website bug. I can see that Groundspeak's decision to use geographic boundaries rather than political ones is deeply annoying to many, but that's the decision they've made. The bug is that while logging caches follows the geographic boundary (logging a Belfast cache ticks off "Ireland"), the statistics map follows political boundaries (logging a cache in London colours in Northern Ireland on the map).


    While I accept we're unlikely to see the regions change for logging caches, could we at least get the stats map consistent with those regions?

  15. didn't know about his script but I can see it being very useful. just one question. I am old school and still prefer to use Feet rather than meters. is there an easy way to change the script to show Feet rather than meters?


    Rather than spend time making the script configurable, I've created a second version that displays the height in feet instead. You can get either script from https://openuserjs.org/users/JRI . You can even install both, and see the cache height in both metres and feet at the same time!

  16. I now, this thread isn't right place for my wish, but script Geocache Height is from Your workroom B)

    This very small script worked fine for me, but after GS layout changes is dead.

    It is possible refresh him?

    Many thanks!


    I hadn't been maintaining that script, as I built a height tool into GME, but I've now re-witten it and put it on OpenUserJS.org, at https://openuserjs.o...Geocache_Height




    It now has an icon, and behind the scenes I've put together a test suite so I can fix it again quicker next time it breaks. Let me know how it works for you!

  17. grDiv.innerHTML = '<h5>Ordnance Survey Grid Reference :</h5> ... name="gme_coords" id="gme_coords" placeholder="N 51° 10.683' W 001° 49.604'"/>


    degrees signs and single quotes should be removed!


    Those aren't single quotes - they're arc minute signs (or at least they are in the source code)!


    Seriously, are they causing any particular problem? The idea of including them in the example was to show that the Freeform Coordinates box will let you cut'n'paste in coordinates copied from other places without having to worry too much about odd punctuation. You can use most relatively sane formats too: decimal degrees or degrees, minutes and decimal seconds (with or without punctuation) should work too.

  18. It annoyed me too that the driving directions at the top of the cache pages ignore any Parking Area waypoint. I built a workaround into my Geocaching Map Enhancements Greasemonkey script.


    With GME, you get an extra Parking icon to the right of the waypoint details. The link at the top of the page still gives you directions to the cache location (which may be unhelpful), but the icons by each Parking Area or Trailhead waypoint give you the Google directions from your home coordinates to that waypoint. If there's more than one Parking Area or Trailhead waypoint, each one gets its own directions icon.


    If you're not using a script, it's rather tedious to have to edit the driving directions link by hand, or manually enter the parking waypoint into Google Maps to get directions. It may not be high on their priorities list, but as all the necessary information to do this is already on the cache pages at the moment, I would have thought that Groundspeak could implement directions links for waypoints without taking much extra load on their servers.

  19. This problem seems to occur because of the way the map page loads data about where the caches are. Although you can see the cache icons on the map, they're just pictures (actually, transparent map tiles), and not clickable on their own. As you move the mouse over each map tile, your web browser requests data from the servers to tell it whereabouts the caches are, relative to that tile. When the response comes back, the clickable hotspots get activated. At this point, you see the cursor start to change shape when you move it over cache icons, and you can click them to get the popup information. Presumably, this is done to limit the amount of database lookups the servers need to do.


    The problem is worse when you have a slow or unreliable network connection, if you are using a touchscreen rather than a mouse, or if you are particularly fast and accurate in clicking the mouse.


    To make things work better, move the mouse near to the cache you're interested in, wait a second, then click the icon. With a touchscreen, tap the icon, wait a second, then tap it again.


    If nothing's coming up at all, it may be that your internet connection had dropped out at the time your web browser tried to get the cache location data. If its request fails the first time, the browser doesn't try again until you zoom in or out, or refresh the page. Change the zoom and try again.

  20. I assume that this behaviour happens because my Premium Membership has lapsed.

    So I guess the forum shouldn't still show me in the "Premium Members" group either...

    It doesn't.

    Interesting... it did when I made the post! And it's by no means the first post I've made since my PM status lapsed some months back. I guess that implies that The Powers That Be do read these forums, even if they don't always reply. rolleyes.gif

  21. When I log a cache as found, at the bottom of the form there is a checkbox for the option to "Add to your Favorites (114 remaining)". When I tick this and Submit the log, the log is posted OK, but the cache does not receive a Favorite Point and the count of my points does not decrement.


    I assume that this behaviour happens because my Premium Membership has lapsed.


    I would have hoped that, having earned the points while a PM, I could still reward COs with them on the odd occasion I find something more worthy than a nano cache with a damp piece of papier mâché inside. If being an ex-PM, I'm not allowed to hand out Favorites, I don't think I should see the prompt to do so. Alternatively, I should receive some kind of error message when I try.

  22. Although I've been caching for over ten years now, I've never used a traditional hand held GPSr. I started out with a Palm Tungsten PDA, Cetus GPS software and a bluetooth GPSr, then gradually moved to using mobile phones as the apps and built-in GPS receivers got better. All this was basically offline paperless caching. For the last four or five years I've been using Android smartphones with various free apps. While these are normally connected to the net, I often use them offline too, either because I'm caching in areas with poor reception, or because I'm abroad and data charges would be too expensive. I haven't used the paid Groundspeak app.




    • What information is critical for you to access while caching offline?
      • basic content (description, hint)
      • map tiles
      • logs
      • cache photos
      • log photos
      • waypoints

      [*]Of all the current information available offline, what do you never use?[*]What information do you wish you had access to, but don't currently, while caching offline?[*]How would you do things differently than the current offline functionality on the Paid Geocaching App?

    I'm assuming the coordinates are a given, but the other basic content is pretty critical too for any non-traditional cache, as are waypoints (or at least the ability to generate them). Logs and photos are very helpful, but not critical. Offline map tiles, I don't generally use on a per-cache basis - but see below...


    I don't normally find myself wanting extra information to be stored for offline use. The things I tend to find myself going back online to find are recent log entries (to see if a cache has gone missing since I downloaded the info), and alternative map views (when I think that a different type of map will help, that I don't have available on my device).




    • How large of an area do you usually save for offline caching? (10 miles/km, 100 miles/km)
    • Do you favor high resolution map tiles that take more space to store and longer to download OR lower resolution map tiles that take less space to store and are quicker to download?

    I use vector maps rather than bitmap tiles, so I normally have a detailed map available of the whole country, or at least the region I am travelling in. While this might be a 500MB+ download, I don't update them frequently, and once the maps are installed, I don't need to faff about downloading sets of tiles for each cache, then finding I haven't got the ones I need if I change my route. The map files are from OpenAndroMaps.org, and are in a standard format that can be used by various different caching and navigation apps. The same map data can also be rendered using different styling to suit different activities (walking/cycling/driving) or locations (urban/rural).




    • Do you read logs while caching offline?
    • How many logs do you read?
    • Would an ability to customize the amount of logs you have access to help? (Ex: 5 or 10 most recent logs, the first and last few logs on the cache, only Found or DNF logs)

    I often read logs to check that a cache has been found recently. If I'm travelling and in a hurry to catch a train, I don't want to be searching for a cache that's gone missing, or become much harder to find than the difficulty rating would imply. For this purpose, I'd like to see up to about 5 recent logs (because some people still log a find, even when the cache has gone and they just find some left-over litter).


    I also read the logs to look for clues when I'm having trouble searching. For this purpose I'd like to see more logs, to improve the chances of finding something useful. However, I would like to be able to filter out the logs that just have a smiley or "TFTC", and concentrate on the ones with some information content. It would be good to see maybe 10 logs of over 50 characters, with just the find/dnf icons of any shorter logs that come between them (NB having the order of finds/dnfs is more helpful than just the count).




    • Do you save images when you cache offline? How important are images while caching offline?
    • How many images do you usually save?
    • Which images are more important? Cache owner images or cache log images?

    I don't normally store images for offline use, although I may save one or two for particular caches. Owner and log images are equally important.


    Reading the question a different way, I often take pictures on my phone while caching offline, which I later upload to the website. It would be handy to have some functionality to automatically add them to logs - perhaps allowing some review and basic editing (crop, rotate) before posting to the site.

  • Create New...