Questions tagged [gps]

Abbreviation for Global Positioning System; a navigational system using satellite signals to fix the location of a radio receiver on or above the earth's surface. Also "GPS" refers to the radio receiver used to receive GPS signals.

Global Positioning System (GPS) is a space-based global navigation satellite system (GNSS) that provides reliable location and time information in all weather and at all times and anywhere on or near the Earth when and where there is an unobstructed line of sight to four or more GPS satellites.

It is freely accessible to anybody with a GPS receiver. Apple, Google, and other mobile providers have developed frameworks to deal with the location services calculated from GPS, WiFi or Cell Tower.

More information can be found at:

10257 questions
56
votes
12 answers

PHP extract GPS EXIF data

I would like to extract the GPS EXIF tag from pictures using php. I'm using the exif_read_data() that returns a array of all tags + data : GPS.GPSLatitudeRef: N GPS.GPSLatitude:Array ( [0] => 46/1 [1] => 5403/100 [2] => 0/1 ) GPS.GPSLongitudeRef:…
Kami
  • 5,959
  • 8
  • 38
  • 51
56
votes
18 answers

UIImagePickerController and extracting EXIF data from existing photos

It's well known that UIImagePickerController doesn't return the metadata of the photo after selection. However, a couple of apps in the app store (Mobile Fotos, PixelPipe) seem to be able to read the original files and the EXIF data stored within…
tomtaylor
  • 2,309
  • 1
  • 22
  • 36
55
votes
5 answers

How accurate is Android GPS?

I thought I have read somewhere that the accuracy of Android's GPS is about 10 cm? Can anyone verify or correct this? Reason being is that my application I am trying to develop keeps track of locations a user has visited and it would help me out…
Anthony Forloney
  • 90,123
  • 14
  • 117
  • 115
54
votes
1 answer

GMSPolyline very large memory spike

In a GPS app that allows the user to display a list of complex location points that we call tracks on various different types of map, each track can consist of between 2k to 10k of location points. The tracks are copiously clipped, pruned and…
DS99
  • 581
  • 3
  • 5
53
votes
2 answers

Android MapView -setting zoom automatically until all ItemizedOverlay's are visible

hard-coding the setZoom() within onCreate() feels very antiquated and I'd like to enhance the user experience by initially having the MapView set the zoom until all GeoPoints / OverlayItems are visible on the map. How can this be done…
Someone Somewhere
  • 23,475
  • 11
  • 118
  • 166
51
votes
7 answers

How is it possible that Google Fit app measures number of steps all the time without draining battery?

The Google Fit app, when installed, measures the duration you are walking or running, and also the number of steps all the time. However, strangely, using it does not seem to drain the battery. Other apps like Moves which seems to record number of…
Randy Sugianto 'Yuku'
  • 71,383
  • 57
  • 178
  • 228
51
votes
8 answers

GPX files for iOS Simulator

Where I can find GPX files that I can import into my iOS Simulator? The iOS Simulator only contains static locations around the world and walk / bike / car drive simulations. This is not good enough for unit testing or other specific use cases. This…
Jakub
  • 13,712
  • 17
  • 82
  • 139
50
votes
2 answers

Create an Android GPS tracking application

Recently, I've taken up android development as a hobby and was looking to develop an application that can find and track a users position using Google Maps. Once the application has a GPS lock, it can track their movements by drawing a route using…
David
  • 509
  • 1
  • 5
  • 3
50
votes
6 answers

Convert from latitude, longitude to x, y

I want to convert GPS location (latitude, longitude) into x,y coordinates. I found many links about this topic and applied it, but it doesn't give me the correct answer! I am following these steps to test the answer: (1) firstly, i take two…
userInThisWorld
  • 1,361
  • 4
  • 18
  • 35
49
votes
9 answers

How many significant digits should I store in my database for a GPS coordinate?

I have in my MySQL database both longitude and latitude coordinates (GPS data). It's currently stored as: column type ------------------------ geolat decimal(10,6) geolng decimal(10,6) Question: Do I really need a data type as large as…
teddyk
  • 493
  • 1
  • 4
  • 4
46
votes
9 answers

Converting latitude and longitude to decimal values

I have GPS information presented in the form: 36°57'9" N 110°4'21" W I can use the javascript functions of Chris Veness to convert degrees, minutes and seconds to numeric degrees, but first need to parse the GPS info into the individual latitude and…
Joe Colson
45
votes
5 answers

How to trigger broadcast receiver when gps is turn on/off?

public class BootReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { if (intent.getAction().matches("android.location.PROVIDERS_CHANGED")) { Toast.makeText(context, "in…
Teekam
  • 939
  • 4
  • 14
  • 26
44
votes
9 answers

How to Get City Name by Latitude &Longitude in android?

I want to city name by current location but i have latitude and longitude.how to get it? i used button click then i get double value latitude and longitude. my code in below.please help me. Thanks!! Button btnShowLocation; GPSTracker gps; …
crickpatel0024
  • 1,999
  • 6
  • 30
  • 47
44
votes
9 answers

How to set fake GPS location on IOS real device

Currently I have to test app and set the different fake GPS locations on real IOS 7 devices. On Android I use 'My Fake Location'. Unfortunately, I didn't find the same app for IOS 7. Any ideas to solve my problem?
Maksim Alekseychik
  • 3,578
  • 5
  • 17
  • 15
42
votes
8 answers

LocationListener of NETWORK_PROVIDER is enabled but , onLocationChanged is never called

I am developing an application that gets position of the cell phone all day long in 6 and 6 minutes in a service, it works fine but sometimes the method OnLocationChanged of the Network provider listener stop to being called, and I don't know…