New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22223 (new enhancement)

Opened 4 years ago

Last modified 18 months ago

Support BigTIFF format in GDAL

Reported by: adam@… Owned by: seanasy@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: gdal

Description

When built with internal libtiff or with libtiff >= 4.0, GDAL supports reading and writing BigTIFF files as described here: http://www.gdal.org/frmt_gtiff.html

GDAL in macports is currently 1.6.2 and the internal libtiff has been at version 4 since GDAL 1.5.0. The current libtiff in macports is 3.9.1 so the easiest way to support BigTIFF is to compile GDAL with the --with-libtiff=internal and --with-geotiff=internal options.

Change History

comment:1 Changed 4 years ago by macsforever2000@…

  • Owner changed from macports-tickets@… to seanasy@…
  • Type changed from defect to enhancement
  • Port changed from gdal @1.6.2_0 to gdal

comment:2 Changed 3 years ago by seanasy@…

If libtiff was updated, would that solve the problem as well? I prefer that solution if only to keep a system's number of installed tiff libraries down. But I could be convinced...

comment:3 Changed 3 years ago by katzlbt@…

I have verified that this works by creating a variant for my 1.7.0b1 version of this Port:

variant bigtiff description {Enable bigtiff support.} {

configure.args-delete --with-libtiff=${prefix} --with-geotiff=${prefix} configure.args-append --with-libtiff=internal --with-geotiff=internal

}

gdal 1.7.0 is about 100x faster in manipulating huge tiff images it is due any time now.

comment:4 Changed 2 years ago by jmr@…

The tiff port is not going to be updated to 4.x until there is a stable release. It's currently still in beta.

comment:5 Changed 18 months ago by katzlbt@…

Why wait if a variant adds BigTIFF support now? I am patching my Portfile with every release.

# BIGTIFF SUPPORT
variant bigtiff description {Enable bigtiff support.} {
	configure.args-delete	--with-libtiff=${prefix} --with-geotiff=${prefix}
	configure.args-append	--with-libtiff=internal --with-geotiff=internal
}
Note: See TracTickets for help on using tickets.