Opened 12 years ago
Closed 5 years ago
#4594 closed enhancement (wontfix)
gdaltransform utility does not accept RPB files
Reported by: | burl | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | closed_because_of_github_migration |
Component: | Utilities | Version: | 1.9.0 |
Severity: | normal | Keywords: | gdaltransform input RPB rpc.txt RPC coefficients DigitalGlobe GeoEye |
Cc: |
Description
The gdaltransform utility does not accept .RPB files as input (srcfile).
gdaltransform -rpc 11MAR17015447-P1BS-052494556130_01_P004.RPB
ERROR 4: `11MAR17015447-P1BS-052494556130_01_P004.RPB' not recognised as a supported file format.
Presumably, the same situation exists for *_rpc.txt files.
Change History (6)
follow-up: 2 comment:1 by , 12 years ago
comment:2 by , 12 years ago
Replying to rouault:
This is expected. The source file of gdaltransform must be recognized as a GDAL dataset. You cannot directly provide a .rpb or _rpc.txt file. But you can pass a geotiff file with the same basename as the .rpb
- "The source file of gdaltransform must be recognized as a GDAL dataset."
While that appears to be the way the utility is currently structured/programmed, the RPC coefficients provide sufficient information for gdaltransform to do its job (transforming between image space and geodetic coordinates or vice versa).
"But you can pass a geotiff file with the same basename as the .rpb."
I am retrieving files from a remote site and do not want to be downloading extremely large geotiff images until I have determined through examination of the imaging geometry information (as encapsulated in the RPC coefficients) whether it is worth pulling a given image over to my site.
comment:3 by , 12 years ago
You can perhaps try gdaltransform with a dataset name of the format /vsicurl/http://link/to/the/image.tiff
comment:4 by , 9 years ago
Using /vsicurl/ feels good enough workaround and if it works this ticket could be closed. Unfortunately I do not know how to test it.
comment:5 by , 9 years ago
Type: | defect → enhancement |
---|
comment:6 by , 5 years ago
Milestone: | → closed_because_of_github_migration |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.
This is expected. The source file of gdaltransform must be recognized as a GDAL dataset. You cannot directly provide a .rpb or _rpc.txt file. But you can pass a geotiff file with the same basename as the .rpb