Hi,

_My question :_
Is there a way to gdal_translate / gdalwarp the PDF file without EXPLICITLY extracting the neatline ?
No. Your above method is the nominal one.

I tried to use the "*-oo NEATLINE=something*" option :
gdal_translate -of GTiff -oo NEATLINE="POLYGON ((467455.095191925 4427281.84826825,467455.105581267 4442204.97588751,479233.89727774 4442204.58886474,479234.013428373 4427281.65662041,467455.095191925 4427281.84826825)) Boulder_400010515_FSTopo.pdf Boulder_400010515_FSTopo.pdf.tif

This won't work. As documented, this must be a name of a "Measure" PDF object. This is in the case of a PDF with multiple georeferenced areas (like US with an Alaska or Hawaai inset map). And by itself, this will not crop the raster, but just expose the pointed Measure as the NEATLINE metadata.

Even

--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to