ObtainUTMZoneFromGeoPoint¶
从地理点确定UTM区域。
描述¶
此应用程序返回输入地理点的UTM区域。
参数¶
Latitude -lat float
Mandatory
Latitude value of desired point.
Longitude -lon float
Mandatory
Longitude value of desired point.
UTMZone -utm int
UTM Zone
实例¶
从命令行执行以下操作:
# Obtain a UTM Zone
otbcli_ObtainUTMZoneFromGeoPoint -lat 10.0 -lon 124.0
来自Python的评论:
# Obtain a UTM Zone
import otbApplication
app = otbApplication.Registry.CreateApplication("ObtainUTMZoneFromGeoPoint")
app.SetParameterFloat("lat", 10.0)
app.SetParameterFloat("lon", 124.0)
app.ExecuteAndWriteOutput()