Difference between revisions of "Maps tab"

From Project-GC
Jump to: navigation, search
(Added note of why we use dynamic values)
m
Line 4: Line 4:
  
 
The maps of individual countries have toggle buttons for regions and counties, there is also buttons for each individual region that the user have found caches in, clicking the button with the regionname produces a map of the region with the found counties marked.
 
The maps of individual countries have toggle buttons for regions and counties, there is also buttons for each individual region that the user have found caches in, clicking the button with the regionname produces a map of the region with the found counties marked.
 
  
 
== Colors ==
 
== Colors ==

Revision as of 18:15, 20 May 2021

The Maps tab is a tab in a users Profile Stats that shows where they have found caches. At the top there is a World map that shows how many of the 250 countries the user have found caches in, under the world map all the found countries are listed with the number of caches found in each country.

Next is a map of the country where the user have found the most caches followed by maps for the continents where the user have found caches and after that a map for each country that the user have found a cache in. This tab will be very long if the user have logged many countrys.

The maps of individual countries have toggle buttons for regions and counties, there is also buttons for each individual region that the user have found caches in, clicking the button with the regionname produces a map of the region with the found counties marked.

Colors

Every area where the geocacher has found at least one geocache gets colored to show that they have geocached there. There are five levels of colors, the darker the color, the more finds in the area. The color levels are based on two requirements, whichever is lowest (easiest) is used.

Color levels
Level Fixed requirement Dynamic requirement
1 1 N/A
2 10 10%
3 100 30%
4 1000 50%
5 5000 80%

The dynamic requirement is based on how many percent of the currently active geocaches the geocacher has found. More than 100% is possible if some of the finds are now archived. Using fixed numbers only has been tried, but for almost every single geocacher it means a darker color in 1-2 zones and then light colors in all others. Also there is a big difference between finding 1,000 geocaches in Germany/Nordrhein-Westfalen vs Germany/Hamburg, which makes it hard to originate from fixed numbers.

Image sizes

The default size of the map images are made to fit Profile stats by using a size of max 734 pixels in width or 512 pixels in height. When clicking a map it opens up in a larger version. By copy/pasting the link a user can adjust the image size to use by adjusting the scale parameter (by adding &scale=VALUE to the url). Available values are: 1 (default), 2, 4, 8, 16.

Map sources

All maps are generated based on data from OpenStreetMap with the one exception, Canada, which has a mix of sources. The polygon data is imported via OSM-Boundaries.com. If you find issues with the borders the data can be corrected in OpenStreetMap, Project-GC will then update its polygons with the next update.