ObtainUTMZoneFromGeoPoint

UTM zone determination from a geographic point.

Description

This application returns the UTM zone of an input geographic point.

Parameters

Latitude -lat float Mandatory
Latitude value of desired point.

Longitude -lon float Mandatory
Longitude value of desired point.

UTMZone -utm int
UTM Zone

Examples

From the command-line:

# Obtain a UTM Zone
otbcli_ObtainUTMZoneFromGeoPoint -lat 10.0 -lon 124.0

From Python:

# Obtain a UTM Zone
import otbApplication

app = otbApplication.Registry.CreateApplication("ObtainUTMZoneFromGeoPoint")

app.SetParameterFloat("lat", 10.0)
app.SetParameterFloat("lon", 124.0)

app.ExecuteAndWriteOutput()