ha-inkwavemap icon indicating copy to clipboard operation
ha-inkwavemap copied to clipboard

GPS定位差了数百公里

Open netfun2000 opened this issue 7 years ago • 8 comments

GPS定位差了数百公里

netfun2000 avatar Jan 20 '18 07:01 netfun2000

你使用的是谷歌地球坐标吗?不是地图。

cxlwill avatar Jan 20 '18 07:01 cxlwill

GPS吧,我HA我没做修改,使用手机上传的位置信息。

netfun2000 avatar Jan 20 '18 07:01 netfun2000

如果返回的坐标系原本就是高德地图的,那岂不是会有偏移? 我现在遇到了一个问题,某个设备返回的坐标不是谷歌地球坐标系的,而是高德的。结果在地图里面显示也出现严重的偏移。。。。我已通过api接口实现了坐标的换算。但不知道怎么直接将换算的结果导入到此地图中去?

plutosherry avatar Jun 29 '18 09:06 plutosherry

确实会有这个问题,HA 水土不服的表现,方便告知是哪款设备吗?

cxlwill avatar Sep 14 '18 15:09 cxlwill

@cxlwill 宝马车的定位坐标系用的是高德坐标系,通过API返回的高德坐标显示到百度地图中之后出现了严重偏移。。。。

plutosherry avatar Sep 15 '18 04:09 plutosherry

是宝马的那个组件吗?

cxlwill avatar Sep 15 '18 04:09 cxlwill

是这样的。bmw_connected_drive 调用了之后,获取的坐标是高德的,待显示到百度地图的插件中就飘了。。。

plutosherry avatar Sep 15 '18 08:09 plutosherry

本质原因就是进行了双重纠偏,这个现在基本上无解。动一个就要动全部。

cxlwill avatar Oct 14 '18 02:10 cxlwill