Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

output from rpc_mapproject #70

Open
SmithB opened this Issue · 4 comments

3 participants

@SmithB

With ASP2.2, rpc_mapproject seems to try to write xml files in an unwritable location, and spews warning messages:

Warning: GdalIO: Unable to save auxilary information in /vsisubfile/3989_961434577,WV01_11DEC131600110-P1BS_R1C1-10200100150C8F00.ntf.aux.xml. (code = 1)

[repeated ~ 10 times]
I've seen this problem on an RHEL6 linux box and on a mac running OSx 10.8

@oleg-alexandrov

This is a GDAL bug. GDAL takes a filename, and prepends to it metainfo, getting as above,

/vsisubfile/3989_961434577,WV01_11DEC131600110-P1BS_R1C1-10200100150C8F00.ntf.aux.xml.

GDAL has a function to parse this thing and extract the proper filename, but it forgot to call it.

From a software perspective, the above is a huge hack, one should use a proper data structure to store info, rather than prepending it to a filename. I filed a bug:

http://trac.osgeo.org/gdal/ticket/5117

@zmoratto
Owner

How can I reproduce this bug? R from GDAL is also claiming he can't reproduce this.

@oleg-alexandrov

Sorry for the delay. Here's how to reproduce it on pfe. (I am sure it is a GDAL error, one just need to find a good way of reproducing it using the GDAL library only without our stuff).

cd ~oalexan1/projects/data/WV01_20110807_102001001560E000

tif_mosaic --threads 4 --output-image 102001001560E000.r53.tif --reduce-percent 53 --image-data 35840,53604,/nobackupnfs1/oalexan1/projects/data/WV01_20110807_102001001560E000/WV01_11AUG071531469-P1BS-102001001560E000.ntf,35840.0000000000000000,26624.0000000000000000,0.0000000000000000,0.0000000000000000,35840.0000000000000000,26624.0000000000000000,/nobackupnfs1/oalexan1/projects/data/WV01_20110807_102001001560E000/WV01_11AUG071531461-P1BS-102001001560E000.ntf,35840.0000000000000000,32768.0000000000000000,0.0000000000000000,20836.0000000000000000,35840.0000000000000000,32768.0000000000000000,

Warning: GdalIO: Unable to save auxilary information in /vsisubfile/3884_452651485,/nobackupnfs1/oalexan1/projects/data/WV01_20110807_102001001560E000/WV01_11AUG071531469-P1BS-102001001560E000.ntf.aux.xml. (code = 1)

@oleg-alexandrov

I re-opened this issue in the GDAL bug tracker. I can reproduce this only with gdal_translate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.