[OpenIPMap] Links drawn on the map are Europe-centric
Emile Aben emile.aben at ripe.net
Mon Jun 15 21:25:31 CEST 2015
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 15/06/15 15:06, Baptiste Jonglez wrote: > Hi, > > It appears that OpenIPMap is very Europe-centric, which is hardly > surprising after all :) > > When a link is drawn from Asia to the USA, it is systematically > drawn through Europe, even when it is most likely not the case. > For instance, see the following measurement: > > https://marmot.ripe.net/openipmap/tracemap?msm_ids=2050829&show_sugges tions=0 > > There are links from New Zealand and Japan, towards the western > parts of the USA (Seattle, Los Angeles). These links almost > certainly go through the pacific ocean, not through Europe. > > Is it technically feasible to draw the shortest link (either > East-West or West-East) instead of hardcoding the direction? This is a limitation in one of the underlying libraries (leaflet.js) that is used for drawing, not doing this by default. Here's a thread about it: https://github.com/Leaflet/Leaflet/issues/82 I remember experimenting with solutions in that thread, and not getting it to work (as it annoys me too). Google Maps doesn't have this limitation, but isn't as open-source as leaflet.js is. So, yes technically feasible, just not implemented atm. Created this issue for it: https://github.com/emileaben/django-openipmap/issues/16 > > Thanks, Baptiste > > > > _______________________________________________ OpenIPMap mailing > list OpenIPMap at ripe.net > https://www.ripe.net/mailman/listinfo/openipmap > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVfyaoAAoJEKxthF6wloMOlqEP/1mENDL+cBmzMc+Qxcn7MDvk iUQ2EKeJRsYDJ3e5kmnFy7slfJ0AJTeSTvIweLOft4GWE+MAbudFYCbPAFP6zxYa wNdXfHl6ewo5LcZsM1k3A5Uik6HqvAXFvylko2WGP84EFwQwG/GzLMAqrgf9Pab2 72DC5lQhqvSGYpgrysG+7LoPGRnlzRaxAdpNTvPI7fa3Ag4cZLtBnI+DkBO/XTm4 Fp4QVwa4mO5vqbPoUSkb0IKY7HIFj9Ho0p30JnUswdgldMgLm9mul3Vd/kVCWplN SE4Vvg0iUkqNDG7Fe2UdfMSnWYGxBpO1XU8gYeWRwQoTplpuz3JLXEBlQyaNNFIs DIGpFQ3MTVDE43eZo53otLvk1QmhEADA6dvEzz32lgMuJXce0NbM8nwAshHqFBgc xzNwcOyJvkV/8YtQXSNB+kUj/RDoLQepHE7cmdqQaMw061L4eroLiubyZ3LP6JNw SZhDZ/YlWuzQlXsh+SPj0lEg+vFdMQut7TDDpgmI7TW2o2v8CzTtBGh9t18u9h0B 42VnHoZ/m9atQV+p/CkbVEh7I/9KSGrPb/mR4L0YX49sqOTJ+jjxxOPW6rBR+XIU dJW8dqicmQSC04UetSkckmCDJZUIQa6EGIJjn1VWBTNDtNZDo7mOHArU/lgSNi8E oR+awJX9470F5TJxN3+/ =s3nS -----END PGP SIGNATURE-----