Geometries and title are stored in postgis db. Raster file is stored somewhere on my server. I could creat qgis project and use it's libraries to do that but it takes a lot of time to open qgis and generate pdf. My question is: Is it possible to generate pdf with those components using just ogr and gdal ? or maybe there is better solution.