[ms4w-users] JP2 format {Scanned}

Jeff McKenna jmckenna at gatewaygeomatics.com
Tue Dec 2 13:16:52 EST 2008

Fischer, Brian wrote:
> Thanks.  Looks like the .jp2 image format is not supported with MS4W.
> Any plans to add it in?  According to the GDAL website it looks like you
> have to compile GDAL with the libjasper library.

Hello Brian,

I have spent the morning looking at the libjasper library for your 
request.  Luckily the good folks in #gdal on IRC (such as crschmidt, 
frankw, and hobu) pointed out that JasPer has poor performance, and we 
should be looking at using the MrSID or ECW libraries instead (which in 
recent version can also read jp2 files).

I checked the last MS4W release (2.3.0) and executing gdalinfo --formats 
does list the following drivers that can access jp2 files:

   JP2ECW (rw+): ERMapper JPEG2000
   JP2MrSID (ro): MrSID JPEG2000

And I also downloaded some sample jp2 files (from 
http://download.osgeo.org/gdal/data/jpeg2000/) and can access them with 

So I think this should be sufficient for your needs.  Correct?

Jeff McKenna
FOSS4G Consulting and Training Services

More information about the ms4w-users mailing list