GPS坐标转换工具 GPS Coordinate Conversion Tools

提供GCJ02坐标系与WGS84坐标系互转,以及GPS坐标格式转换功能 Provides GCJ02 to WGS84 coordinate system conversion and GPS coordinate format conversion

特别说明 Disclaimer

本工具的坐标转换过程严格按照公式进行计算,但由于坐标系转换的复杂性和简化模型的局限性,转换结果可能存在一定误差。 The coordinate conversion process of this tool is strictly calculated according to the formula, but due to the complexity of coordinate system conversion and the limitations of the simplified model, there may be certain errors in the conversion results.

使用本工具时,请务必自行核对转换结果。本工具不适用于对GPS精准度有较高要求的场景,如导航、测绘等专业用途。 When using this tool, please be sure to check the conversion results yourself. This tool is not suitable for scenarios with high GPS accuracy requirements, such as navigation, surveying and mapping and other professional purposes.

1. GCJ02坐标系与WGS84坐标系转换 1. GCJ02 to WGS84 Coordinate System Conversion

GCJ02 → WGS84 GCJ02 → WGS84

转换结果 Conversion Result

WGS84纬度: WGS84 Latitude:

WGS84经度: WGS84 Longitude:

WGS84 → GCJ02 WGS84 → GCJ02

转换结果 Conversion Result

GCJ02纬度: GCJ02 Latitude:

GCJ02经度: GCJ02 Longitude:

转换公式 Conversion Formula

GCJ02坐标系与WGS84坐标系之间的转换采用简化的布尔莎模型,公式如下: The conversion between GCJ02 and WGS84 coordinate systems uses a simplified Bursa-Wolf model, with the following formula:

// GCJ02 → WGS84
WGS84_Lat = GCJ02_Lat - 0.0068197
WGS84_Lon = GCJ02_Lon - 0.0067498

// WGS84 → GCJ02
GCJ02_Lat = WGS84_Lat + 0.0068197
GCJ02_Lon = WGS84_Lon + 0.0067498
// GCJ02 → WGS84
WGS84_Lat = GCJ02_Lat - 0.0068197
WGS84_Lon = GCJ02_Lon - 0.0067498

// WGS84 → GCJ02
GCJ02_Lat = WGS84_Lat + 0.0068197
GCJ02_Lon = WGS84_Lon + 0.0067498
                            

注:此公式为简化模型,适用于大多数中国地区。对于高精度要求的应用,建议使用专业的坐标转换软件。 Note: This is a simplified model suitable for most regions in China. For high-precision applications, professional coordinate conversion software is recommended.

2. GPS坐标格式转换 2. GPS Coordinate Format Conversion

时分秒 (DMS) → 小数点 (DD) Degrees Minutes Seconds (DMS) → Decimal Degrees (DD)

转换结果 Conversion Result

小数点格式纬度: Decimal Degrees Latitude:

小数点格式经度: Decimal Degrees Longitude:

小数点 (DD) → 时分秒 (DMS) Decimal Degrees (DD) → Degrees Minutes Seconds (DMS)

转换结果 Conversion Result

时分秒格式纬度: DMS Latitude:

时分秒格式经度: DMS Longitude:

转换公式 Conversion Formula

GPS坐标格式转换公式如下: The GPS coordinate format conversion formulas are as follows:

// 时分秒 (DMS) → 小数点 (DD)
DD = 度 + 分/60 + 秒/3600
如果是南纬或西经,则结果为负数

// 小数点 (DD) → 时分秒 (DMS)
度 = 整数部分(DD的绝对值)
分 = 整数部分((DD的绝对值 - 度) × 60)
秒 = ((DD的绝对值 - 度) × 60 - 分) × 60
方向:北纬为N,南纬为S,东经为E,西经为W
// Degrees Minutes Seconds (DMS) → Decimal Degrees (DD)
DD = degrees + minutes/60 + seconds/3600
If it's south latitude or west longitude, the result is negative

// Decimal Degrees (DD) → Degrees Minutes Seconds (DMS)
degrees = integer part of (absolute value of DD)
minutes = integer part of ((absolute value of DD - degrees) × 60)
seconds = ((absolute value of DD - degrees) × 60 - minutes) × 60
Direction: North latitude is N, south latitude is S, east longitude is E, west longitude is W