[gdal-dev] Memory access violation withGDALGetRandomRasterSample and NITF/JPEG2000

Frank Warmerdam warmerdam at pobox.com
Thu Mar 4 19:09:10 EST 2010


Shaw, Jonathan-P29740 wrote:
> Ah -- turning on the debug logging reveals JP2ECW messages (below).
> 
> I will definitely take a look at OSGeo4W. Out of curiosity, is there a
> programmatic way to force the NITF driver to use JP2MrSID (which is also
> in FWTools 2.4.7) rather than the ECW driver? Or to disable the ECW
> driver altogether?

Jonathan,

Ah, I hadn't realized mrsid was built in too.  If you set the GDAL_SKIP
environment variable to JP2ECW then the JP2ECW driver will not be
registered and things should fall through to JP2MrSID.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list