[gdal-dev] Page-size of GeoPDF.
even.rouault at spatialys.com
Tue Feb 14 13:12:07 PST 2017
On mardi 14 février 2017 19:43:35 CET Olsen Aron wrote:
> Thanks Even!
> I have tried downloading various versions of GDAL (stable and dev).
> In the documentation, the WRITE_USERUNIT option is said to be supported from
> GDAL version 2.2. As such, I am not sure what download to use, as the
> latest is of 2.1.+ only.
The dev version is 2.2dev, so any thing that mentions 2.2 in the doc requires it.
> Well, having used the RUPS app of IText 5.1 I believe I can conclude, that
> the latest 2.1+ do implement support for WRITE_USERUNIT as I see it updated
> to 2.77777... corresponding to 200 / 72. Nevertheless, setting DPI=200,
> WRITE_USERUNIT=YES and having the sample raster embedded, I don't yield an
> A4 page-size in AAR. It's the same size as without WRITE_USERUNIT=YES. I do
> notice though, that the size of the MediaBox in PDF changes downwards
You should try with WRITE_USERUNITS=NO or not specifying it at all.
> As said, I have no a priori knowledge of PDF, but for now, I am looking more
> I will get back when I have performed a more thourough investigation of what
> is and what is not. Regards,
> From: Even Rouault [mailto:even.rouault at spatialys.com]
> Sent: 12. februar 2017 20:56
> To: gdal-dev at lists.osgeo.org
> Cc: Olsen Aron <aron.olsen at sweco.dk>
> Subject: Re: [gdal-dev] Page-size of GeoPDF.
> > Can I somehow accomplish this using the new WRITE_USERUNITS option, or
> > what?
> Hopefully yes. As soon as you specify DPI with GDAL trunk, it implies
> Spatialys - Geospatial professional services
Spatialys - Geospatial professional services
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev