<div dir="ltr"><div>I'm using the stable 1.10 build from Tamas' site.</div><div> </div><div>GDALIdentifyDriver on the file reports: "ERDAS JPEG2000 (SDK 3.x)"</div><div> </div><div>When trying to open the file I get an AccessViolationException.</div>
<div> </div><div>Cheers,</div><div>Dennis</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 22, 2013 at 3:35 PM, Frank Warmerdam <span dir="ltr"><<a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Dennis,</p>
<p dir="ltr">There are several jpeg2000 drivers potentially available for gdal.  Do you know which you are using?</p>
<p dir="ltr">Best regards,<br>
</p>
<div class="gmail_quote">On May 22, 2013 5:20 AM, "Dennis Gocke" <<a href="mailto:dengo@gmx.net" target="_blank">dengo@gmx.net</a>> wrote:<br type="attribution"><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">

<div dir="ltr"><p style="margin:0cm 0cm 0pt"><span style="font-family:"Calibri","sans-serif";font-size:11pt"><font color="#000000">Hi,</font></span></p><font color="#000000" size="3" face="Times New Roman"></font><p style="margin:0cm 0cm 0pt">


<span style="font-family:"Calibri","sans-serif";font-size:11pt"><font color="#000000"> </font></span></p><font color="#000000" size="3" face="Times New Roman"></font><p style="margin:0cm 0cm 0pt"><span style="font-family:"Calibri","sans-serif";font-size:11pt" lang="EN-US"><font color="#000000">I’ve encountered a problem with Pleiades JP2 files from Astrium, GDAL crashes when opening the file.</font></span></p>


<font color="#000000" size="3" face="Times New Roman"></font><p style="margin:0cm 0cm 0pt"><span style="font-family:"Calibri","sans-serif";font-size:11pt" lang="EN-US"><font color="#000000">You should be able to reproduce the the crash by downloading a sample dataset from their page.</font></span></p>


<font color="#000000" size="3" face="Times New Roman"></font><p style="margin:0cm 0cm 0pt"><span style="font-family:"Calibri","sans-serif";font-size:11pt" lang="EN-US"><a href="http://www.astrium-geo.com/en/23-sample-imagery" target="_blank"><font color="#0000ff">http://www.astrium-geo.com/en/23-sample-imagery</font></a></span></p>


<font color="#000000" size="3" face="Times New Roman"></font><div style="margin:0cm 0cm 0pt"><span style="font-family:"Calibri","sans-serif";font-size:11pt" lang="EN-US"><font color="#000000">Optical Imagery->Pleiades->Pleiades Primary Product – Bundle</font></span></div>


<div style="margin:0cm 0cm 0pt"><span style="font-family:"Calibri","sans-serif";font-size:11pt" lang="EN-US"><font color="#000000">You have to fill out the form and will then receive a download link via email.</font></span></div>


<font color="#000000" size="3" face="Times New Roman"></font><p style="margin:0cm 0cm 0pt"><span style="font-family:"Calibri","sans-serif";font-size:11pt" lang="EN-US"><font color="#000000">The crash happens with the file FCGC600031035/IMG_PHR1A_MS_002/IMG_PHR1A_MS_201202250025599_SEN_PRG_FC_5847-002_R1C1.JP2</font></span></p>


<font color="#000000" size="3" face="Times New Roman"></font><p style="margin:0cm 0cm 0pt"><span style="font-family:"Calibri","sans-serif";font-size:11pt" lang="EN-US"><font color="#000000">And I have other JP2 Pleiades files where it happens too, so it’s not related to this single file. Both ERDAS and ArcGIS are able to open the file.</font></span></p>


<font color="#000000" size="3" face="Times New Roman"></font><p style="margin:0cm 0cm 0pt"><span style="font-family:"Calibri","sans-serif";font-size:11pt" lang="EN-US"><font color="#000000"> </font></span></p>


<font color="#000000" size="3" face="Times New Roman"></font><p style="margin:0cm 0cm 0pt"><span style="font-family:"Calibri","sans-serif";font-size:11pt" lang="EN-US"><font color="#000000">If it’s not possible to open the files with GDAL, an appropriate error message instead of a crash would be good.</font></span></p>


<font color="#000000" size="3" face="Times New Roman"></font><div style="margin:0cm 0cm 0pt"><span style="font-family:"Calibri","sans-serif";font-size:11pt" lang="EN-US"><font color="#000000">Thanks for looking into it.</font></span></div>


<div style="margin:0cm 0cm 0pt"><span style="font-family:"Calibri","sans-serif";font-size:11pt" lang="EN-US"><font color="#000000"></font></span> </div><font color="#000000" size="3" face="Times New Roman"></font><div style="margin:0cm 0cm 0pt">


<span style="font-family:"Calibri","sans-serif";font-size:11pt" lang="EN-US"><font color="#000000">Cheers,</font></span></div><div style="margin:0cm 0cm 0pt"><span style="font-family:"Calibri","sans-serif";font-size:11pt" lang="EN-US"><font color="#000000">Dennis</font></span></div>


</div>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div>
</blockquote></div><br></div>