Mercurial > cgi-bin > hgweb.cgi > TopoTiler
changeset 12:698b3335a63d default tip
Fix leading comment.
author | David Barts <n5jrn@me.com> |
---|---|
date | Thu, 26 Aug 2021 23:06:33 -0700 |
parents | 6e4a8ddacf61 |
children | |
files | make-tile |
diffstat | 1 files changed, 1 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/make-tile Thu Aug 26 13:50:18 2021 -0700 +++ b/make-tile Thu Aug 26 23:06:33 2021 -0700 @@ -1,16 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# should honor GDALBIN, if set, else use PATH -# https://opengislab.com/blog/2016/4/2/usgs-geopdf-to-geotif-with-gdal -# gdalinfo -json -mdd LAYERS gunk.pdf -# build list of all non-Map.Frame.* layers -# to that add Map_Frame.Projection_and_Grids -# First: -# gdal_translate gunk.pdf /tmp/xxxxx.tif -of GTiff --config GDAL_PDF_LAYERS_OFF Map_Collar,Map_Frame.Projections_and_Grids,Map_Frame.Terrain.Shaded_Relief,Images.Orthoimage --config GDAL_PDF_DPI 300 -# Then: -# gdal_translate /tmp/xxxxx.tif gunk.tif -of GTiff -srcwin xoff yoff xsize ysize -# Need to filter out all errors containing: insufficient arguments for Marked Content -# also fiter out: More than 1000 errors or warnings have been reported. No more will be reported from now. +# Make a tileable GeoTIFF from a USGS National Map GeoPDF. # I m p o r t s