On 25 May 2016 at 17:12, Even Rouault <[email protected]> wrote:
> The following extract from the driver should hopefully answer your questions : > more or less yes, now I understood a little bit more but.. > double dfUserUnit = dfDPI * USER_UNIT_IN_INCH; > double dfWidthInUserUnit = nWidth / dfUserUnit + sMargins.nLeft + > sMargins.nRight; > double dfHeightInUserUnit = nHeight / dfUserUnit + sMargins.nBottom + > sMargins.nTop; > > --> nWidth and nHeight are the dimensions of the source raster in pixel. > if I have no raster how can I found this two values? -- ciao Luca www.lucadelu.org _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
