ConvertSensorToGeoPoint¶
传感器到地理坐标的转换。
描述¶
此应用程序使用输入图像的前向传感器模型将输入图像的传感器点转换为地理点。
参数¶
Sensor image -in image
Mandatory
Input sensor image.
点坐标¶
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.
地理坐标¶
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
实例¶
从命令行执行以下操作:
otbcli_ConvertSensorToGeoPoint -in QB_TOULOUSE_MUL_Extract_500_500.tif -input.idx 200 -input.idy 200
来自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()
另请参阅¶
ConvertCartoToGeoPoint application, otb:ref:ObtainUTMZoneFromGeoPoint