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)

comment:1 by Even Rouault, 12 years ago

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

in reply to:  1 comment:2 by burl, 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

  1. "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 Even Rouault, 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 Jukka Rahkonen, 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 Even Rouault, 9 years ago

Type: defectenhancement

comment:6 by Even Rouault, 5 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

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.

Note: See TracTickets for help on using tickets.