Skip to content

WGS-84世界标准坐标、GCJ-02中国国测局(火星坐标)、BD-09百度坐标系转换

Notifications You must be signed in to change notification settings

goozi/JZLocationConverter-for-Android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

JZLocationConverter-for-Android

java 或者 android版本的JZLocationConverter,IOS版本请看https://github.com/JackZhouCn/JZLocationConverter

世界标准地理坐标(WGS-84) 转换成 中国国测局地理坐标(GCJ-02)<火星坐标>

只在中国大陆的范围的坐标有效,以外直接返回世界标准坐标

public static LatLng wgs84ToGcj02(LatLng location);

中国国测局地理坐标(GCJ-02) 转换成 世界标准地理坐标(WGS-84)

(此接口有1-2米左右的误差,需要精确定位情景慎用)

public static LatLng gcj02ToWgs84(LatLng location);

世界标准地理坐标(WGS-84) 转换成 百度地理坐标(BD-09)

public static LatLng wgs84ToBd09(LatLng location);

中国国测局地理坐标(GCJ-02)<火星坐标> 转换成 百度地理坐标(BD-09)

public static LatLng gcj02ToBd09(LatLng location) ;

百度地理坐标(BD-09) 转换成 中国国测局地理坐标(GCJ-02)<火星坐标>

public static LatLng bd09ToGcj02(LatLng location);

百度地理坐标(BD-09) 转换成 世界标准地理坐标(WGS-84)

此接口有1-2米左右的误差,需要精确定位情景慎用

public static LatLng bd09ToWgs84(LatLng location);

About

WGS-84世界标准坐标、GCJ-02中国国测局(火星坐标)、BD-09百度坐标系转换

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%