-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for RPCs #316
Comments
My first pull request covers points 1,2 and 4. |
About my previous post I would like to add https://github.com/centreborelli/rpcm as dependency to Telluric to deal with rpcs. |
Interesting.
|
I was thinking to use the rpcm module to implement footprint and corner methods for raster provided with rpc but without crs and with default affine. The project is under the license BSD 2-Clause License.
Possible implementation with RPCM modul
GeoVector(shape=POLYGON ((111.446359536235 34.90388330200413, 111.391204658326 34.91225086092173, 111.3934946814279 34.92250972381049, 111.4486565101207 34.91414140921886, 111.446359536235 34.90388330200413)), crs=EPSG:4326)
GeoVector(shape=POINT (111.446359536235 34.90388330200413), crs=EPSG:4326) However actually today I thought to a possible implementation without RPCM model class that however has some different results:
GeoVector(shape=POLYGON ((111.3911674407107 34.92250008283582, 111.4459688804706 34.92250008283582, 111.4459688804706 34.91012694526505, 111.3911674407107 34.91012694526505, 111.3911674407107 34.92250008283582)), crs=EPSG:4326)
GeoVector(shape=POINT (111.3911674407107 34.92250008283582), crs=EPSG:4326) However, as you see we have different results. Wdyt? |
Can you explain the difference in results? Which one is more accurate? |
The differences in results come from the fact that the second solution is based on Telluric and so then rasterio. The first solution is based on this rpcm model that uses an iterative algorithm.
As it can be easily seen the footprint is almost equal to the one calculated with "Telluric" solution. |
Currently Telluric doesn't support RPCs (https://en.wikipedia.org/wiki/Rational_polynomial_coefficient).
This issue aims to centralize discussions related to this topic.
I think that the following features should be added:
The text was updated successfully, but these errors were encountered: