[gdal-dev] Convert GeoPDF with gdal_translate

Ari Jolma ari.jolma at gmail.com
Tue Jan 7 13:19:20 PST 2014


On 01/07/2014 11:02 PM, Even Rouault wrote:
> 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.


I see this now - I don't have poppler nor podofo right now in this 
machine. The information (read and/or write - in my case only write) is 
in the meta data of the driver but it is not exposed well by gdalinfo. 
Is there any chance for improving gdalinfo in this respect?

Ari


>
>>
>>
>> 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



More information about the gdal-dev mailing list