# GenerateRPCSensorModel

## Brief Description

Generate a RPC sensor model from a list of Ground Control Points.

## Tags

Geometry

## Long Description

This application generates a RPC sensor model from a list of Ground Control Points. At least 20 points are required for estimation wihtout elevation support, and 40 points for estimation with elevation support. Elevation support will be automatically deactivated if an insufficient amount of points is provided. The application can optionnaly output a file containing accuracy statistics for each point, and a vector file containing segments represening points residues. The map projection parameter allows defining a map projection in which the accuracy is evaluated.

## Parameters

- [param] -outgeom <string> Geom file containing the generated RPC sensor model. Mandatory: True. Default Value: ""
- [param] -inpoints <string> Input file containing tie points. Points are stored in following format: row col lon lat. Line beginning with # are ignored.. Mandatory: True. Default Value: ""
- [param] -outstat <string> Output file containing the following info: ref_lon ref_lat elevation predicted_lon predicted_lat x_error_ref(meters) y_error_ref(meters) global_error_ref(meters) x_error(meters) y_error(meters) overall_error(meters). Mandatory: False. Default Value: ""
- [param] -outvector <string> File containing segments representing residues. Mandatory: False. Default Value: ""
- [param] -elev <string> This group of parameters allows managing elevation values. Supported formats are SRTM, DTED or any geotiff processed by the DEM import application. Mandatory: True. Default Value: "0"
[choice] -map Parameters of the output map projection to be used. utm,lambert2,lambert93,wgs,epsg. Mandatory: True. Default Value: "utm"

- [group] -utm

- [param] -map.utm.zone <int32> The zone number ranges from 1 to 60 and allows defining the transverse mercator projection (along with the hemisphere). Mandatory: True. Default Value: "31"
- [param] -map.utm.northhem <boolean> The transverse mercator projections are defined by their zone number as well as the hemisphere. Activate this parameter if your image is in the northern hemisphere.. Mandatory: False. Default Value: "True"

- [group] -lambert2

- [group] -lambert93

- [group] -wgs

- [group] -epsg

- [param] -map.epsg.code <int32> See www.spatialreference.org to find which EPSG code is associated to your projection. Mandatory: True. Default Value: "4326"

## Limitations

None

## Authors

OTB-Team

## See Also

OrthoRectication,HomologousPointsExtraction,RefineSensorModel

## Example of use

- outgeom: output.geom

- inpoints: points.txt

- map: epsg

- map.epsg.code: 32631