I created a figure in Python with raster and vector data. I can save it to a PDF but I need to save it as a geospatial PDF with metadata like transform and PROJCS to open in apps like Avenza Maps. How can I do that?
I'm using rasterio, Cartopy, GeoPandas and matplotlib to create the image.