Your instructions worked. thanks!<br><br><div class="gmail_quote">On Thu, Oct 14, 2010 at 4:02 PM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org">even.rouault@mines-paris.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Boris<br>
<br>
yes, GDAL should be able to read geoPDF topo files from the USGS. (geospatial<br>
PDF is more neutral term than geoPDF that happens to be a trademark... see<br>
"Important Note" in <a href="http://en.wikipedia.org/wiki/Geospatial_PDF" target="_blank">http://en.wikipedia.org/wiki/Geospatial_PDF</a>. no further<br>
comment...)<br>
<br>
First, did you check that PDF is listed when doing :<br>
<br>
$ gdalinfo --formats<br>
<br>
If not, then GDAL configure hasn't found poppler. You should check that you<br>
have a /usr/include/poppler directory and a /usr/lib/libpoppler.so file, or if<br>
you have installed them in another root (./configure --enable-xpdf-headers --<br>
prefix=/some/path) , you should specify this directory as value of --with-<br>
poppler=/some/path<br>
<br>
If yes, then you should provide a link to the file that causes problem so I can<br>
see what's wrong with it<br>
<br>
Le jeudi 14 octobre 2010 21:24:38, Boris Dev a écrit :<br>
> A GDAL doc <<a href="http://www.gdal.org/frmt_pdf.html" target="_blank">http://www.gdal.org/frmt_pdf.html</a>> says GDAL1.8 handles<br>
<div><div></div><div class="h5">> geospatial PDF file (which I assume are the same as geoPDF topo files of<br>
> the USGS).<br>
><br>
> The problem is that after compiling GDAL1.8 from source GDAL doesn't<br>
> recognize my geoPDF file.<br>
><br>
> When I try both of the following:<br>
><br>
> $gdalinfo my_geopdf.pdf<br>
><br>
> $gdal_translate my_geopdf.pdf<br>
><br>
> It returns:<br>
><br>
> ERROR 4: 'my_geopdf.pdf' not recognized as a supported format"<br>
><br>
> When compiling GDAL and POPPLER (which is also needed for this problem) I<br>
> made sure to do the following:<br>
><br>
> gdal$./configure --with-poppler=yes --with-python<br>
><br>
> poppler$./configure --enable-xpdf-headers<br>
><br>
> ...any suggestions on where I am going wrong with this?<br>
><br>
> I am new to using GDAL.<br>
><br>
> My final objective to to extact the geoPDF images as jpegs and somehow<br>
> extract the latitude/longitude bounding box information of the image so I<br>
> can create KMLs.<br>
><br>
> THANKS!!<br>
</div></div></blockquote></div><br>