| Yurik updated the task description. (Show Details) |
CHANGES TO TASK DESCRIPTION
I found this example that uses JTS (reference library for all geo calcs) - https://gist.github.com/oschrenk/2787570
== Usage
...
[[ https://stackoverflow.com/questions/1185408/converting-from-longitude-latitude-to-cartesian-coordinates | this stackoverflow question ]] provides a more accurate implementationsimple explanation of how it is done, by transitioning each point's WSG 84 (longitude, latlatitude) into cCartesian system (x,y,z), averaging on each coordinate, and converting back. If earth is assumed to be a sphere, the calculations are slightly simpler.I found this example that uses JTS (reference library for all geo calcs) - https://gist.github.com/oschrenk/2787570
== Usage
...
TASK DETAIL
EMAIL PREFERENCES
To: Yurik
Cc: Smalyshev, Aklapper, Yurik, GoranSMilovanovic, QZanden, EBjune, merbst, Avner, debt, Gehel, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
Cc: Smalyshev, Aklapper, Yurik, GoranSMilovanovic, QZanden, EBjune, merbst, Avner, debt, Gehel, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
