[gdal-dev] NITF read slow in python

Even Rouault even.rouault at spatialys.com
Wed Aug 6 11:46:05 PDT 2014


Le mercredi 06 août 2014 20:38:55, John_Lunzer a écrit :
> The documentation states that Python automatically calls GDALAllRegister()
> when the GDAL module is imported. Is there any way to disable this or to
> tell GDAL to use a specific driver when loading JPEG2000 compressed images?

You can do gdal.GetDriverByName(driver_short_name).Deregister() to unregister 
a driver.

> 
> 
> Even Rouault-2 wrote
> 
> > Le mercredi 06 août 2014 20:16:57, John_Lunzer a écrit :
> >> They are listed as C8, which means JPEG2000 compression.
> > 
> > That must be it. JPEG2000 decompression takes some time, and that can be
> > more
> > or less slow depending on the underlying driver used. Do you have JP2KAK,
> > JP2ECW, JP2OPENJPEG, JP2MrSID or JPEG2000 drivers enabled ? (if you have
> > several, they are used in the mentionned order)
> > 
> >> --
> >> View this message in context:
> >> http://osgeo-org.1560.x6.nabble.com/NITF-read-slow-in-python-tp5155297p5
> >> 15 5304.html Sent from the GDAL - Dev mailing list archive at
> >> Nabble.com. _______________________________________________
> >> gdal-dev mailing list
> > 
> > gdal-dev at .osgeo
> > 
> >> http://lists.osgeo.org/mailman/listinfo/gdal-dev
> > 
> > gdal-dev at .osgeo
> > 
> > http://lists.osgeo.org/mailman/listinfo/gdal-dev
> 
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/NITF-read-slow-in-python-tp5155297p515
> 5309.html 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