the vertical elevation of an object above a surface (as sea level or land) of a planet or natural satellite
Questions tagged [altitude]
123 questions
0
votes
2 answers
Altitude getting zero always through gps android
hello,this is my code that I am used to get latitude,longitude and altitude.Longitude latitude getting properly but altitude return always zero.I could not understand how to get altitude.please check code and let me know.
if (!isGPSEnabled &&…

user3651987
- 21
- 1
- 13
0
votes
1 answer
How to get accurate altitude above mean sea level with NASA's EGM96.java?
The EGM96.java always throws an IO exception when I try to run it.
public static void main(String[] args) {
// TODO Auto-generated method stub
EGM96 egm = new EGM96("config/EGM96.dat");
LatLon latlon = LatLon.fromDegrees(1.4, 103.9);
…

zbz.lvlv
- 3,597
- 6
- 34
- 38
0
votes
1 answer
Is There Some Plug-In About Altitude on Android App
Now I am developing an android, and it includes these functions: get GPS, Altitude and speed, I know how to get GPS, but I have no idea about how to get Altitude and speed, who knows some plug-in can get both Altitude and speed, just tell me please!

user3560323
- 3
- 1
0
votes
1 answer
Android: Get Altitude on every phone
What I want is, that my app shows the user the altitude on his current location.
I tried that with the LocationManager, got longitude and latitude an now I tried with .getAltitude() to get the value. It always shows 0. hasAltitude() returns me…

user896692
- 2,351
- 7
- 36
- 57
0
votes
1 answer
Syntax for the Region tag in KML
I have several hundred placemarks that are all in one folder. I'm trying to make the labels appear only below a certain altitude. (The placemarks were created by exporting a layer from ArcGIS, and I presume that the altitude should be specified in…

Mhoram
- 421
- 2
- 6
- 13
0
votes
3 answers
Vertical Accuracy in android GPS
I am working with GPS related app. I need to get vertical accuracy but it always gets fix 11.0000. I need it to be dynamic as lat and lng. I have used getAccuracy but it results in horizontal accuracy.
@Override
public void…

Yagnesh
- 1,123
- 3
- 17
- 27
0
votes
1 answer
How to get heat colors with plot3d in scilab?
Hi this may seem to be a simple question but I am having a hard time understanding how to use the colors in a plot3d.
That is what I have:
// x, y and z are matrix 4 by 100
myColors =…

Paul Fournel
- 10,807
- 9
- 40
- 68
0
votes
1 answer
Calculate Speed and Altitude in Android without using built in methods
I am trying find out the speed and altitude in android without using getspeed() and getAltitude() methods. If any one has any reference material or code snippet with respect to this,please share it so that it can be of some help to me.

adi
- 53
- 1
- 5
0
votes
1 answer
CoreLocation/Mapkit Altitude
Just a quick question, does CoreLocation/Mapkit measure altitude from sea level (elevation)?
I am using the following code
NSString *altitudeString = [NSString stringWithFormat: @"%.2f m", newLocation.altitude];
Thank You

Hassan Mahmood
- 1,591
- 2
- 12
- 24
0
votes
0 answers
GetElevation Format Issue
I use this method to retrieve the altitude using longitude and latitude coordinates
private double getAltitude(int long, int lat) {
Double longitude=Double.valueOf((double)(long/1e6));
Double latitude=Double.valueOf((double)(lat/1e6));
…

AndreaF
- 11,975
- 27
- 102
- 168
0
votes
1 answer
Getting altitude tapping on a place of the map
I use the follow code to get coordinates and altitude simple clicking in a place on the map... for example if I click on a New York Street the apps returns to me the New York coordinates
public void onLocationChanged(Location location) {
double…

AndreaF
- 11,975
- 27
- 102
- 168
0
votes
1 answer
Astronomical altitude from iOS device
How can I retrieve the astronomical altitude that an iOS device is pointed towards? The goal is to be able to point the devices camera at the sky and have it display the altitude.
Astronomical altitude is the angle between an object and the…

Dash
- 17,188
- 6
- 48
- 49
0
votes
1 answer
android - measuring altitude and accuracy on gps?
In my android project I can get the accuracy and altitude measured, and they return an integer (or rather a float), but I don't understand how to use the value. Is the altitude measured in meters from ground level? and what about the accuracy, does…

omega
- 40,311
- 81
- 251
- 474
0
votes
1 answer
remove altitude from a gps fix
Hi i am developing an Android augmented reality application using location of the user with the Android Augmented Reality Framework. My problem is that on a hard fix with altitude 0 i can see all the markers nicelly but when i get gps the markers…

user878813
- 785
- 2
- 16
- 28
-1
votes
1 answer
How can you detect a number decreasing but only when it decreases by 10?
I am programming a bmp280 pressure sensor to deploy a parachute when the altitude starts to decrease on a water rocket but only when it starts to significantly decrease so it doesn’t deploy as soon as altitude decreases how would I detect the number…