[gdal-dev] Convert GeoPDF with gdal_translate

Even Rouault even.rouault at mines-paris.org
Tue Jan 7 13:02:24 PST 2014


Le mardi 07 janvier 2014 20:51:32, Pekka Sarkola a écrit :
> Hi!
> 
> 
> 
> Maybe newbie problem. I download GeoPDF file from
> http://lib.utexas.edu/maps/topo/nicaragua/ and try to get information with
> gdalinfo and translate with gdal_translate.
> 
> 
> 
> Both command response: "ERROR 4: `argelia-nicaragua-50k-3154iii-1981.pdf'
> not recognised as a supported file format."
> 
> 
> 
> GDAL version 1.10.1, both on Windows and Ubuntu. gdalinfo -formats
> recognize PDF-format as supported.
> 
> 
> 
> Is this on my installation or somewhere in gdal?

Not exactly your installation, but the build you've picked up. I've verified 
this is a valid geospatial PDF file recognized by the GDAL PDF driver.
I assume your GDAL build has only write support for geospatial PDF (which 
doesn't require any third-party library), but not read support that requires 
linking to a third-party library, like Poppler or Podofo. Unfortunately 
gdalinfo --formats can only report read/write support even when it's write-
only.

> 
> 
> 
> Rgs,
> 
> 
> 
> Pekka
> 
> --
> 
> Pekka Sarkola
> 
> Gispo Oy
> 
>  <mailto:pekka.sarkola at gispo.fi> pekka.sarkola at gispo.fi   - GSM +358 40 725
> 2042
> 
>  <http://www.gispo.fi> www.gispo.fi -  <http://www.paikkatieto.com>
> www.paikkatieto.com

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html


More information about the gdal-dev mailing list