Questions tagged [compass-geolocation]

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.

333 questions
6
votes
3 answers

iphone compass tilt compensation

has anybody already programmed a iphone compass heading tilt compensation? i have got some approaches, but some help or a better solution would be cool! FIRST i define a vector Ev, calculated out of the cross product of Gv and Hv. Gv is a gravity…
user302606
  • 118
  • 1
  • 6
5
votes
2 answers

Between GPS, compass heading and accelerometer, which consumes the most amount of battery?

Does anyone know between GPS, compass heading and accelerometer which uses the most amount of battery (or how they compare relatively?) I'm assuming somewhat naively it's: accelerometer < compass heading < GPS but I can't find anything to…
Rio
  • 14,182
  • 21
  • 67
  • 107
5
votes
1 answer

iOS5: low update rate of CLHeading readings -> switching to CoreMotion is problematic

With iOS5 the update frequencey of the Compass raw data reading, CLHeading, dropped dramatically. This rendered my augmented reality app unusable, because it depends on a close-to-real-time reading of the raw compass data. Therefore I'm now trying…
5
votes
1 answer

How to show compass on Screen?

I am new to iOS development. My objective is to show a compass on Screen. I have a latitude and longitude of a certain location. I have gotten my current latitude and longitude by using CLLocation. I have calculated the distance between two points…
Rohit Singhal
  • 381
  • 1
  • 4
  • 22
5
votes
4 answers

Compass - Track number of full 360 degree rotations

Suppose a person is using this compass, and beginning from 90 degrees they start rotating either clockwise or counterclockwise. What's the best way to keep count of how many full 360 degree rotations they complete? Assuming they'll be rotating…
pez
  • 3,859
  • 12
  • 40
  • 72
5
votes
1 answer

Compass guide to GPS destination

I want to rotate an ImageView with an arrow from the current user location to some previously saved GPS location. How do I do this? Is the Initial Bearing got from the Location.distanceBetween method the right way to go on this? If so, how do I use…
DArkO
  • 15,880
  • 12
  • 60
  • 88
5
votes
1 answer

HTML5 Device Orientation - reliable compass implementation?

I am working on a mobile web project that needs to know the compass direction the user's device is pointing. It's incredibly simple right now, but here's what I have: var updateDirection = function (evt) { …
5
votes
1 answer

How to put MKMapView in compass mode?

I have placed an MKMapView on my .xib. It works fine, but I need the map to rotate according to the compass heading? I have read about "compass mode". Perhaps I need to set the MKMapView property of compassMode to be true. But I can not find any…
John Dorsey
  • 157
  • 1
  • 11
5
votes
2 answers

How to show wind direction on a compass

I am working on a web application where I have to show the temperature, humidity, wind speed, wind direction etc. I am using google.visualization.Gauge() to show other things but I want to show wind direction on a compass. Does anyone know about any…
AL̲̳I
  • 2,441
  • 4
  • 29
  • 50
5
votes
5 answers

iOS iPhone show user direction and orientation in space like the compass app on MKMapView

When the compass app uses a map view to display it's location, there's a little cone that displays the direction in which the phone is pointing. However, I was unable to reproduce it using MKMapView that shows user's location. Is this cone of sight…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
4
votes
1 answer

Undefined mixin 'global-reset' when deploying to Heroku

Any ideas why does this happen when deploying to Heroku: -----> Preparing app for Rails asset pipeline Running: rake assets:precompile rake aborted! Undefined mixin 'global-reset'. (in…
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
4
votes
5 answers

iPhone compass showing to a specific location

I am new to objective-c so I want to apologize if my question is too rubbish. I am programming a compass and yet, it is working (thanks to a tutorial). Actual position (Longitude and Lattitude) is given. Is it possible that my arrow within the…
4
votes
1 answer

Finding a Compass Heading on Android

I want to display an arrow at my location on that displays my direction relative to a destination location. Similar to this stackoverflow question: Calculate compass bearing / heading to location in Android I want to find the heading or the measure…
Nightlife
  • 133
  • 3
  • 10
4
votes
1 answer

OpenstreetMap how to validate post addresses

I am working on a project where I should develop an application to validate post addresses in Germany, Switzerland and Austria. For that I need to set up a address database with all information. But I don't know where i can get the data. I googled…
Sami
  • 107
  • 2
  • 7
4
votes
1 answer

Determining north using the android phone

I looked over SensorManager and was still unsure, how do I detect if the phone is looking at true north (or any other direction for that matter).
tipu
  • 9,464
  • 15
  • 65
  • 98