[gdal-dev] Convert GeoPDF with gdal_translate

Even Rouault even.rouault at mines-paris.org
Wed Jan 8 02:30:32 PST 2014


Le mercredi 08 janvier 2014 06:41:49, Pekka Sarkola a écrit :
> Thanks Even!
> 
> And also Jukka and Ari. Jukka: Is there still Windows machines in Finland?
> Interesting, Land of Linux ;-) Well, even I have few.
> 
> Ok, I try GDAL versions with 3rd party librariries
> 
> I agree with Ari: gdalinfo should some how show that it has only write
> option. This maybe bigger change. Should I add this to feature request
> page?

Well, I can imagine how that would be implemented - it would not be very 
complicated - but this is very low priority in my opinion. The PDF driver is 
the only one I can think of that can be configured in write-only mode.

> 
> Rgs,
> 
> Pekka
> 
> ---   Pekka Sarkola  -  pekka.sarkola at gispo.fi  -  www.paikkatieto.com  
> ---
> 
> -----Alkuperäinen viesti-----
> Lähettäjä: Even Rouault [mailto:even.rouault at mines-paris.org]
> Lähetetty: 7. tammikuuta 2014 23:02
> Vastaanottaja: gdal-dev at lists.osgeo.org; Pekka.Sarkola at gispo.fi
> Aihe: Re: [gdal-dev] Convert GeoPDF with gdal_translate
> 
> 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

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


More information about the gdal-dev mailing list