<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.27">
<TITLE>R: [Qgis-user] raster support of JP2</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi John,<BR>
<BR>
>Is there a configuration step<BR>
>I missed<BR>
<BR>
no, there's not.<BR>
<BR>
>do I need to download QGIS source code and build it myself<BR>
>with JP2 support somehow?<BR>
<BR>
yes, but not only...<BR>
<BR>
>FYI, I'm also using FWTools 2.1.0, which uses GDAL 1.6.0dev, and I can<BR>
>work with JP2 (Kakadu) files fine.<BR>
<BR>
because FWTools are built with JP2 support<BR>
<BR>
>Would simply copying the GDAL<BR>
>exe/dll files from FWTools into QGIS install directory work?<BR>
<BR>
no, they don't<BR>
<BR>
To enable JP2 support in Quantum GIS, you need to:<BR>
<BR>
1. build the whole MSYS/MinGW or VS environment (it depends on the library) up to GDAL; that means that you need:<BR>
<BR>
1.01. flex<BR>
1.02. bison<BR>
1.02. zlib<BR>
1.03. libjpeg<BR>
1.04. libpng<BR>
1.05. libtiff<BR>
1.06. xdr<BR>
1.07. freetype<BR>
1.08. FFTW<BR>
1.09. PDCurses<BR>
1.10. PROJ.4<BR>
1.11. GEOS<BR>
1.12. GSL<BR>
1.13. Expat<BR>
1.14. PostgreSQL<BR>
1.15. SQLite<BR>
<BR>
2. build GDAL with GEOS, Expat, PostgreSQL and SQLite support + JP2 support (preferably with VS)<BR>
<BR>
3. build GRASS (only with MSYS/MinGW)<BR>
<BR>
4. rebuild GDAL with GRASS support (+ the above mentioned supports)<BR>
<BR>
5. build SIP, PyQT and, finally, QGIS (with MSYS/MinGW or VS, as you like)<BR>
<BR>
more information are available on my BuildFromSource Guide (to be updated soon) here: <A HREF="http://www.webalice.it/marco.pasetti/qgis+grass/BuildFromSource.html">http://www.webalice.it/marco.pasetti/qgis+grass/BuildFromSource.html</A><BR>
<BR>
Regards,<BR>
<BR>
Marco</FONT>
</P>

</BODY>
</HTML>