rasterio.rpc module
- class rasterio.rpc.RPC(height_off, height_scale, lat_off, lat_scale, line_den_coeff, line_num_coeff, line_off, line_scale, long_off, long_scale, samp_den_coeff, samp_num_coeff, samp_off, samp_scale, err_bias=None, err_rand=None)
Bases:
object
Rational Polynomial Coefficients used to map (x, y, z) <-> (row, col) coordinates.
This class contains a mapping between various RPC attributes and values.
- err_bias, err_rand
The RMS bias and random error in meters per horizontal axis of all points in image.
- Type:
float, optional
- lat_off, long_off, height_off
Geodetic latitude, longitude, and height offset.
- Type:
- lat_scale, long_scale, height_scale
Geodetic latitude, longitude, and height scaling.
- Type:
- line_off, samp_off
Line (row) and sample (column) offset.
- Type:
- line_scale, samp_scale
Line (row) and sample (column) offset.
- Type:
- line_num_coeff, line_den_coeff, samp_num_coeff, samp_den_coeff
The twenty coefficients describing a numerator or denominator polynomial corresponding to line (row) or sample (col).
- Type:
- err_bias
- err_rand
- height_off
- height_scale
- lat_off
- lat_scale
- line_den_coeff
- line_num_coeff
- line_off
- line_scale
- long_off
- long_scale
- samp_den_coeff
- samp_num_coeff
- samp_off
- samp_scale
- to_dict()
Return a dictionary representation of RPC