pbootcms网站模板|日韩1区2区|织梦模板||网站源码|日韩1区2区|jquery建站特效-html5模板网

    <i id='of5XX'><tr id='of5XX'><dt id='of5XX'><q id='of5XX'><span id='of5XX'><b id='of5XX'><form id='of5XX'><ins id='of5XX'></ins><ul id='of5XX'></ul><sub id='of5XX'></sub></form><legend id='of5XX'></legend><bdo id='of5XX'><pre id='of5XX'><center id='of5XX'></center></pre></bdo></b><th id='of5XX'></th></span></q></dt></tr></i><div class="ueaqsoa" id='of5XX'><tfoot id='of5XX'></tfoot><dl id='of5XX'><fieldset id='of5XX'></fieldset></dl></div>

    <small id='of5XX'></small><noframes id='of5XX'>

      <bdo id='of5XX'></bdo><ul id='of5XX'></ul>
    <legend id='of5XX'><style id='of5XX'><dir id='of5XX'><q id='of5XX'></q></dir></style></legend>
  1. <tfoot id='of5XX'></tfoot>

    1. Android GPS 坐標分散

      Android GPS Coordinates Scattered(Android GPS 坐標分散)
      <i id='0wlPp'><tr id='0wlPp'><dt id='0wlPp'><q id='0wlPp'><span id='0wlPp'><b id='0wlPp'><form id='0wlPp'><ins id='0wlPp'></ins><ul id='0wlPp'></ul><sub id='0wlPp'></sub></form><legend id='0wlPp'></legend><bdo id='0wlPp'><pre id='0wlPp'><center id='0wlPp'></center></pre></bdo></b><th id='0wlPp'></th></span></q></dt></tr></i><div class="eiw2qek" id='0wlPp'><tfoot id='0wlPp'></tfoot><dl id='0wlPp'><fieldset id='0wlPp'></fieldset></dl></div>

    2. <legend id='0wlPp'><style id='0wlPp'><dir id='0wlPp'><q id='0wlPp'></q></dir></style></legend>

      <small id='0wlPp'></small><noframes id='0wlPp'>

      <tfoot id='0wlPp'></tfoot>

            <bdo id='0wlPp'></bdo><ul id='0wlPp'></ul>

                <tbody id='0wlPp'></tbody>
                本文介紹了Android GPS 坐標分散的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                下面的代碼似乎工作正常:

                <塊引用>

                //GPS 閱讀器//標準標準標準 = 新標準();//criteria.setAccuracy(Criteria.ACCURACY_COARSE);//當我們無法獲得 GPS 定位時使用標準.setAccuracy(標準.ACCURACY_FINE);//當我們可以獲得 GPS 定位時使用標準.setAltitudeRequired(false);標準.setBearingRequired(false);標準.setCostAllowed(true);標準.setPowerRequirement(Criteria.POWER_LOW);LocationListener locationListener = new MyLocationListener();LocationManager lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE);lm.requestLocationUpdates(lm.getBestProvider(criteria, true), 0, 0,位置監聽器);

                但是,當我在 Google 地圖上繪制我收集的數據時,GPS 坐標在某些情況下非常分散,或者它會沿著我正在行走的路徑前進,然后突然跳轉到一個點一英里外然后回來.有沒有什么辦法解決這一問題?我猜是某種準確性檢查?

                更新:

                基本上我的問題看起來像這樣 - GPS抖動

                更新 2:

                我考慮過不要把它作為賞金,但我想我不妨完全了解這里發生的事情,看看我的方法是否過度殺戮.盡管我的精度為 3m 等,但我仍然遇到同樣的問題,即我的坐標中有抖動.現在這可能是可用的衛星等.我不知道,但基本上我想了解如何所有這些其他應用程序,尤其是運動應用程序,是否能夠在相同的情況下獲得如此流暢的讀數.

                我在 Quora 上找到了這個 是否有任何正在運行的應用程序具有過濾 GPS 數據以獲得更準確跟蹤的功能? 不幸的是,它并沒有提供太多洞察力進入我的問題,除非您可以根據需要使用卡爾曼濾波器,但肯定必須有不太復雜的方法,因為我懷疑大多數應用程序都實現了這一點.

                無論如何,如果有開發人員想分享他們正在做的一些偽代碼,我們將不勝感激.我的意思是,如果我堅持使用 Kalman,我會堅持下去,但我確信必須有更容易實現的算法,并且希望學習這些算法以及如何實現它們,這很合適.

                上下文:這是一個移動行人應用程序.

                我試圖從中收集信息的相關 SO 問題從一系列 GPS 坐標創建平滑曲線平滑 gps 數據:這是一個好的開始,雖然我不確定我需要實現什么偽代碼正確地讓最小二乘擬合正常工作,這樣我就可以得到一個樣條 GPS 數據,然后我可以在谷歌地圖之類的東西上查看它,以確認我做得正確.我認為問題在于,如果這是我正在處理的一般 X 和 Y 數據,而不是 GEO 坐標,我可以在 matlab 中寫一些東西來測試它,然后繼續.

                更新 3

                我收到的混亂 GPS 數據的圖像https://www.dropbox.com/s/ilsf8snao2no65e/gpsdata2.png

                代碼https://gist.github.com/4505688

                解決方案

                您得到的是因為您的標準將最佳提供商標識為 NETWORK_PROVIDER.它不會識別您的位置,而是為您提供覆蓋您設備的手機信號塔的位置.因此,當您在任何建筑物之外時,最好使用 GPS_PROVIDER 來獲得精確的地理位置.為什么你得到分散的坐標是因為你的設備進入了另一個蜂窩塔的范圍,因此發生了位置跳躍.直接使用 GPS_PROVIDER 是您將獲得的最佳解決方案.

                I have the following code below which seems to be working fine:

                    // GPS Reader
                    // Criteria
                    Criteria criteria = new Criteria();
                    //criteria.setAccuracy(Criteria.ACCURACY_COARSE); // Used when we can't get a GPS Fix
                    criteria.setAccuracy(Criteria.ACCURACY_FINE); // Used when we can get a GPS Fix
                
                    criteria.setAltitudeRequired(false);
                    criteria.setBearingRequired(false);
                    criteria.setCostAllowed(true);
                    criteria.setPowerRequirement(Criteria.POWER_LOW);
                
                    LocationListener locationListener = new MyLocationListener();
                    LocationManager lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
                    lm.requestLocationUpdates(lm.getBestProvider(criteria, true), 0, 0,
                            locationListener);
                

                However, when I graph the data I have collected on Google maps, the GPS coordinates are very scattered in some instances, or it will be going along a path I am walking just find and then all of the sudden jump to a point a mile away and then back. Is there any way to fix this? Some sort of accuracy check I guess?

                Update:

                Basically my problem looks like this as an example - GPS Jitter

                Update 2:

                I considered not making this a bounty but I figured I might as well get a complete understanding of what is going on here, and see if maybe my approach is over kill. I still have the same problem that my coordinates have jitter in them despite the fact that I have accuracies of 3m, etc. Now this could be to available satellites, etc. I don't know, but basically I'm trying to understand how are all these other applications, especially the exercise apps, able to get such smooth readings under the same circumstances.

                I was on Quora and was able to find this Does any running app have a feature of filtering GPS data to get more accurate tracking? Unfortunately it didn't give much insight into my problem, except you can use a Kalman filter if you want, but surely there has to be less complex means, since I doubt most apps out there are implementing this.

                Anyways if a fellow developer would like to share what they are doing with some pseudocode that would be greatly appreciated. I mean if I'm stuck with Kalman I am, but I am sure there have to be easier to implement algorithms, and would hope to learn those and how to implement them, that are decent fits.

                Context: This is a mobile pedestrian application.

                Relevant SO Questions I have tried to glean information from Create a smooth curve from a series of GPS coordinates Smooth gps data : This was a good start, though I am not sure what pseudocode I would need to implement to properly get the Least Squares Fit to work appropriately so that I will have a splines GPS data which I can then view on something like google maps to confirm I did it correctly. I think the issue is if this was general X and Y data I was dealing with, and not GEO coordinates, I could write something up in matlab test it, and go on.

                Update 3

                An image of the messed up GPS data I am recieving https://www.dropbox.com/s/ilsf8snao2no65e/gpsdata2.png

                Code https://gist.github.com/4505688

                解決方案

                What you are getting is because your criteria identifies best provider as NETWORK_PROVIDER. Which does not identify your location but instead gives you the location of the cell tower whose range covers your device.So when you are outside of any building it is better to use GPS_PROVIDER to get fine accuracy of Geo locations.Why you get scattered co-ordinate is because your device comes to range of another cell tower hence location jump happens. Directly use GPS_PROVIDER is the best solution you will ever get.

                這篇關于Android GPS 坐標分散的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                Help calculating X and Y from Latitude and Longitude in iPhone(幫助從 iPhone 中的緯度和經度計算 X 和 Y)
                Get user#39;s current location using GPS(使用 GPS 獲取用戶的當前位置)
                IllegalArgumentException thrown by requestLocationUpdate()(requestLocationUpdate() 拋出的 IllegalArgumentException)
                How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新一次?)
                CLLocation returning negative speed(CLLocation 返回負速度)
                How to detect Location Provider ? GPS or Network Provider(如何檢測位置提供者?GPS 或網絡提供商)
                <legend id='3dDek'><style id='3dDek'><dir id='3dDek'><q id='3dDek'></q></dir></style></legend>

                • <i id='3dDek'><tr id='3dDek'><dt id='3dDek'><q id='3dDek'><span id='3dDek'><b id='3dDek'><form id='3dDek'><ins id='3dDek'></ins><ul id='3dDek'></ul><sub id='3dDek'></sub></form><legend id='3dDek'></legend><bdo id='3dDek'><pre id='3dDek'><center id='3dDek'></center></pre></bdo></b><th id='3dDek'></th></span></q></dt></tr></i><div class="q2gsuqg" id='3dDek'><tfoot id='3dDek'></tfoot><dl id='3dDek'><fieldset id='3dDek'></fieldset></dl></div>

                        <bdo id='3dDek'></bdo><ul id='3dDek'></ul>

                      • <small id='3dDek'></small><noframes id='3dDek'>

                        • <tfoot id='3dDek'></tfoot>
                            <tbody id='3dDek'></tbody>
                          主站蜘蛛池模板: 重庆网站建设,重庆网站设计,重庆网站制作,重庆seo,重庆做网站,重庆seo,重庆公众号运营,重庆小程序开发 | 郑州外墙清洗_郑州玻璃幕墙清洗_郑州开荒保洁-河南三恒清洗服务有限公司 | 合肥网带炉_安徽箱式炉_钟罩炉-合肥品炙装备科技有限公司 | 大型多片锯,圆木多片锯,方木多片锯,板材多片锯-祥富机械有限公司 | 亳州网络公司 - 亳州网站制作 - 亳州网站建设 - 亳州易天科技 | 悬浮拼装地板_篮球场木地板翻新_运动木地板价格-上海越禾运动地板厂家 | 蜂窝块状沸石分子筛-吸附脱硫分子筛-萍乡市捷龙环保科技有限公司 | 口臭的治疗方法,口臭怎么办,怎么除口臭,口臭的原因-口臭治疗网 | 24位ADC|8位MCU-芯易德科技有限公司 | 减速机三参数组合探头|TSM803|壁挂式氧化锆分析仪探头-安徽鹏宸电气有限公司 | 真空泵厂家_真空泵机组_水环泵_旋片泵_罗茨泵_耐腐蚀防爆_中德制泵 | 法钢特种钢材(上海)有限公司 - 耐磨钢板、高强度钢板销售加工 阀门智能定位器_电液动执行器_气动执行机构-赫尔法流体技术(北京)有限公司 | 冷水机-工业冷水机-冷水机组-欧科隆品牌保障 | 深圳市万色印象美业有限公司 | 工业CT-无锡璟能智能仪器有限公司 | 精密线材测试仪-电线电缆检测仪-苏州欣硕电子科技有限公司 | 挨踢网-大家的导航!| 交联度测试仪-湿漏电流测试仪-双85恒温恒湿试验箱-常州市科迈实验仪器有限公司 | 冷却塔改造厂家_不锈钢冷却塔_玻璃钢冷却塔改造维修-广东特菱节能空调设备有限公司 | 酶联免疫分析仪-多管旋涡混合仪|混合器-莱普特科学仪器(北京)有限公司 | 电线电缆厂家|沈阳电缆厂|电线厂|沈阳英联塑力线缆有限公司 | 武汉高低温试验箱_恒温恒湿试验箱厂家-武汉蓝锐环境科技有限公司 | 南方珠江-南方一线电缆-南方珠江科技电缆-南方珠江科技有限公司 南汇8424西瓜_南汇玉菇甜瓜-南汇水蜜桃价格 | 国产频谱分析仪-国产网络分析仪-上海坚融实业有限公司 | 包装设计公司,产品包装设计|包装制作,包装盒定制厂家-汇包装【官方网站】 | 油漆辅料厂家_阴阳脚线_艺术漆厂家_内外墙涂料施工_乳胶漆专用防霉腻子粉_轻质粉刷石膏-魔法涂涂 | 英国公司注册-新加坡公司注册-香港公司开户-离岸公司账户-杭州商标注册-杭州优创企业 | 气动隔膜泵厂家-温州永嘉定远泵阀有限公司 | 天津电机维修|水泵维修-天津晟佳机电设备有限公司 | 真空干燥烘箱_鼓风干燥箱 _高低温恒温恒湿试验箱_光照二氧化碳恒温培养箱-上海航佩仪器 | 防爆正压柜厂家_防爆配电箱_防爆控制箱_防爆空调_-盛通防爆 | 不锈钢复合板|钛复合板|金属复合板|南钢集团安徽金元素复合材料有限公司-官网 | 干洗店加盟_洗衣店加盟_干洗店设备-伊蔻干洗「武汉总部」 | 伸缩器_伸缩接头_传力接头-巩义市润达管道设备制造有限公司 | 杭州营业执照代办-公司变更价格-许可证办理流程_杭州福道财务管理咨询有限公司 | 贵州成人高考网_贵州成考网 | 移动厕所租赁|移动卫生间|上海移动厕所租赁-家瑞租赁 | 发光字|标识设计|标牌制作|精神堡垒 - 江苏苏通广告有限公司 | 美国PARKER齿轮泵,美国PARKER柱塞泵,美国PARKER叶片泵,美国PARKER电磁阀,美国PARKER比例阀-上海维特锐实业发展有限公司二部 | 台式低速离心机-脱泡离心机-菌种摇床-常州市万丰仪器制造有限公司 | GAST/BRIWATEC/CINCINNATI/KARL-KLEIN/ZIEHL-ABEGG风机|亚喜科技 |