Questions tagged [altitude]

the vertical elevation of an object above a surface (as sea level or land) of a planet or natural satellite

123 questions
5
votes
3 answers

Android how to get altitude in LocationManager. i am alwaya getting zero

I am trying to get an Current Altitude from location.getAltitude() method. but it always returns zero. what should i do to get current altitude value. but getting longitude and lattitude correctly. please advice me. i have searched in google and…
RAJESH
  • 231
  • 1
  • 5
  • 19
4
votes
5 answers

c# Get Altitude at position

I need to get the altitude of a latitude and longitude position (ground altitude). I haven't found anything able to do this. Any ideas? Thanks!
Christian Stewart
  • 15,217
  • 20
  • 82
  • 139
4
votes
0 answers

Simulate Altitude Position in Android Emulator

I am trying to simulate altitude of position in Android Emulator. As I saw in old tutorial, Android Emulator did support to emulate Altitude, but for the currently version they didn't. Is there anyway to simulate altitude? The following image is…
Anh Tu
  • 75
  • 7
4
votes
0 answers

CMAltimeter in the background

The background has been ask million here but it is still my problem. In my app I want to track user altitude and pressure in the background by CMAltimeter. I want to to use Location Update but the change Apple reject my app very high.
DzungPV
  • 1,561
  • 3
  • 18
  • 24
4
votes
1 answer

HTML5: get device altitude

In my HTML5 page I would like to retrieve the altitude of the device (I'm testing on my Nexus 5 with Chrome mobile). As mentioned in HTML5 Geolocation Altitude, the altitude returned by the Geolocation API is always null. I've read that some native…
sdabet
  • 18,360
  • 11
  • 89
  • 158
4
votes
1 answer

Android: How does one deal with inaccurate baromters?

I have been using a Samsung Galaxy S3 to work on an app that uses the barometer estimate the user's altitude. I use SensorManager.getAltitude(p0, p), and set p0 equal to the sea-level pressure reported at the nearest airport. I set p equal to the…
Probity
  • 41
  • 1
  • 2
4
votes
2 answers

Altitude always 0. I cannot obtain the altitude above sea level

I get the altitude always 0. I want to obtain the altitude above sea level in Android using GPS. My code is: public void onLocationChanged(Location location) { double lat = (double) (location.getLatitude()); double lng = (double)…
AndreaF
  • 11,975
  • 27
  • 102
  • 168
4
votes
3 answers

Python PyEphem calculation of Azimuth and Altitude

I am new to PyEphem and I am trying to figure out what it can do and how it works. As I do not want to use it as a black box and blindly trust whatever figure I get, I wanted to recreate an example that is explained here. The example calculates the…
hgus1294
  • 747
  • 14
  • 26
3
votes
2 answers

Android: How to use SensorManager.getAltitude(float p0, float p)?

I found an alternative way to obtain altitude by using SensorManager but it requires two paramaters. public static float getAltitude (float p0, float p) Computes the Altitude in meters from the atmospheric pressure and the pressure at sea level. …
eros
  • 4,946
  • 18
  • 53
  • 78
3
votes
1 answer

How to measure change in altitude at high frequency with Apple Watch

I am trying to measure changes in altitude with an Apple Watch in a sport activity (Kite Surfing). Currently my App is just collecting data for analysis. I am recording barometric and GPS altitude for comparison at a frequency of 10 measurements per…
hh221165
  • 41
  • 3
3
votes
1 answer

CLLocation altitude property validity in flight

I understand the concept of negative for below sea levels and positive for above + there is vertical accuracy to check the sanity of this value. I am interested in GPS data in a flight. What could be the max or approx max value of altitude so that I…
nr5
  • 4,228
  • 8
  • 42
  • 82
3
votes
0 answers

Precision of GPS altitude readouts on Android and iOS phones

I'm writing an app (both android and ios) that rely highly on the precision but not accuracy of user's altitude. This means that I'd just like to make sure that whatever device would read the same i.e. consistent altitude values (be it from…
andrew
  • 129
  • 1
  • 10
3
votes
1 answer

Cesium- How to calculate highest point, lowest point, average altitude in a specified area around the click position?

I have successfully computed the height of a location where user clicks in cesium but my next step is a bit complex. What i want to do is that when user clicks at some point on globe, at any zoom level, i want to calculate highest point, lowest…
Qandeel Abbassi
  • 999
  • 7
  • 31
3
votes
1 answer

How to make a flight path projection if possible in Python?

I have latitude, longitude and altitude data and want to make a plot such as in the image below using Python. The map can be left out, it is unnecessary. I have tried using the mplot3d polygon plot tutorial but can't figure out how to have varying…
Mazin
  • 359
  • 2
  • 4
  • 11
3
votes
2 answers

PyEphem: can I calculate Sun's altitude from azimuth

I am using PyEphem to calculate the location of the Sun in the sky at various times. I have an Observer point (happens to be at Stonehenge) and can use PyEphem to calculate sunrise, sunset, and the altitude angle and azimuth (degrees from N) for the…
davehunt00
  • 31
  • 3
1
2
3
8 9