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
3
votes
1 answer
iPhone trigonometry for dealing with orientation
I am trying to write an augmented reality application. I am using the compass, gyroscope, and GPS coordinates to create overlays. Everything is working great, except for when the user leaves portrait mode. Should just be a simple trig problem that I…

Mike
- 73
- 5
3
votes
4 answers
iPhone Compass GPS Direction
I'm trying to develop an application that use the GPS and Compass of the iPhone in order to point some sort of pointer to a specific location (like the compass always point to the North). The location is fixed and I always need the pointer to point…

Jessesiu
- 151
- 5
- 10
3
votes
2 answers
Rotate an image to direct to a well know point using compass heading
As a proof of concept, I want to create an application that retrieve the current coordinates, calculate the direction towards an another point and, using compass, rotate an arrow image to direct to that point in space.
I know how to retrieve current…

Giordano Scalzo
- 6,312
- 3
- 31
- 31
3
votes
3 answers
First Android App - How to Access the Compass
I'm making my first Android application. As a toy problem to learn the system I want to make a simple app that display as text which direction the phone is pointing using the built in compass.
How do I access the compass from my code, and have my…

Greg
- 45,306
- 89
- 231
- 297
3
votes
2 answers
How to control an OpenGL projection matrix with iPhone accelerometer/compass values?
Is there any ready made class/formula somewhere I can use it for control my viewpoint by accelerometer's/compass's XYZ?
I want to achieve the same view control like acrossair uses.
I have the parts (OpenGL space, filtered accel-, compass values, and…

Geri Borbás
- 15,810
- 18
- 109
- 172
3
votes
0 answers
Customize Compass working between two locations?
I have one requirement in which i want to show the arrow towards destination location from current location.Also it should move as per the device rotation and should point to same location after location also.Is it possible ? How?
I have refereed…

Bilal uddin
- 114
- 1
- 7
3
votes
4 answers
Convert user entered true azimuth to magnetic azimuth
I was wondering if there is a way to use CLHeading or CLLocationDirection to convert between true and magnetic azimuth for a USER entered value.
In a normal scenario with plenty of examples on SO, we can use didUpdateHeading:(CLocation) newHeading…

rkh
- 841
- 12
- 29
3
votes
1 answer
why use accelerometer and magnetometer to get compass values
I found several examples and I know HOW to get the compass bearing using accelerometer and magnetometer. The problem is that i don't know WHY these two sensors should be used.
can someone explain it to me? thanks

Bianchina Whitepage
- 41
- 1
- 3
3
votes
0 answers
Compass/orientation model for Android
I wonder if you can help regarding a project I'm working on coding in Javascript for an Android application. We're looking for a model to store our compass/orientation values and have found the 2009 w3c document The Compass API
The document suggests…

user2018690
- 31
- 1
3
votes
1 answer
Issue with MKMapVIew,my Pin Points are not shown in correct direction(i am using compass mode for mkmapview)
I am developing an iPhone application that works with maps. In this app, I need to show some parking places (addresses) based on their latitude and longitude. At this point, I finished successfully, but I would like to show the Pin Points relative…

Hari1251
- 452
- 4
- 15
3
votes
0 answers
Rotate Google Maps due to Compass
I'm trying to rotate google maps using javascript Google API due to Compass.
I couldnt find anything related about this.
I need some code samples.

Gordack
- 31
- 1
2
votes
1 answer
North calculation based on magnetometer and gyroscope
I need to calculate "facing" (it doesn't matter if it will be based on true north or magnetic one). As it can be seen on the iOS devices the CLHeading objects returned by the CLLocationManager gives us both the true and the magnetic heading by…

Ariel
- 2,430
- 1
- 17
- 20
2
votes
1 answer
Collect compass direction and camera tilt at time of photo capture
I'm trying to collect the compass direction and the tilt of the phone at the time a picture is taken. Of course, I'm not sure of an easy way to do this. My current camera implementation uses:
Intent cameraIntent = new…

Rohan
- 515
- 10
- 30
2
votes
0 answers
Get Rid of 'Compass Interference' Message while using compass through NSLocationManager
I am working on augmented reality with GPS & Camera interface but more often I am having this calibration message as 'Compass Interference' see image.
a busy cat…

infiniteLoop
- 2,135
- 1
- 25
- 29
2
votes
4 answers
Enable Compass OSMDROID
How I can enable the compass mode in Open Street Map?
Is there a method or do I need to create the orientation system by myself?

max246
- 225
- 3
- 13