This object is in archive! 

Add correction module option for Chinese gcj02 & bd09 coordinates

liaoliao shared this idea 5 years ago
Declined

can you add correction module option for gcj02 & bd09 coordinates of Chinese maps which will only appear and take effect when Chinese language is selected? so as to facilitate the use of Chinese users, In this way, more Chinese will buy locusmap instead of using diy cracked versions for the correction

Replies (4)

photo
1

In general I like this idea, but what do you have in mind?

GCJ02 is used my most chinese map providers, as well as google.cn

BD09 is only used by Baidu-maps (which seems to be the most detailed one)

It would be great to have Baidu-map (ditu.baidu.com) or Amap (ditu.amap.com) as online maps as they provide significantly more information than e.g. Google. OSM is not allowed in China, so some parts (cities) lack details.

Using OSM / Lomaps with Chinese language will still use WGS-84 - so there is no need for conversion

photo
1

That is to correct each tile of the map source(like baidu-map or amap) , but I don't know the exact correction algorithm.

photo
1

I am using this: https://pypi.org/project/coord-convert/ - working fine

photo
1

This is an algorithm for correcting coordinates, easy to find, and I've written little conversion tools based on this algorithm, but it's not the algorithm for correcting tiles.

photo
1

hope locusmap can add correction module based on the algorithm for correcting amap or baidu-map tiles

photo
1

Yes, this would be perfect!

photo
1

^_^

photo
1

It is hoped that developers can solve the Locus Map offset correction module of GCJ02 and BD09 coordinate systems. Now more and more people in China begin to understand Locus Map and hope that Locus Map will become better and better

photo
1

it seems impossible

photo
1

Hi guys,

these corrections are only usable when using some shifted maps like google.cn or Baidu right? Or also OpenStreetMap (like LoMaps) are shifted compared to the received GNSS location as well?

If what I wrote is correct, there is currently no officially supported map in the Locus Map that needs this shift, right?

photo
1

Menion Hi, I'm glad you can reply to this article Your team should seriously consider this good suggestion. China is the most populous country in the world, and more and more people love outdoor sports these years. Locus Map is a great app, because of the deviation of Chinese map. As a result, locus Map online map function is not suitable for use in China. If this problem can be improved, it will be a good choice.

I saw an app that made improvements to China map offset

"https://www.alpinequest.net/en/help/v2/maps/china-offset#how_to_correct_offset_error_of_some_maps_over_china"

photo
1

Hi,

which of the default app maps cause problems? Online/offline LoMaps are shifted compared to reality?

photo
1

Can you refer to the following methods for online map offset? Several outdoor apps in China use this method

[2101]

Visible=true

Name=谷歌卫星图B20-谷歌S2

NetPath=https://khms{s}.google.com/kh/v=889?x={x}&y={y}&z={z}

ServerIDs=0,1,2,3

MapSpaceType=WGS84

LevelBegin=1

LevelEnd=20

BackGround=Dark

[2102]

Visible=true

Name=谷歌地形卫星图交通图20

NetPath=http://mt{s}.google.com/vt/lyrs=y,t&hl=zh-CN&gl=cn&scale=2&x={x}&y={y}&z={z}

ServerIDs=0,1,2,3

MapSpaceType=GCJ02

LevelBegin=1

LevelEnd=20

BackGround=Dark

photo
1

Hello,

Google Maps "Terms of use" does not allow usage in apps like Locus Map, sorry. In case, anyone use it, he does it on own risk. Thanks for understanding.

Jiří M. aka Menion

photo
1

Menion Hello,

I am also a user from China. The problem mentioned by the friend above is indeed bothering us Chinese users. The Chinese map GCJ02 is fast and the content is richer but offset. The foreign map WGS84 does not offset the network because the loading is very slow. Content and information are not Comprehensive, hope to improve in future moderators. I have a suggestion to add the harmonyos version to Huawei's HMS

photo
2

GCJ02 is used by most chinese map providers, as well as google.cn

BD09 is only used by Baidu-maps (which seems to be the most detailed one)

It would be great to have Baidu-map (ditu.baidu.com) or Amap (ditu.amap.com) as online maps available in Locus as they provide significantly more information than e.g. Google.

OSM is not allowed in China, so some parts (cities) lack details.

Using OSM / Lomaps with Chinese language will still use WGS-84 - so there is no need for conversion

photo
1

Hi, thanks. Yes, you wrote this before, but I was asking for confirmation that "no officially supported map in the Locus Map that needs this shift". If so, then this task should be useful only for custom user-added maps.

So this task seems to be more about adding "Baidu" maps with correct offset for the map tiles. To do this officially is currently impossible because as I see, there is no official API from the Baidu server to provide map tiles to 3rd party providers. Correct me if I'm wrong of course.

Sorry, the idea declined because there does not seem to be any useful official usage.

Jiří M. aka Menion

photo
2

yes, there is no official API, but open source code exists —— https://pypi.org/project/coord-convert/

so,adding this feature is very simple;

however,this feature is only useful for users in mainland China;(amap / tencent map / baidu map has more details and higher update frequency )

Replies have been locked on this page!