[gdal-dev] turn off Orthoimage layer for USGS topos

Liu, Jian JLiu at eris.ca
Mon Sep 22 09:09:17 PDT 2014


Hello list,

I am just wondering if anybody has any experience with this-

I want to convert USGS Topos to Geotiff using GDAL. My command below seems to work well in general:

gdalwarp C:\JIANTestFolder\geo.pdf C:\JIANTestFolder\geo.tif -crop_to_cutline -cutline C:\JIANTestFolder\cutline.csv -overwrite --config GDAL_CACHEMAX 500 -wm 500 --config GDAL_PDF_LAYERS "ALL" --config GDAL_PDF_LAYERS_OFF Images.Orthoimage --config GDAL_PDF_DPI 250 -co "TILED=YES" -co "TFW=YES" -co "COMPRESS=JPEG" -co "PHOTOMETRIC=YCBCR"

Except for some files:
WI_Madison_West_20100723_TM_geo.pdf  (http://ims.er.usgs.gov/gda_services/download?item_id=5222418)
IL_Metropolis_20101018_TM_geo.pdf
LA_Union_Springs_20100930_TM_geo.pdf
ND_Lehr_20110324_TM_geo.pdf
TX_Panola_20100312_TM_geo.pdf
.......
......


For some reason, the Orthoimage layer cannot be turned off for these files. I've noticed these might be the early versions of the new generation USGS topos (for example, the 2013 Madison one works well with the command). Also I found people with similar issue here:
http://gis.stackexchange.com/questions/88988/gdal-conversion-of-us-topo-geopdfs

So I was wondering:

1.       Why this is happening? "Bad" file format in the earlier versions?

2.        For these files, separating orthoimage from others is not doable at all or there might be other workaround?

Thank you in advance for any insight you want to share. I much appreciate any suggestions/comments.

Best regards,
Jian Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20140922/b7529770/attachment.html>


More information about the gdal-dev mailing list