ConvertSensorToGeoPoint

Sensor to geographic coordinates conversion.

Description

This Application converts a sensor point of an input image to a geographic point using the Forward Sensor Model of the input image.

Parameters

Sensor image -in image Mandatory
Input sensor image.

Point Coordinates

X value of desired point -input.idx float Default value: 0
X coordinate of the point to transform.

Y value of desired point -input.idy float Default value: 0
Y coordinate of the point to transform.

Geographic Coordinates

Output Point Longitude -output.idx float Mandatory
Output point longitude coordinate.

Output Point Latitude -output.idy float Mandatory
Output point latitude coordinate.

Main town near the coordinates computed -output.town string Mandatory
Nearest main town of the computed geographic point.

Country of the image -output.country string Mandatory
Country of the input image


Load parameters from XML -inxml filename.xml
Load application parameters from an XML file.

Save parameters to XML -outxml filename.xml
Save application parameters to an XML file.

Examples

From the command-line:

otbcli_ConvertSensorToGeoPoint -in QB_TOULOUSE_MUL_Extract_500_500.tif -input.idx 200 -input.idy 200

From Python:

import otbApplication

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

app.SetParameterString("in", "QB_TOULOUSE_MUL_Extract_500_500.tif")
app.SetParameterFloat("input.idx", 200)
app.SetParameterFloat("input.idy", 200)

app.ExecuteAndWriteOutput()

See also

ConvertCartoToGeoPoint application, otb:ref:app-ObtainUTMZoneFromGeoPoint