gps

Create 'heat map' from GPS data in matlab

泄露秘密 提交于 2019-12-04 19:25:07
I have a bunch of GPS-data from a soccer game (as a referee). I would like to create a heat map, so that it is clear where you spent most of the time in the field. So this means a red color when there are a lot of dots close to each other and blue color when there are no dots or the dots are far from each other. Someone an idea how to do this in Matlab? You can use the dscatter file written by Robert Henson. Sample example: addpath(genpath('../src_plot')); X = randn(1000,1); Y = randn(1000,1); dscatter(X, Y, 'plottype', 'image'); colormap('jet') You can use 'surf' , 'mesh' , 'contour' instead

Determining path user is on based on GPS location

一个人想着一个人 提交于 2019-12-04 19:22:19
I'm writing an app that takes advantage of GPS information to determine what road/trail (or "way" in OpenStreetMaps terms) a user is on. Ways in OSM do not include width information, just a series of points connected together, so it isn't a matter of figuring out which poly box a GPS coordinate is in. The information I have is the list of points that define the trail as it bends (if it was just a straight trail, could be 2 points 1/2 mile apart). These trails are usually separated by tree-lines (say 50-300m apart) and there can be lots of them within a park so accuracy without width

location.getSpeed() not coming for Marshmallow, using Fused Location API

回眸只為那壹抹淺笑 提交于 2019-12-04 19:16:47
I'm using Fused Location API in my app ( getLatitude() , getLongitude() , getSpeed() , getElevation() , and distanceTo() ). It was working fine until I updated my phone (Moto X2 2014) to Marshmallow. Now I don't receive speed in the location object in my app, rest methods are responding normally. However, if I run navigation on google maps in the background, I seem to receive speed inside my app as well. Also, my app seems to work without any issues on Nexus 5X (Marshmallow) and other below API 23 phones. What could be the problem? Has anyone faced something similar before? On devices running

Android emulator, Finding mock user location coordinates. Having problems

百般思念 提交于 2019-12-04 19:14:39
Hey guys, I'm having trouble trying to find the user's longitude and location as I run my program and set the telnet command for geo fix for the mock location. While the emulator is running, I set the mock coordinates only for the emulator to become unresponsive and have my program fail in detecting the input coordinates. import android.app.Activity; import android.content.Context; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.location.LocationProvider; import android.os.Bundle; import android.widget.TextView

Access to the ANT Wireless and GPS receiver modules in iPhone/iPod Touch

夙愿已清 提交于 2019-12-04 18:56:25
I'm an iPhone/iPod-touch newbie, and would like to write an iPhone application utilizing the built-in ANT wireless radio. As I found out both the iPhone and iPod Touch have an ANT wireless module, that is used in the Nike+iPod Sport Kit to connect the Nike sensor with the iPhone/iPod. After some googleing, I didn't find much (one article was interesting, but not what I'm looking for). So my questions: Is it possible to access the built-in ANT Wireless device in iPhone/iPod Touch? Is it possible to access the built-in GPS module in iPhone? Are there some APIs or SDKs that provide access to the

Get GPS Coordinates : Android

丶灬走出姿态 提交于 2019-12-04 18:45:49
问题 I'm new to Android development. As a class assignment another student and myself are making an android app that will utilize GPS coordinates. Is there anywhere that would be a good place for me to start with GPS feature on Android, or that has a good example of how to use GPS? I don't want anything deep, literally just how to retrieve and use current GPS coordinates. I'd like to start simple and build up from there. 回答1: Well mostly GPS coordinates are used along with Google Maps. So, as a

How can i query in mysql-table(where lat and long stored) that which are the nearest location to inputed location(lat and long)?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-04 18:38:50
I want to make an application in android. In this app user have to register in this app. With the registration the gps location(lat and long) will store in database table with user info. In this app i want to add a functionality that is "Search People who are in Root". User can input starting point and ending point(like : Mumbai to Delhi). And every peoples between this two point want to be found. For Example : User-A have newly registered in this app. User-A's gps location is like lat = 20.234554 and long = 56.21455255. Now he will input two point like mumbai to delhi and click search button.

Codename one GPS provider and current location

十年热恋 提交于 2019-12-04 18:27:39
I am working on an iOS app with codename one . I want to get the current location and send it by SMS. I got this code from Java Android Studio, I don't know how to get the current location and also check if GPS is turned on. I tried below, but without success (I'm not sure how they start the GPS and get the location) LocationManager service = (LocationManager) getSystemService(LOCATION_SERVICE); boolean enabledGPS = service.isProviderEnabled(LocationManager.GPS_PROVIDER); if (!enabledGPS) { //alert GPS is off } LocationManager locationManager = (LocationManager) getSystemService(Context

Follow user location on google maps

老子叫甜甜 提交于 2019-12-04 18:16:15
I have google maps sdk on ios and enabled userlocation = yes. I want to get the user location via GPS when he moves. I could not find any method in document that returns me location updates as the user keeps moving. I want to keep my user in center of the screen by continuously then updating the camera using these location. Any points on this? There is a method didchangecameraposition which updates when i apply gestures on maps, but not when the gps gets updated. You cannot do it totally with the Google maps SDK, you got to use the CLLocationManger framework to get the location updates.

Read data from an USB-GPS-Receiver

北慕城南 提交于 2019-12-04 18:11:32
I'm wondering how difficult it is to read positioning data from an USB GPS Receiver (also known as "USB Mouse"). Is there some kind of ready-to-use API in .NET (like it is in mobile platforms like Android/WP7 etc.) which works because the GPS device's driver integrates much into Windows or is this some annyoing pinvoke stuff that depends on the GPS device? Any experience? Ryan Shyffer Typically a GPS device shows up as a virtual com port. You should see it listed in com ports in the device manager. Nearly every GPS sends data to the computer using standard NMEA 0183 messages, you just need a