moodle/iplookup
Dan Poltawski 0b73876317 MDL-56331 tests: increase tolerance of coordinate tests
1) It seems the maxmind database is getting relatively frequent updates
which are causing differences in exact coordinates

2) GeoIP location lookups are not an exact science, I tried to pick some
ips which I thought would remain fairly static, but these things are
just guesses.

3) Moving to 2 decimal places should give us good enough results for
this test, according to:
http://gis.stackexchange.com/questions/8650/measuring-accuracy-of-latitude-and-longitude

  "The second decimal place is worth up to 1.1 km: it can separate one
   village from the next."
  "The third decimal place is worth up to 110 m: it can identify a
   large agricultural field or institutional campus."
2016-10-10 09:07:38 +01:00
..

iplookup info
-------------

1/ old plugins are not supported anymore

2/ general information in admin settings "Site Administration/Location/Location settings"

3/ technical info:

xplanet commadline
  xplanet -projection rectangular -latitude 0.00  -longitude 0.00  -num_times 1  -geometry 620x310  -output earth.jpeg -quality 90 -config config.txt

config.txt
  [earth]
  shade=100

original Earth map from:
  http://www.radcyberzine.com/xglobe/

marker.gif
  custom made in Inkscape

Petr Skoda (skodak), January 2008