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 > accordingly. 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 > harder. > > I will get back when I have performed a more thourough investigation of what > is and what is not. Regards, > Aron > > From: Even Rouault [mailto:[email protected]] > Sent: 12. februar 2017 20:56 > To: [email protected] > Cc: Olsen Aron <[email protected]> > Subject: Re: [gdal-dev] Page-size of GeoPDF. > > > Aron, > > > 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 > WRITE_USERUNITS=NO. > > > > Even > > > > > > -- > > Spatialys - Geospatial professional services > > http://www.spatialys.com -- Spatialys - Geospatial professional services http://www.spatialys.com
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
