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