gps

How to show a map in an Android mapactivity

I have attached a mapview to my layout and have a it showing a compass and my current location, the problem I have is that there is no street map shown in the view, so basically I just see the compass and my current location over a blank grid. ...

How to get GPS Time on Windows Mobile 6?

Hi, How can I get the time that is not based on my PC time? I use the code below to get time and it works, but when I change my computer time, the time is no longer correct, so is there a way that I can get the actual real time but not from PC time? Maybe GPS time? private void btn_DateTime_Click(object sender, EventArgs e) {...

Latitude & Longitude from Web services

hi, i am making an application in which i have to show current location(the location which is clicked by camera)using latitude, longitude through web services on Google map & nearest location to the current location. i have done with showing current location, now i have to show which location is the nearest to location to current locati...

Taking altitude into account when calculating geodesic distance

hi there, i´m currently dealing with gps data combined with precise altitude measurement. I want to calculate the distance between two consecuting points. There is a lot of information out there about calculating distance between two points using the WGS84 ellipsoid and so on. however, i did not find any information that takes Altitud...

How to create a GPS application on Mobile phone?

For a GPS application, 1) If say the GPS application is used inside a building, I would like to know how to define or create the map ourself ? Usually the map is provided by the vendor and the map is showing the roads(big scale) if compare to inside a building(small scale). 2) How do I map the position that return by the GPS receiver ...

howto use mobilephone gps to locate a person and display on a website

Hello, my question is the following if it wasn't clear enough. I want to be able to track a person threw his/hers mobilephone and display his whereabouts on a website. I read some stuff here about safari and Iphone. What I need is a startingpoint in the sense off what is possible, and is it only possible for certain phones. I can as...

Smooth gps data

Hi, I'm working with gps data, getting values every second and displaying current position on a map. The problem is that sometimes (specially when accuracy is low) the values vary a lot, making the current position to "jump" between distant points in the map I was wondering about some easy enough method to avoid this. As a first idea,...

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 longitude strings (with NSEW suffixes). I have read related posts on stackoverflow, but...

Does anyone know where I could get free GPS data on certain types of locations for any country

I am currently building a web application server which essential would allow a client application to send it's current location and query on the server for the closet locations of a certain location type, examples of location types would be nearest payphone, nearest restaurant or nearest gas station. Does anyone know where I could get ...

CoreLocation Accuracy Woes

I have a program with a location manager set up like this: self.locationManager = [[CLLocationManager alloc] init]; [locationManager startUpdatingLocation]; locationManager.delegate = self; locationManager.distanceFilter = kCLDistanceFilterNone; locationManager.desiredAccuracy = kCLLocationAccuracyNearestTenMeters; I need the accurac...

Google analytics to track support for navigator.geolocation API?

The navigator.geolocation api for user positioning is now also supported by Firefox and not just Safari/Iphone. I suspect it will become a well suported api as more devices support positioning. Anyone know how to detect support of this api so that google analytics can chart it? ...

GPS coordinates in degrees to calculate distances

On the iPhone, I get the user's location in decimal degrees, for example: latitude 39.470920 and longitude = -0.373192; That's point A. I need to create a line with another GPS coordinate, also in decimal degrees, point B. Then, calculate the distance (perpendicular) between the line from A to B and another point C. The problem is I ge...

Why is my CLLocation speed so inaccurate?

Hello, I´m playing a bit with the iPhone SDK and I want to show the current speed in my Application. There are so many Apps that can do that really precise, espacially for low Speeds like running or biking. The Best I´ve seen is RunKeeper. But in my Application the Speed is absolutely inaccurate. In Low Speeds is always null and only a...

What is the best way to architect a "find nearest" location-aware application on the iPhone?

I would like to build a location-aware application that automatically detects a user's location and presents them a sorted list of the nearest landmarks from a landmark database. The application will be built on the iPhone. The fundamental questions are: How to calculate the distances to nearby landmarks and sort by "closest" Where to...

How accurate is CLLocation accuracy?

I'd like to use reliable locations, even on an old iphone. However, many readings (particularly from cell towers) are too inaccurate. I think. When I plot my position + accuracy radius (or look at google maps app), I notice the center of the estimated circle is generally close to my physical location. I'm guessing that if I cut the "...

Serial GPS as Speedometer

I've run into a situation where I may feel obligated to develop a simple GPS application to act as a speedometer. It'd be developed for an older PDA with CPU (162MHz ARM) and RAM (4MB) constraints talking to a serial GPS receiver. Is this a feasible project? It doesn't need to be race-accurate, but close enough to obey speed limits. Wh...

Possible to calculate closest locations via lat/long in better than O(n) time?

I'm wondering if there is an algorithm for calculating the nearest locations (represented by lat/long) in better than O(n) time. I know I could use the Haversine formula to get the distance from the reference point to each location and sort ASC, but this is inefficient for large data sets. How does the MySQL DISTANCE() function perform...

Comparing a "path" (or GPS trail) of a vehicle.

Hi Guys, I have a bit of a difficult algorithm question, I can't find any suitable algorithm from a lot of searching, so I am hoping that someone here on stackoverflow might know the answer. I have a set of x,y coordinates for a vehicle as it moves through a 2D space, the coordinates are recorded at "decision points" in the time period...

Increasing Battery Life on Windows Mobile using GPS and Web updates

I have an app that runs on Windows Mobile and uses the GPS to update its location at various intervals. As expected, enabling the GPS chip uses more battery power. (no duh..) So currently my technique has been to cycle the the GPS on/off at approx. every 4 minutes to acquire the location, do something if things changed, and update its...

Any OSTN02 libraries for Windows CE

I'm looking for either some C or C++ source library, or DLL or static libraries that will include Windows CE/Mobile verions, to convert between WGS84 geodetic coordinates and the OSTN02 grid and OSGM02 datum. For the Win32 platforms I already use the Quest libraries, but they have nothing for CE based platforms. I have looked at the Bl...