Am 12.01.2015 14:48, schrieb Markus Krötzsch:
Anybody? If the answer is "we not thought about
this yet" then it would be good
to know this, too. Any considerations that have led to the current
implementation are of interest.
The range is limited (no extremely large or extremely small percisions), but
inside that range, you can pick any number. The reason is that we need to be
able to support precisions that are given in the actual sources; some sources
give them as fractions of a degree, but some give them in meters or kilometers,
which then must be converted to degrees depending on the location, given very
"odd" numbers.
As for the range, I think the least precise we support is 1 degree, and the most
precise is 10^-8 degrees, but I can very well be wrong there. I think we agreed
at some point that anything beyond a meter is not useful.
I think it was Maarten Dammers who brought up the need for supporting arbitrary
precision values, not just a fixed set.
--
Daniel Kinzler
Senior Software Developer
Wikimedia Deutschland
Gesellschaft zur Förderung Freien Wissens e.V.