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.

This application has several output images and supports “multi-writing”. Instead of computing and writing each image independently, the streamed image blocks are written in a synchronous way for each output. The output images will be computed strip by strip, using the available RAM to compute the strip size, and a user defined streaming mode can be specified using the streaming extended filenames (type, mode and value). Note that multi-writing can be disabled using the multi-write extended filename option: &multiwrite=false, in this case the output images will be written one by one. Note that multi-writing is not supported for MPI writers.

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

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:ObtainUTMZoneFromGeoPoint