[gdal-dev] Georeference a pdf file

Andrew C Aitchison andrew at aitchison.me.uk
Thu Nov 6 01:30:17 PST 2025


On Thu, 6 Nov 2025, Paul via gdal-dev wrote:

> I have a PDF file with a map, but without georeferenced parameters.
> I know what coordinate reference system the PDF-map is drawn in.
> Now I would like to  georeferenced that PDF file, just add needed information. I have the coordinates for the 4 corners in WGS84.
> I do not want to use gdalwarp as it warps the picture.
> I only want to add the georeferenced to the PDF file, is that possible with GDAL?

gdal_translate has lots of options for adding a georeference.
I don't know what would happen for a vector pdf, but if it is
a raster there should heno problem translation from a pdf to 
a pdf.

Note that you need the corners of the image file;
many maps have a border, so the corners of the map
may not be the same.

-- 
Andrew C. Aitchison                      Kendal, UK
                    andrew at aitchison.me.uk


More information about the gdal-dev mailing list