gps

GPS/GIS Calculations: Algorithm to predict future position based on movement/mph?

╄→尐↘猪︶ㄣ 提交于 2019-12-20 12:40:55
问题 Looking for resources or algorithm to calculate the following in a navigation app: If my current GPS position is (0,0) and I'm heading 32 degrees at 15 miles per hour, how can I calculate what my position will be in 10 seconds? i.e.: GPSCoordinate predictedCoord = GPSCoordinate.FromLatLong(0, 0).AddByMovement(32, 15, TimeSpan.FromSeconds(10)); Edit: Current code based on answer below: public GPSCoordinate AddMovementMilesPerHour(double heading, double speedMph, TimeSpan duration) { double x =

API, dev specs or similar for TK102 GPS localizer

拟墨画扇 提交于 2019-12-20 10:58:56
问题 I'm using a TK102 GPS localizer. Along with it, I got only simple end-user docs. No API, dev specs or similar for writing code that will use this localizer. I was told that it uses UDP. So I wrote a simple PHP listener. But either localizer is not using UDP or something is wrong in communication between it and server. Listener works fine (gets UDP packets from other clients) and localizer is sending something (I'm being charge by GSM operator for GPRS transmission), but the data it sends,

Locate an iPhone reliably indoors?

自闭症网瘾萝莉.ら 提交于 2019-12-20 10:56:08
问题 I'm writing an app for a museum tour. I'd like my app to know where the user is in the building, if the user is standing in a particular room, in front of a particular work, etc. GPS doesn't work inside. (Using WiFi positioning could work, but I know Apple doesn't use Skyhook anymore, so I don't know where I would register my base stations.) Since GPS won't work, it would seem like having a specialized device in a known location and having the app detect that device, could work. But based on

get location on iphone ONLY from the GPS - not the wifi network

扶醉桌前 提交于 2019-12-20 10:26:43
问题 i am creating an app that uses location- everything works swimmingly except one thing- when i come home my iphone connects to my local wifi network and instead of getting my location using the gps in the phone it tries to get it by figuring out where my wifi network is connected to- if i turn my wifi off it keeps an accurate location point- as soon as my phone is connected to my wifi network it starts telling me my location is several km/miles from my actual point. i would like my app NOT to

Latitude Longitude in wrong format DDDMM.MMMM 2832.3396N

徘徊边缘 提交于 2019-12-20 10:05:16
问题 I have a gps module that gives me latitude in longitude in a weird format. DDDMM.MMMM As written on user manual, Degrees*100 + Minutes. As far as I know, It is degrees minutes seconds, and seconds is between 0-59, above than this will increment the minute. But this is giving minutes in decimal places. Does this means 1/1000th of a minute? eg. 07717.3644 E 077 --> degrees 17 --> minutes 3644 --> ? E --> Direction Also how will I convert it to decimal, I am using the formula decimal = degrees +

Check if 'Access to my location' is enabled - Android

左心房为你撑大大i 提交于 2019-12-20 09:57:09
问题 I have an android app that uses location. But I noticed that if users disable the 'Access to my location' in Settings > Location access, nothing works anymore. How can I check that it's enabled? In case it's disabled, how to open those settings from my app? Thanks SOLVED : String locationProviders = Settings.Secure.getString(getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED); if (locationProviders == null || locationProviders.equals("")) { ... startActivity(new Intent(Settings

How to store 800 billion GPS markers in database [closed]

烈酒焚心 提交于 2019-12-20 09:56:40
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I need to store GPS tracks that users record into a database. The tracks will consist of a marker every 5 meter of movement for the

GMSPolyline very large memory spike

跟風遠走 提交于 2019-12-20 09:48:14
问题 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 path-simplified when they are rendered on non-Google map types. This is to keep memory usage down and performance up. We typically only wind up submitting far less than a thousand (aggregate) transformed location points to the OpenGL pipeline, even in

iOS augmented reality with compass and location

好久不见. 提交于 2019-12-20 09:45:46
问题 I'm trying to develop a mini "Around Me" like using camera, compass and location. I would like to display place's images on my screen. For the moment I have my location and my orientation with compass. I would like to know how can I determine the position of the place I want to display. Thanks for your help ;) 回答1: Once you have relative distance and bearing, which you can determine from two points in the same coordinate space using algorithms found on this page, figuring out where a known

How to get GPS Coordinates from all the users of my application?

淺唱寂寞╮ 提交于 2019-12-20 09:13:43
问题 Explanation/Scenario: I am developing a app that needs to get in real-time(like 3sec's update) the location of all users of mine app, and these users knowing that, too, will see the another users location, in a map, for example: This location, needs to be in real-time, because all of the users have access to the map, they need to know where are the users of the app, in the exact moment, to find them selves. Question: What i need to do to make my application get in real time the location of