<br><br><div><span class="gmail_quote">On 10/16/07, <b class="gmail_sendername">Mateusz Loskot</b> &lt;<a href="mailto:mateusz@loskot.net">mateusz@loskot.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Frank Warmerdam wrote:<br>&gt; Daniele Romagnoli wrote:<br>&gt;&gt; Hi list,<br>&gt;&gt; I have just a simple question for you.<br>&gt;&gt;<br>&gt;&gt; I would like to test all the powerful drivers which are capable of<br>
&gt;&gt; handle Jpeg2000 format.<br>&gt;&gt; I noticed that GDAL provides a wide set of JP2 drivers:<br>&gt;&gt;<br>&gt;&gt; JP2KAK<br>&gt;&gt; JP2ECW<br>&gt;&gt; JP2MrSID<br>&gt;&gt;<br>&gt;&gt; I already successfully tested the JP2KAK and the JP2ECW (by setting
<br>&gt;&gt; GDAL_SKIP = JP2KAK) drivers.<br>&gt;&gt; Now I&#39;m attempting to work with the JP2MrSID driver but I dont know<br>&gt;&gt; how to get it. I set GDAL_SKIP = JP2KAK JP2ECW (space separated list)<br>&gt;&gt; but calling &quot;gdalinfo --formats&quot; don&#39;t display JP2MrSID somewhere
<br>&gt;&gt; (only the simple &quot;MrSID&quot; appears).<br>&gt;&gt;<br>&gt;&gt; Do I need to properly configure NMAKE.opt in some manner? (I already<br>&gt;&gt; enabled MrSID support)<br>&gt;&gt; Or JP2MrSID is just a symbolic name to say that MrSID driver also
<br>&gt;&gt; allows reading JP2 files? (Although JP2ECW and ECW appear separately)<br>&gt;&gt;<br>&gt;&gt; Thank you very much for your help.<br>&gt;<br>&gt; Daniele,<br>&gt;<br>&gt; I see the nmake.opt in subversion lacks the MRSID_FLAGS = -DMRSID_J2K
<br>&gt; required to enable the JP2MRSID driver.&nbsp;&nbsp;I have added this in trunk and<br>&gt; 1.4 branch.&nbsp;&nbsp;But basically just add this in your nmake.opt, just after<br>&gt; MRSID_LIB for instance:<br>&gt;<br>&gt; # Comment out the following to supress JP2MRSID driver.
<br>&gt; MRSID_FLAGS =&nbsp;&nbsp;&nbsp;&nbsp;-DMRSID_J2K<br><br><br>plus, you need to uncomment and edit value of MRSID_DIR variable in<br>nmake.opt, as well as uncomment other MRSID_* variables.</blockquote><div><br>Sure, I already done this when adding MrSID support.
<br>Thank you (Frank and Mateusz) for your help.<br><br>-- <br>Best Regards,<br>Daniele Romagnoli<br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Cheers<br>--<br>Mateusz Loskot<br><a href="http://mateusz.loskot.net">http://mateusz.loskot.net</a><br></blockquote></div>