Is gdal_translate ignoring the CPL_TMPDIR switch?

المشرف العام

Administrator
طاقم الإدارة
I've tried both...

/usr/bin/gdal_translate -q --config CPL_TMPDIR /opt/xipi/nitf/scratch -of KMLSUPEROVERLAY /opt/xipi/nitf/scratch/sample-100000001.ntf /opt/xipi/nitf/out/sample-100000001.kmz...and...

export CPL_TMPDIR=/opt/xipi/nitf/scratch/usr/bin/gdal_translate -q -of KMLSUPEROVERLAY /opt/xipi/nitf/scratch/sample-100000001.ntf /opt/xipi/nitf/out/sample-100000001.kmz...but in both cases the temporary files are written to /opt/xipi/nitf/out/kmlsuperoverlaytmp_0x000000 rather than /opt/xipi/nitf/scratch/kmlsuperoverlaytmp_0x000000.

Is there some other mechanism than CPL_TMPDIR to change the write location of temporary files that will be zipped up into the KMZ?



أكثر...
 
أعلى