I'm converting some GeoPDF files to TIFF.  I want to crop, and I need to
re-project.  I can do one or the other, but, when I combine them, all I get
is a black output.

The base command is:
gdalwarp -multi -co "TILED=YES" infile.pdf outfile.tiff --config
GDAL_PDF_LAYERS_OFF "Map_Collar","Map_Frame.Projection_and_Grids"

Then, I use either:
-crop_to_cutline -cutline cutline.csv -overwrite
or
-t_srs EPSG:3785

Either of these works.  Just not both.  Are the two options mutually
exclusive?

As an aside, when cropping, how do I make the area outside of the image
transparent instead of black?

Thanks.
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to