gps

高德在提升定位精度方面的探索和实践

余生长醉 提交于 2019-12-02 02:12:28
2019杭州云栖大会上,高德地图技术团队向与会者分享了包括视觉与机器智能、路线规划、场景化/精细化定位时空数据应用、亿级流量架构演进等多个出行技术领域的热门话题。现场火爆,听众反响强烈。我们把其中的优秀演讲内容整理成文并陆续发布出来,本文为其中一篇。 阿里巴巴高级地图技术专家方兴在高德技术专场做了题为 《向场景化、精细化演进的定位技术》 的演讲,主要分享了高德在提升定位精度方面的探索和实践,本文根据现场内容整理而成(在不影响原意的情况下对文字略作编辑),更多定位技术的实现细节请关注后续系列文章。 以下为方兴演讲内容的简版实录: 今天要分享的主题是关于定位的场景化、精细化。高德定位,并不只是服务于高德地图本身,而是面向所有的应用开发者和手机设备厂商提供定位服务。目前已有30万以上的APP在使用高德的定位服务。 用户每天会大量使用定位服务,比如看新闻、打车、订外卖,甚至是购物,首先都是要获得位置信息,有了更精准的位置信息,才可能获得更好的服务体验。 高德地图有超过1亿的日活用户,但是使用定位的有好几个亿,每天的定位请求数量有一千亿次。如此大的数据量,高德定位服务可以保持毫秒级的响应速度,我们在这里面做了很多工作。此外,我们还提供全场景的定位能力,不管为手机、车机还是任何厂家,都能提供位置服务。 我今天从四个方面介绍,分别是: 定位面临的挑战 高德地图全场景定位 分场景提升定位精度

Get twelve digits after decimal for latitude and longitude

£可爱£侵袭症+ 提交于 2019-12-02 01:45:50
问题 I have an application in which I have to get user's current location from latitude and longitude. For both the values, I have to get 12 digits after decimal. This is the gps tracker class for getting the user location: public class GPSTracker extends Service implements LocationListener { private final Context mContext; // flag for GPS status boolean isGPSEnabled = false; // flag for network status boolean isNetworkEnabled = false; // flag for GPS status boolean canGetLocation = false;

Android : Service restarting automatically

喜欢而已 提交于 2019-12-02 01:40:42
I'm working with a service which saves GPS latlng's continiously But many times the service is getting restarted automatically, which results in data loss... so is there any way that we can restrict the service from restarting. or any idea to clear this issue. You can create a new process for the service by mentioning it in the Manifest file as android:process=":newservice" Inside the service tag You can do couple of things. 1) detach any UI life-cycle components, preferably switch your service to a :remote process, using the manifest. This way if your activity crashes/gets killed, your

Get twelve digits after decimal for latitude and longitude

旧巷老猫 提交于 2019-12-02 01:39:11
I have an application in which I have to get user's current location from latitude and longitude. For both the values, I have to get 12 digits after decimal. This is the gps tracker class for getting the user location: public class GPSTracker extends Service implements LocationListener { private final Context mContext; // flag for GPS status boolean isGPSEnabled = false; // flag for network status boolean isNetworkEnabled = false; // flag for GPS status boolean canGetLocation = false; Location location; // location double latitude; // latitude double longitude; // longitude private String

Broadcast receiver for GPS state?

邮差的信 提交于 2019-12-02 01:34:08
Is there a way to be notified when the GPS is switched on/off? I noticed that when the device is switched off an then on again, getLastKnownLocation(provider) is null. So I want to save the location when the GPS is switched off to a database. Register a BroadcastReceiver to listen for the LocationManager's PROVIDERS_CHANGED_ACTION Intent. This will be broadcast when the GPS provider (and other providers) is enabled / disabled. 来源: https://stackoverflow.com/questions/11446428/broadcast-receiver-for-gps-state

Geting Speed From GPS on Android Calculating Distance And Time

混江龙づ霸主 提交于 2019-12-02 01:25:55
问题 I have been trying to get speed by the help of GPS. I would like to get Gps datas(latitude-longitude-speed) when my telephone fell down. When telephone fell down, gps datas are obtained and sent to my server. For this aim, I used threads. Each thread get gps datas and send to server them. My problem is speed value. I got speed calculating distance between two location and time (speed = distance / time) Thread makes : @Override public void run() { Looper.prepare(); float distance = 0.0f; float

What is active GPS effect on mobile devices battery life?

微笑、不失礼 提交于 2019-12-02 00:56:49
问题 How much does active GPS drain the battery? Without the overhead of the gps navigator software. s ay I want to sample the gps every 2 minutes and save it to a file. how much battery power will that cost me? Will I get 10% shorter life? 20%? ..? 回答1: I think this can't be answered that easy without measuring it. But you could measure it. Just try how long it takes to empty the whole battery. Once with GPS and once without. 回答2: It will be noticeable by the user. You definitely don't want to do

How to read GPS Coordinates from JPG EXIF using CCR.EXIF in Delphi?

风格不统一 提交于 2019-12-02 00:51:53
问题 It's quite easy setting the GPS coordinates using the GPSLatitude and GPSLatitude properties Assign method, but reading the coords has me stumped. I've trying to access the TGPSLongitude class, but none of the properties or methods would render me a real / float or even DMS of the coordinates. Sample image: http://www.cde.co.za/share/IMG_5889.JPG My current code that's not compiling: imgJpg: TJpegImageEx; GPS_D: Real; try imgJpg.LoadFromFile(FolderName+'\'+SR.Name); GPS_D:= imgJpg.ExifData

Restricting plot to shapefile boundaries in r

假装没事ソ 提交于 2019-12-01 22:28:33
I have analysed a dataset of GPS points using density.ppp to generate a sort of heatmap of intensity of the points, as shown below: However, I would like the image to be limited to the borders of the shapefile, similar to below: The first image is called as x <- readShapePoly("dk.shp") xlim<-c(min(912),max(920)) ylim<-c(min(8023),max(8030)) a<-ppp(cases@coords[,1], cases@coords[,2], xlim, ylim, unitname=c("km")) plot(density.ppp(a, 0.1), col=COLORS) plot(x, add=T, border="white") where cases@coords are the GPS coordinates of each point of interest, and x is a shapefile which provides the