<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<font class="Apple-style-span" face="Tahoma" size="2">Okay. Thanks again !&nbsp;</font><div style="font-family: Tahoma; font-size: 10pt; "><br></div><div style="font-family: Tahoma; font-size: 10pt; ">I remember i built one time open jpeg from v2 branch and there was compatibility issues with poppler distributed with&nbsp;kdewin32 project.</div><div style="font-family: Tahoma; font-size: 10pt; ">The poppler I got from kdewin32 was dependent openJpeg 1.3-2 and this one was built with the following exported functions:</div><div><div><font class="Apple-style-span" face="Tahoma" size="2">opj_destroy_decompress, opj_cio_close and opj_set_event_mgr that are not existent any more in Open jpeg v2.</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><div style="text-indent: 0px !important; font-family: 'Times New Roman'; font-size: 12pt; "><font class="Apple-style-span" face="Tahoma" size="2" style="text-indent: 0px !important; ">2&gt;gdal.lib(JPEG2000Stream.cc.obj) : error LNK2001: unresolved external symbol __imp__opj_destroy_decompress@4</font></div><div style="text-indent: 0px !important; font-family: 'Times New Roman'; font-size: 12pt; "><font class="Apple-style-span" face="Tahoma" size="2" style="text-indent: 0px !important; ">2&gt;gdal.lib(JPEG2000Stream.cc.obj) : error LNK2001: unresolved external symbol __imp__opj_cio_close@4</font></div><div style="text-indent: 0px !important; font-family: 'Times New Roman'; font-size: 12pt; "><font class="Apple-style-span" face="Tahoma" size="2" style="text-indent: 0px !important; ">2&gt;gdal.lib(JPEG2000Stream.cc.obj) : error LNK2001: unresolved external symbol __imp__opj_cio_open@12</font></div><div style="text-indent: 0px !important; font-family: 'Times New Roman'; font-size: 12pt; "><font class="Apple-style-span" face="Tahoma" size="2" style="text-indent: 0px !important; ">2&gt;gdal.lib(JPEG2000Stream.cc.obj) : error LNK2001: unresolved external symbol __imp__opj_set_event_mgr@12</font></div></font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="Apple-style-span" face="Tahoma" size="2">But it appears that&nbsp;</font><span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px; ">http://vbkto.dyndns.org:1280/sdk had a poppler version that is compatible with open jpeg 2000 v2.</span></div><div><span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px; ">So i end up using it those packaged versions with&nbsp;</span><span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px; ">http://vbkto.dyndns.org:1280/sdk.</span></div><div><span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px; "><br></span></div><div><font class="Apple-style-span" face="Tahoma" size="2">Apparently since you can open ok the&nbsp;mentioned&nbsp;.pdf with poppler 0.12.4 the issue seems to come from the packaged poppler or</font></div><div><font class="Apple-style-span" face="Tahoma" size="2">its a regression issue introduced in 0.15.1.</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px; ">Noureddine Farah</span></div></div><div><div style="font-family: Tahoma; font-size: 10pt; "><br>&gt; Date: Mon, 28 Feb 2011 08:57:22 +0100<br>&gt; From: even.rouault@mines-paris.org<br>&gt; To: nfarah@hotmail.com<br>&gt; CC: even.rouault@mines-paris.org; gdal-dev@lists.osgeo.org<br>&gt; Subject: RE: [gdal-dev] Unrecognized Geopdf files using GDAL 1.8<br>&gt; <br>&gt; Selon "N. Farah" &lt;nfarah@hotmail.com&gt;:<br>&gt; <br>&gt; <br>&gt; &gt; I believe poppler packaged with http://vbkto.dyndns.org:1280/sdk might be<br>&gt; &gt; 0.15.1 and apparently0.16.0 had changes that probably made<br>&gt; &gt;<br>&gt; http://acrobatusers.com/sites/default/files/gallery_pictures/GEOEYE-INAUGURATION.pdf<br>&gt; recognized as valid GeoPdf.<br>&gt; <br>&gt; Actually not. I have tested with a GDAL windows build of mine, against a<br>&gt; libpoppler (0.12.4 I believe) build from the kdewin32 project, and with that<br>&gt; build, I get the same results as on Linux. So it is likely something with the<br>&gt; build at http://vbkto.dyndns.org:1280/sdk<br>&gt; <br>&gt; &gt; Noureddine Farah<br>&gt; &gt;<br>&gt; &gt; &gt; From: even.rouault@mines-paris.org<br>&gt; &gt; &gt; To: gdal-dev@lists.osgeo.org<br>&gt; &gt; &gt; Subject: Re: [gdal-dev] Unrecognized Geopdf files using GDAL 1.8<br>&gt; &gt; &gt; Date: Mon, 28 Feb 2011 00:42:34 +0100<br>&gt; &gt; &gt; CC: nfarah@hotmail.com<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Le lundi 28 février 2011 00:26:43, N. Farah a écrit :<br>&gt; &gt; &gt; &gt; Hi,<br>&gt; &gt; &gt; &gt; Using gdalinfo (http://vbkto.dyndns.org:1280/sdk/) on few geopdf files<br>&gt; &gt; did<br>&gt; &gt; &gt; &gt; not recognized the files as supported.Other files were opened and<br>&gt; &gt; &gt; &gt; recognized ok. Here are 3 files that were unrecognized:<br>&gt; &gt; &gt; &gt; http://www.agc.army.mil/GeoPDFgallery/3D/Fargo.jpg<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; --&gt; this is a JPEG file ...<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; You probably meant http://www.agc.army.mil/GeoPDFgallery/3D/Fargo.pdf which<br>&gt; &gt; is<br>&gt; &gt; &gt; recognized as a *non* spatial PDF on Linux with Poppler 0.16.0. A dump of<br>&gt; &gt; the<br>&gt; &gt; &gt; PDF content shows that there are indeed no spatial info in that PDF that<br>&gt; &gt; &gt; follow the OGC best practice encoding or Adobe supplement to ISO 32000. And<br>&gt; &gt; &gt; the name of the file suggests that this is a 3D GeoPDF, which is a<br>&gt; &gt; specification<br>&gt; &gt; &gt; not handled by the driver.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; http://www.agc.army.mil/GeoPDFgallery/3D/Fargo_May09_geo.jpg<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Same as above<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; http://acrobatusers.com/sites/default/files/gallery_pictures/GEOEYE-<br>&gt; &gt; &gt; INAUGURATION.pdf<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; --&gt; recognized as a geospatial PDF on Linux with Poppler 0.16.0<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Driver: PDF/Geospatial PDF<br>&gt; &gt; &gt; Files: GEOEYE-INAUGURATION.pdf<br>&gt; &gt; &gt; Size is 1350, 619<br>&gt; &gt; &gt; Coordinate System is:<br>&gt; &gt; &gt; PROJCS["WGS 84 / UTM zone 18N",<br>&gt; &gt; &gt;     GEOGCS["WGS 84",<br>&gt; &gt; &gt;         DATUM["WGS_1984",<br>&gt; &gt; &gt;             SPHEROID["WGS 84",6378137,298.257223563,<br>&gt; &gt; &gt;                 AUTHORITY["EPSG","7030"]],<br>&gt; &gt; &gt;             AUTHORITY["EPSG","6326"]],<br>&gt; &gt; &gt;         PRIMEM["Greenwich",0,<br>&gt; &gt; &gt;             AUTHORITY["EPSG","8901"]],<br>&gt; &gt; &gt;         UNIT["degree",0.0174532925199433,<br>&gt; &gt; &gt;             AUTHORITY["EPSG","9122"]],<br>&gt; &gt; &gt;         AUTHORITY["EPSG","4326"]],<br>&gt; &gt; &gt;     UNIT["metre",1,<br>&gt; &gt; &gt;         AUTHORITY["EPSG","9001"]],<br>&gt; &gt; &gt;     PROJECTION["Transverse_Mercator"],<br>&gt; &gt; &gt;     PARAMETER["latitude_of_origin",0],<br>&gt; &gt; &gt;     PARAMETER["central_meridian",-75],<br>&gt; &gt; &gt;     PARAMETER["scale_factor",0.9996],<br>&gt; &gt; &gt;     PARAMETER["false_easting",500000],<br>&gt; &gt; &gt;     PARAMETER["false_northing",0],<br>&gt; &gt; &gt;     AUTHORITY["EPSG","32618"],<br>&gt; &gt; &gt;     AXIS["Easting",EAST],<br>&gt; &gt; &gt;     AXIS["Northing",NORTH]]<br>&gt; &gt; &gt; GeoTransform =<br>&gt; &gt; &gt;   322005.63038904, 2.8993752, -0.04217184<br>&gt; &gt; &gt;   4307533.17691748, -0.13576416, -2.77423392<br>&gt; &gt; &gt; Metadata:<br>&gt; &gt; &gt;   NEATLINE=POLYGON ((322005.69019039417617<br>&gt; &gt; &gt; 4307537.110892030410469,325915.627076361211948<br>&gt; &gt; &gt; 4307346.153255709446967,325893.724369931151159<br>&gt; &gt; &gt; 4305634.64386628754437,321983.72777434962336<br>&gt; &gt; &gt; 4305821.667495521716774,322005.630388610996306<br>&gt; &gt; &gt; 4307533.176889259368181,322005.69019039417617 4307537.110892030410469))<br>&gt; &gt; &gt; Corner Coordinates:<br>&gt; &gt; &gt; Upper Left  (  322005.630, 4307533.177) ( 77d 3' 9.14"W, 38d53'55.17"N)<br>&gt; &gt; &gt; Lower Left  (  321979.526, 4305815.926) ( 77d 3' 8.62"W, 38d52'59.48"N)<br>&gt; &gt; &gt; Upper Right (  325919.787, 4307349.895) ( 77d 0'26.58"W, 38d53'52.05"N)<br>&gt; &gt; &gt; Lower Right (  325893.683, 4305632.645) ( 77d 0'26.09"W, 38d52'56.36"N)<br>&gt; &gt; &gt; Center      (  323949.656, 4306582.911) ( 77d 1'47.61"W, 38d53'25.77"N)<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;  Thanks<br>&gt; &gt; &gt; &gt; Noureddine Farah<br>&gt; &gt;<br>&gt; <br>&gt; <br></div></div>                                               </body>
</html>