[gdal-dev] GDAL PDF Export: Support for different page sizes and multi-paged PDF

Mandeep Singh mandeepsinghkalra at gmail.com
Tue Nov 14 09:56:43 PST 2023


Thanks, i tried the same but for some reason the vector data was not
displayed in the pdf i guess due to georeferenced control points

1) How do i set the control points based on page size and dpi, eg if i have
to use EPSG 3857 system. Is there any utility i can use to do this
conversion ?


2) In the vector dataset, can i use VRT file instead of shape files ?



Regards
Mandeep

On Tue, 14 Nov 2023 at 7:05 PM, Laurențiu Nicola via gdal-dev <
gdal-dev at lists.osgeo.org> wrote:

> Hi Mandeep,
>
> I've never used it, but perhaps you should try
> https://gdal.org/drivers/raster/pdf.html#creation-of-pdf-file-from-a-xml-composition-file-gdal-3-0 in
> combination with gdal_create?
>
> Laurențiu
>
> On Mon, Nov 13, 2023, at 14:02, Mandeep Singh via gdal-dev wrote:
>
> Hi,
>
> I am currently using the GDAL Library for exporting the PDFs. Using the
> gdal_translate command to generate the PDF from VRT, I am able to generate
> a PDF. I have below queries:
>
> - Is there any option to export a multi page PDF?
> - How can I control the page size of each page in the PDF ?
>
>
> Regards
> Mandeep
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20231114/bf219593/attachment.htm>


More information about the gdal-dev mailing list