Geolocation is the identification of the real-world geographic location of an object, such as a cell phone or an Internet-connected computer terminal. Geolocation may refer to the practice of assessing the location, or to the actual assessed location.
Questions tagged [compass-geolocation]
333 questions
8
votes
1 answer
iphone compass rotating based on orientation
Hi i am looking to be pointed in the right direction in solving a problem that when the orientation of the iphone is changing/changes what transformations will need to be performed on didUpdateHeading:newHeading to make the value of…

chicken
- 1,618
- 5
- 24
- 35
8
votes
2 answers
Accelerometer & gyro accuracy in different mobile device
I want to implement an indoor localisation system using the sensors of a mobile device (accelerometer, compass,
gyro) . This problem was already discussed here on several places such as - here and here
The first step is to decide which platform is…

Ariel
- 206
- 1
- 4
- 10
7
votes
2 answers
Compass direction is different depending on phone orientation
My augmented reality app needs the compass bearing of the camera view, and there's plenty of examples of getting the direction from the sensormanager.
However I'm finding the resulting value different depending on the phone orientation - landscape…

Mush
- 133
- 1
- 6
7
votes
4 answers
How to improve accuracy of accelerometer and compass sensors?
i am creating an augmented reality app that simply visualices a textview when the phone is facing a Point of Interest (wich gps position is stored on the phone). The textview is painted on the point of interest location in the screen.
It works ok,…

NullPointerException
- 36,107
- 79
- 222
- 382
7
votes
3 answers
Universal Logic for finding qibla direction
I am very keen on knowing an universal qibla direction logic as I want to implement in my islamic android app. I have just obtained latitude and longitude of the user and irrespective of any lat, lon I want to find qibla direction for that person…

md gouse
- 527
- 1
- 6
- 22
7
votes
4 answers
accessing iPhone compass with JavaScript
Know if it's possible to access the iPhone compass in Safari using JavaScript? I see how the GPS can be accessed, but I can't figure out the compass.

Drew Dara-Abrams
- 8,016
- 11
- 40
- 48
7
votes
1 answer
Qibla compass in Android
I have try much but can not make Qibla compass for my application. I can't understand what I do. I need Qibla compass that works perfectly.

Parag Chauhan
- 35,760
- 13
- 86
- 95
6
votes
4 answers
iOS augmented reality with compass and location
I'm trying to develop a mini "Around Me" like using camera, compass and location. I would like to display place's images on my screen.
For the moment I have my location and my orientation with compass. I would like to know how can I determine the…

Pierre
- 10,593
- 5
- 50
- 80
6
votes
3 answers
how to calculate phone's movement in the vertical direction from rest?
I am developing an app using android OS for which I need to know how can I calculate the movement of the device up in the vertical direction.
For example, the device is at rest (point A), the user picks it up in his hand (point B), now there is a…

Raza
- 1,192
- 4
- 12
- 23
6
votes
4 answers
Compass: from 359 to 0 degrees
I am trying to move a robot using a compass. We use the compass to make the robot move in straight line, it uses 2 wheels and they move a bit different.
So we set a value between 0 and 359 as direction, and then check the current direction,…

Dr Sokoban
- 1,638
- 4
- 20
- 34
6
votes
4 answers
Filtering compass readings
I'm using compass heading to rotate an MKMapView. The rotation was a bit jerky so I'm trying to filter it like Google Maps on the iphone does (or appears to do some trickery).
I'm trying to filter the reading from the iphone compass using a moving…

d0n13
- 942
- 7
- 20
6
votes
1 answer
Implementing current cardinal direction method with TYPE_ROTATION_VECTOR while standing still?
There appear to be many old examples of getting the current cardinal direction on Android devices, but an official solution provided by Google does not appear to be in their documentation.
The oldest reference Sensor.TYPE_ORIENTATION which is…

snkashis
- 2,951
- 1
- 18
- 35
6
votes
1 answer
Point to location using compass
I am trying to develop a compass for an appliation which has a set of annotations on a map. I would like to be able to choose an annotation and then have the compass point the user to the chosen location.
I have calculated the degress from the…

simonbs
- 7,932
- 13
- 69
- 115
6
votes
1 answer
How to get compass direction
I want to show the direction on the screen that phone is facing. For example:
0
|- []
|_
South --- North
In the above diagram the phone would display "North". Since the user (the stick with 0 for his head) is holding out the phone (the…

Greg
- 45,306
- 89
- 231
- 297
6
votes
2 answers
Compass accuracy dilemma
I need to build compass for my application.
From reading the documentation it seems there are two reasonable ways of doing this:
Sensor.TYPE_ORIENTATION method: This is the easy way of doing it. The problem with this is it is not accurate. When I…

mob1lejunkie
- 945
- 1
- 9
- 29