Question: I extracted the OSM XML node for a light house with sector lights to use for some graphics. However, the sector values do not make sense to me. I found the attributes mentioned on several wiki pages:
but none of these seems to specify the units or interpretation of the values. The first example on https://wiki.openstreetmap.org/wiki/Seamarks/Sectored_and_Directional_Lights clearly shows the first sector directed to the north-east, while its values are:
Solution: The values are the heading in degrees, from a vessel. I was looking for the opposite angle... Here's a Python snippet to convert the angles (you may be able to run this on an "online Python" service):
PS / OT:
is misleading (cannot submit anonymously) and did not work for me / question lost after registration.
This question is marked "community wiki".
asked 10 Sep '18, 09:59 whyohwhyohwhy |