Questions tagged [azimuth]

An an angular measurement in a spherical coordinate system.

An azimuth is an angular measurement in a spherical coordinate system. The vector from an observer (origin) to a point of interest is projected perpendicularly onto a reference plane; the angle between the projected vector and a reference vector on the reference plane is called the azimuth.

An example is the position of a star in the sky. The star is the point of interest, the reference plane is the horizon or the surface of the sea, and the reference vector points north. The azimuth is the angle between the north vector and the perpendicular projection of the star down onto the horizon.

Azimuth is usually measured in degrees (°). The concept is used in navigation, astronomy, engineering, mapping, mining and artillery.

Useful Links

113 questions
2
votes
0 answers

Android: Calculate correct Azimuth while compensating for Pitch/Tilt changes (Device not flat)

I'm currently programming an Android camera application (on my Samsung S9 running on Android 9) and I am noticing an issue for the outputted azimuth value when the device has been tilted (is not flat). The difference in degrees from when the device…
2
votes
1 answer

Determine building your Android device is pointing at

I have a MapView in which I am drawing buildings on using geopoints. Currently, the app determines the closest building to you by just checking your long/lat and comparing to the buildings; but what I want to be able to do is point my device at a…
RyanG
  • 4,393
  • 2
  • 39
  • 64
2
votes
1 answer

how to get azimuth and elevation from enu vectors

How do you get the azimuth and elevation from one enu vector to another enu vector? A link to a formula or piece of code would be helpful. I'm not getting much information at all when searching.
Joe
  • 41
  • 1
  • 5
2
votes
1 answer

Find mean, standard deviation etc of azimuths

I have a Matlab script that tells me about great circle paths crossing grid locations, and want to look at the distribution of paths crossing a certain grid location. For some location, I have a vector of azimuths of paths crossing that…
Shelby
  • 21
  • 2
2
votes
1 answer

How to find angle between GPS coordinates in pandas dataframe Python

I have dataframe with measurements coordinates and cell coordinates. I need to find for each row angle (azimuth angle) between a line that connects these two points and the north pole. df: id cell_lat cell_long meas_lat meas_long 1 …
jovicbg
  • 1,523
  • 8
  • 34
  • 74
2
votes
0 answers

How to set up an arbitrary viewpoint in matplotlib's 3D axes?

I am trying to set an arbitrary viewpoint for an Axes3D object ax using ax.view_init(azim=a, elev=e) but this method does the elevation rotating the "z" axis with respect to a horizontal axis co-planar to the screen, rather than the axis "x" or…
Santiago
  • 71
  • 3
2
votes
0 answers

GameRotationVector confusion - values are incomplete (cp. RotationVector)

The GameRotationVector in Android does not behave as expected from the doc (1). The Android doc says that the GameRotationVector should give the same values as the RotationVector sensor, with the difference that it does NOT consider the real azimuth…
2
votes
2 answers

Libgdx getAzimuth() doesn't working

I want to control something in my game with the Accelerometers sensor. I don't know why but the getAzimuth doesnt works it always got the value 0, I made this test by showing the result of some methods and this is the output Sample of Code…
LeSam
  • 1,235
  • 4
  • 18
  • 38
2
votes
1 answer

Problems with Azimuth calculation when iOS device is in Landscape Right

I have written an Augmented reality app for iOS which uses location services and GPS, everything works fine when the device is in landscape left but when the devices rotation is landscape right the center azimuth does not get calculated correctly, I…
Sixjac
  • 339
  • 4
  • 16
2
votes
0 answers

Android compass: different Azimuth values depending on Pitch

I'm developing an app and I need to use camera and compass simultaneously. The problem is that the value of Azimuth changes depending on the one of Pitch (in other words if I'm holding the phone or I put it on the table), and It seems like there's…
2
votes
1 answer

How to calculate azimut & elevation relative to a camera direction of view in 3D ...?

I'm rusty a bit here. I have a vector (camDirectionX, camDirectionY, camDirectionZ) that represents my camera direction of view. I have a (camX, camY, camZ) that is my camera position. Then, I have an object placed at (objectX, objectY, objectZ) How…
gluon
  • 662
  • 1
  • 10
  • 18
2
votes
1 answer

Calculating the angle between the user and POI (Points of Interest) in android

I want to make a function that calculate the angle between the user and one point of interest (POI) with reference to the true north. I already have the longitude and latitude of my position and the POI position and now i need the angle between…
Ricardo
  • 121
  • 1
  • 2
  • 11
1
vote
2 answers

Rotate a sphere from coord1 to coord2, where will coord3 be?

I have three coordinates (lat,lon) on a sphere. If you would rotate the whole sphere from coord1 to coord2, where will coord3 now be located? I've been trying this out in Python using Great Circle…
joosthoek
  • 173
  • 1
  • 3
  • 9
1
vote
1 answer

Azimuth in android

I'm developping an app in which I'm getting the information from the orientation sensor. The only one I'm interested in is azimuth (or yaw). The thing I dont understand is : In which way is it recorded in regard of the phone. I made an schema of the…
ulkar
  • 99
  • 2
  • 10
1
vote
3 answers

Sun's position, equation of time: WRONG BY 27 DAYS

I'm trying to improve the U.S. Naval Observatory's algorithm for calculating the position of the sun, by writing it in a simpler way where all the numbers used have been properly identified - so normal people can understand it as well. But somehow,…
Molvær
  • 25
  • 4