Saturday, 29 December 2018

editing - How do I remove the orthoimage layer from the new USGS GeoPDF topo maps?


I would like to remove the orthoimage layer from a USGS Topo GeoPDF map. I have Adobe Acrobat Pro 9, but can't find a way to delete a layer. I've tried setting the layer to "Never export" then exporting the pdf, but the image is still there (and in the process I have somehow deleted the geo-referencing info).



Answer



Deleting Layers in PDF files should be straightforward, unfortunately not. The user has to create another file to do this with the layer in question.


But some PDF's are locked down. This workaround breaks the security down. Windows (not tried on a Mac)



"If you try to use Adobe's PDF printer driver, it will detect that you are attempting to export a secured PDF to a fresh file and it will refuse to continue. Even third-party PDF print drivers tend to choke on such files. However, by using the XPS Document Writer, you effectively circumvent that check entirely" http://www.techrepublic.com/blog/windows-and-office/how-do-i-circumvent-pdf-editing-security/




The unwanted layers always reappear after flattening / merging / saving As, even when you hide them.


Here's what worked:


1) HIDE the layers you want to KEEP. (The layers you want to delete remain visible).


2) Select Tools > Advanced Editing > Touch-up Text Tool.


3) Hit Ctrl-A to select all visible text objects.


4) Hit Delete.


5) Select Tools > Advanced Editing > Touch-up Object Tool.


6) Hit Ctrl-A to select all visible objects.


7) Hit Delete.


8) Now, you want to "merge away" the unwanted layers, which are now empty. In the Layers pane, Click the "Options" pull-down and select "Merge Layers...".



9) Hold down CONTROL and click all the UNWANTED (empty) layers.


10) Click "Add".


11) In the right-hand pane (target layer), select the first layer that you want to KEEP. This will basically merge that layer with all the empty ones, and in effect, delete the empty layers.


12) Hit OK, and you're done. When you save the file, the layers you want to preserve are preserved, and the file size is smaller, reflecting the "deleted" layers.


http://forums.adobe.com/thread/546374


Technically not a GIS-SE question but is geo-image related.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...