[gdal-dev] NITF read slow in python

Even Rouault even.rouault at spatialys.com
Wed Aug 6 10:54:06 PDT 2014


Le mercredi 06 août 2014 19:36:44, John_Lunzer a écrit :
> I have some not so big NITF files (10000x7000 16bit) that I am reading
> using Python. Using the ReadAsArray() method of the data opened via
> gdal.Open() it takes about 50 seconds to load a single band. Reading this
> same file in GeoTIFF format takes about 2.7 seconds by comparison.
> 
> Does anyone have a clue why the NITF files are taking so much time to read
> to Numpy arrays?
> 

Is the NITF file JPEG or JPEG-2000 compressed ?

> 
> 
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/NITF-read-slow-in-python-tp5155297.htm
> l Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list