Opened 19 years ago
Last modified 19 years ago
#851 closed defect (fixed)
Large VRT to NITF fail to convert
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | default | Version: | unspecified |
Severity: | major | Keywords: | |
Cc: |
Description
I try to convert a .tif + .vrt file of 2.1 GB into NITF, and it fails with the message: ERROR 3: Unable to read 65536 byte block from 846. ERROR 1: IReadBlock failed at X offset 0, Y offset 0 ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0 Open GDAL Datasets: 1 N NITF 41686x52222x1 /data/resources/tools/lib/gdal/tif2del/WCSTile_Full.ntf The actual command is: ./gdal_translate -convert -quiet -b 1 -srcwin 0 0 41686 52222 -outsize 41686 52222 -of NITF -s /data/WCSTile_Full.vrt -o /data/WCSTile_Full.ntf Note that with a tif+vrt of 1.8 GB, the conversion succeeds. Note that converting to JP2KAK instead on NITF succeeds.
Change History (2)
comment:2 by , 19 years ago
I have updated the NITF driver to support reading and creating NITF files in the 2-4GB size range and it seems to work ok. Closing...
Note:
See TracTickets
for help on using tickets.