跳转至

Convert MGRS to GeoPoint(将 MGRS 转换为 GeoPoint(Convert MGRS to GeoPoint))

Supported in: Batch, Faster, Streaming

Converts a MGRS (military grid reference system) coordinate into a GeoPoint following the WGS84 coordinate system (which is EPSG:4326).

Expression categories: Geospatial

Declared arguments

  • Expression: MGRS (military grid reference system) coordinate to convert.
    Expression\

Output type: GeoPoint

Examples

Example 1: Base case

Argument values:

  • Expression: mgrs
mgrs Output
ZAF0193788990 {
latitude: 88.99999659707431,
longitude: 0.9996456505181999,
}

Example 2: Base case

Argument values:

  • Expression: mgrs
mgrs Output
4Q FJ 12345 67890 {
latitude: 21.409796671597924,
longitude: -157.91608117421092,
}
4Q FJ 1 6 {
latitude: 21.338665624760598,
longitude: -157.93921670599434,
}
4Q FJ 123 678 {
latitude: 21.40898645576642,
longitude: -157.91652127483704,
}

Example 3: Null case

Argument values:

  • Expression: mgrs
mgrs Output
null null


中文翻译


将 MGRS 转换为 GeoPoint(Convert MGRS to GeoPoint)

支持:批处理(Batch)、快速处理(Faster)、流处理(Streaming)

将 MGRS(军事网格参考系,military grid reference system)坐标转换为遵循 WGS84 坐标系(即 EPSG:4326)的 GeoPoint。

表达式类别: 地理空间(Geospatial)

声明的参数

  • 表达式(Expression): 待转换的 MGRS(军事网格参考系)坐标。
    表达式\

输出类型: GeoPoint

示例

示例 1:基本情况

参数值:

  • 表达式: mgrs
mgrs 输出(Output)
ZAF0193788990 {
纬度(latitude): 88.99999659707431,
经度(longitude): 0.9996456505181999,
}

示例 2:基本情况

参数值:

  • 表达式: mgrs
mgrs 输出(Output)
4Q FJ 12345 67890 {
纬度(latitude): 21.409796671597924,
经度(longitude): -157.91608117421092,
}
4Q FJ 1 6 {
纬度(latitude): 21.338665624760598,
经度(longitude): -157.93921670599434,
}
4Q FJ 123 678 {
纬度(latitude): 21.40898645576642,
经度(longitude): -157.91652127483704,
}

示例 3:空值情况

参数值:

  • 表达式: mgrs
mgrs 输出(Output)
null null