Convert GeoPoint to MGRS(将 GeoPoint 转换为 MGRS)¶
Supported in: Batch, Faster, Streaming
Converts a GeoPoint following the WGS84 coordinate system (which is EPSG:4326) to a MGRS (military grid reference system) coordinate. The output MGRS will follow a space-delimited format with 5 digits of precision.
Expression categories: Geospatial
Declared arguments¶
- Expression: GeoPoint to convert.
Expression\
Output type: MGRS
Examples¶
Example 1: Base case¶
Argument values:
- Expression:
geoPoint
| geoPoint | Output |
|---|---|
| { latitude -> 88.99999659707431, longitude -> 0.9996456505181999, } |
Z AF 01937 88990 |
Example 2: Base case¶
Argument values:
- Expression:
geoPoint
| geoPoint | Output |
|---|---|
| { latitude -> 21.409796671597924, longitude -> -157.91608117421092, } |
4Q FJ 12345 67889 |
| { latitude -> 21.338665624760598, longitude -> -157.93921670599434, } |
4Q FJ 10000 59999 |
| { latitude -> 21.40898645576642, longitude -> -157.91652127483704, } |
4Q FJ 12300 67799 |
Example 3: Null case¶
Argument values:
- Expression:
geoPoint
| geoPoint | Output |
|---|---|
| null | null |
中文翻译¶
将 GeoPoint 转换为 MGRS¶
支持:批处理(Batch)、快速处理(Faster)、流处理(Streaming)
将遵循 WGS84 坐标系(即 EPSG:4326)的 GeoPoint 转换为 MGRS(军事网格参考系,military grid reference system)坐标。输出的 MGRS 将采用空格分隔的格式,精度为 5 位数字。
表达式类别: 地理空间(Geospatial)
声明的参数¶
- 表达式(Expression): 待转换的 GeoPoint。
Expression\
输出类型: MGRS
示例¶
示例 1:基本情况¶
参数值:
- 表达式:
geoPoint
| geoPoint | 输出 |
|---|---|
| { latitude -> 88.99999659707431, longitude -> 0.9996456505181999, } |
Z AF 01937 88990 |
示例 2:基本情况¶
参数值:
- 表达式:
geoPoint
| geoPoint | 输出 |
|---|---|
| { latitude -> 21.409796671597924, longitude -> -157.91608117421092, } |
4Q FJ 12345 67889 |
| { latitude -> 21.338665624760598, longitude -> -157.93921670599434, } |
4Q FJ 10000 59999 |
| { latitude -> 21.40898645576642, longitude -> -157.91652127483704, } |
4Q FJ 12300 67799 |
示例 3:空值情况¶
参数值:
- 表达式:
geoPoint
| geoPoint | 输出 |
|---|---|
| null | null |