[gdal-dev] Something wrong with writing a big raster into PDF

Rahkonen Jukka (Tike) jukka.rahkonen at mmmtike.fi
Fri Mar 7 05:20:13 PST 2014


Hi Even,

Yes, that way I can perhaps create an all-white PDF map a bit faster but with no other improvement, unfortunately.

-Jukka-

Even Rouault wrote:
> 
> Hi Jukka,
> 
> did you try with -co TILED=YES ?
> 
> Even
> 
> 
> > Hi,
> >
> > I can't make usable pdf files from some original maps and I do not
> > understand what goes wrong.
> > I am testing on Windows 7 and GDAL-dev from gisinternals, both 32 and
> > 64 bit. Images are like this one:
> >
> >
> http://kartat.kapsi.fi/files/taustakarttasarja/taustakartta_80/5m/etrs89/png/U
> M5L.png
> >
> > Command can be simplified to
> > gdal_translate -of pdf UM5L.png UM5L.pdf Everything seems to go
> > alright and gdalinfo shows normal information from the pdf. However,
> > if I open the UM5L.pdf file with Acrobat Reader it does not show a
> > map. Everything is just pure white.
> >
> > I planned to check what happens if read the map back from pdf as
> > gdal_translate -of gtiff um5l.pdf um5l.tif After fifteen minutes I
> > estimate that the output will be ready after an hour or so which is
> > all too slow for a Corei7 CPU and 8GB of RAM.
> >
> > I had another try with the same binaries with a small png file
> > (2000x2000
> > pixels) and conversion into pdf was fast and successful. Is there
> > perhaps something that does not scale up properly when the raster size gets
> bigger?
> >
> > -Jukka Rahkonen-
> >
> >
> >
> > _______________________________________________
> > gdal-dev mailing list
> > gdal-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/gdal-dev
> >
> 



More information about the gdal-dev mailing list