Great.
Thanks Even

On Fri, Nov 17, 2023 at 5:13 PM Even Rouault <even.roua...@spatialys.com>
wrote:

> 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.
>
>
The information in this e-mail is confidential. The contents may not be 
disclosed or used by anyone other than the addressee. Access to this e-mail by 
anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and 
delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of 
this e-mail as it has been sent over public networks. If you have any concerns 
over the content of this message or its Accuracy or Integrity, please contact 
Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus 
scanning software but you should take whatever measures you deem to be 
appropriate to ensure that this message and any attachments are virus free.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to