Opened 14 years ago

Closed 14 years ago

#29 closed enhancement (worksforme)

Flag to geotifcp to preserve geotiff tags

Reported by: togr Owned by: warmerdam
Priority: normal Milestone:
Component: libgeotiff Version:
Keywords: geotifcp Cc:

Description

Some features of geotifcp would be useful simply as a means to change properties for existing geotiff files (e.g. to compress, tile etc). Currently, this is achievable using

listgeo orig.tif > meta.txt

geotifcp -g meta.txt -t -c 2 orig.tif new.tif

but it would be more elegant (and not subject to loss of precision in conversion to text and back) if geotifcp had a flag (or default behaviour) to simply copy over whatever geotiff tags were present in the input tiff file.

Change History (1)

comment:1 by togr, 14 years ago

Resolution: worksforme
Status: newclosed

Upon further investigation, it seems that (in the absence of -g or -4 flags), this is exactly what geotifcp does. My bad.

Note: See TracTickets for help on using tickets.