Quadrant Bearings

I'm working on the IfcOpenShell api. I've created a function that converts a quadrant bearing string into a decimal angle. For example angle = ifcopenshell.api.cogo.bearing2dd("N 45 14 32.2 E")
The format of the bearing string is highly influenced by my US bias.
My question to the international community, are there different ways that bearings are represented in your locale? Please share details.
I know in some places a '.' is used instead of ',' for decimal numbers. Would that apply here for seconds?

steverugi

Comments

  • edited June 27

    Hi, I asked my colleague responsible of topography department (Italian working in Ghana)
    his reply was:
    045°14'32.2 converted to decimal > 45.24228°
    adding "I use 045°14'32.2 but when entered in the software I convert it to decimal 45.24228° so to be able to operate in that format accordingly"
    hope it was helpful

Sign In or Register to comment.