Hi, <br>I'm working on LINUX (Ubuntu) to fix some things on ImageIo-ext project.<br>I have read some olds threads talking about conflicts between Kakadu and MrSID's Jpeg2000 support.<br>I'm using GDAL 1.4.2 with MrSid (GeoExpress Decode SDK
6.0.7.1407) and Kakadu 5.2.6.<br><br>When building GDAL after configuring it for MrSid and Kakadu, I get only JP2KAK and MrSID (using GDALInfo --formats).<br>I then attempted to edit GDALMake.opt after ./configure, adding MRSID_FLAGS = -DMRSID_J2K and I get errors when building.
<br>However I have noticed that when configuring with support for only MrSID, JP2MrSID appears in the list of supported formats (So, manually setting MRSID_FLAGS is not required :P)<br><br>It is possible to support both JP2KAK and JP2MRSID driver on Linux?
<br>Thanks a lot.<br><br>Best Regards,<br>Daniele<br><br><br><br><div class="gmail_quote">On Oct 16, 2007 12:30 AM, Frank Warmerdam <<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">Daniele Romagnoli wrote:<br>> Hi list,<br>> I have just a simple question for you.<br>><br>> I would like to test all the powerful drivers which are capable of<br>> handle Jpeg2000 format.
<br>> I noticed that GDAL provides a wide set of JP2 drivers:<br>><br>> JP2KAK<br>> JP2ECW<br>> JP2MrSID<br>><br>> I already successfully tested the JP2KAK and the JP2ECW (by setting<br>> GDAL_SKIP = JP2KAK) drivers.
<br>> Now I'm attempting to work with the JP2MrSID driver but I dont know how<br>> to get it. I set GDAL_SKIP = JP2KAK JP2ECW (space separated list) but<br>> calling "gdalinfo --formats" don't display JP2MrSID somewhere (only the
<br>> simple "MrSID" appears).<br>><br>> Do I need to properly configure NMAKE.opt in some manner? (I already<br>> enabled MrSID support)<br>> Or JP2MrSID is just a symbolic name to say that MrSID driver also allows
<br>> reading JP2 files? (Although JP2ECW and ECW appear separately)<br>><br>> Thank you very much for your help.<br><br></div></div>Daniele,<br><br>I see the nmake.opt in subversion lacks the MRSID_FLAGS = -DMRSID_J2K
<br>required to enable the JP2MRSID driver. I have added this in trunk and<br>1.4 branch. But basically just add this in your nmake.opt, just after<br>MRSID_LIB for instance:<br><br># Comment out the following to supress JP2MRSID driver.
<br>MRSID_FLAGS = -DMRSID_J2K<br><br>Best regards,<br><font color="#888888">--<br>---------------------------------------+--------------------------------------<br>I set the clouds in motion - turn up | Frank Warmerdam,
<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>and watch the world go round - Rush | President OSGeo,
<a href="http://osgeo.org" target="_blank">http://osgeo.org</a><br><br></font></blockquote></div><br><br clear="all"><br>-- <br>-------------------------------------------------------<br>Eng. Daniele Romagnoli <br>Software Engineer
<br><br>GeoSolutions S.A.S.<br>Via Carignoni 51<br>55041 Camaiore (LU)<br>Italy<br><br>phone: +39 0584983027<br>fax: +39 0584983027<br>mob: +39 328 0559267<br><br><br><a href="http://www.geo-solutions.it">http://www.geo-solutions.it
</a><br><br>-------------------------------------------------------<br>