-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-calculate the Bearing (Compass) #73
Comments
Hello, @valerio-bozzolan ! Interface URL point like https://wikimap.toolforge.org/api.php?cat=Pavlovsk_park&subcats&subcatdepth=8&camera=true&locator=true&allco=true yet gives bearing. You also can find, observe and use code under the API. |
Super interesting! I do not understand if the above API "just" reads the bearing from the template, or, if it calculates it on-the-fly. |
OK so you say that Now let's see that source code: |
@valerio-bozzolan I am sorry for closed source code of DB111's utility... Searching under https://commons.wikimedia.org/w/api.php?action=help doesn't seems me easy for our trivial example. |
This lovely tool has the potential ability to automagically calculate the bearing. That is, the direction between the location of the person, and the location of the object.
I'm talking about the
heading:
parameter here:https://commons.wikimedia.org/wiki/Template:Location
Further details:
https://phabricator.wikimedia.org/T363052
This is an issue that may be interesting during hackatons, or this kind of things \o/
The text was updated successfully, but these errors were encountered: