Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/airbusgeo/cogger
/ functions
Functions
66 in github.com/airbusgeo/cogger
⨍
Functions
66
◇
Types & classes
19
↓ 21 callers
Method
writeArray
(w io.Writer, tag uint16, data interface{}, tags *tagData)
field.go:161
↓ 20 callers
Function
arrayFieldSize
(data interface{}, bigtiff bool)
field.go:33
↓ 14 callers
Method
NextOffset
()
cog.go:425
↓ 10 callers
Method
writeField
(w io.Writer, tag uint16, data interface{})
field.go:378
↓ 9 callers
Method
NPlanes
()
cog.go:98
↓ 7 callers
Method
NTilesX
()
cog.go:92
↓ 7 callers
Method
NTilesY
()
cog.go:95
↓ 7 callers
Method
TileIdx
(x, y, plane int)
cog.go:105
↓ 5 callers
Method
Pyramid
()
stripper.go:203
↓ 4 callers
Function
NewStripper
NewStripper create a stripper for an image of given width and height. Default options are: - 64 MPixel strips - 256x256 internal tiling - overviews do
stripper.go:135
↓ 4 callers
Method
computeStructure
(ifd *IFD)
cog.go:278
↓ 4 callers
Method
tileStripIdx
given a tile x,y inside the output cog, return the corresponding strip and the index stripx,stripy of the tile inside that strip
stripper.go:372
↓ 4 callers
Function
unmarshalIFD
(ifd tiff.IFD)
stripper.go:361
↓ 4 callers
Method
writeIFD
(w io.Writer, ifd *IFD, offset int, striledata *tagData, next bool)
cog.go:786
↓ 3 callers
Function
DefaultConfig
()
cog.go:444
↓ 3 callers
Function
InternalTileSize
InternalTileSize sets the internal tiling size of the TIF file
stripper.go:47
↓ 3 callers
Method
SetPlanarInterleaving
SetPlanarInterleaving configures a non-default planar interleaving for this ifd. Must be called after AddMask.
cog.go:125
↓ 3 callers
Function
testCase
(t *testing.T, expected_filename string, filenames ...string)
cogger_test.go:14
↓ 3 callers
Method
tileLen
(idx int)
cog.go:119
↓ 2 callers
Method
AddMask
AddMask sets msk as a mask for ifd. Must not be called after SetPlanarInterleaving
cog.go:227
↓ 2 callers
Method
AddOverview
(ovr *IFD)
cog.go:181
↓ 2 callers
Method
AssembleStrips
AssembleStrips takes the strips that have been created by following the corresponding Pyramid structure. The ordering of the strip readers in the srcS
stripper.go:399
↓ 2 callers
Function
FullresStripHeightMultiple
FullresStripHeightMultiple forces the strip height to be a multiple of the given heightBase value provided. This can be useful to ensure that the full
stripper.go:116
↓ 2 callers
Function
Rewrite
Rewrite reshuffles the tiff bytes provided as readers into a COG output to out Use Config.Rewrite in order to use non-default options
loader.go:59
↓ 2 callers
Method
RewriteIFDTree
(ifd *IFD, out io.Writer)
cog.go:782
↓ 2 callers
Method
RewriteIFDTreeSplitted
(ifd *IFD, headerOut, tileDataOut io.Writer)
cog.go:765
↓ 2 callers
Method
Size
()
stripper.go:505
↓ 2 callers
Method
TileFromIdx
(idx int)
cog.go:109
↓ 2 callers
Function
arrayFieldSize32
(data interface{}, bigtiff bool)
field.go:10
↓ 2 callers
Method
assembleLevelStrips
(srcStrips []tiff.ReadAtReadSeeker)
stripper.go:417
↓ 2 callers
Method
ifdInterlacing
todo: rename this
cog.go:1106
↓ 2 callers
Method
rewriteIFDHeader
(out io.Writer)
cog.go:599
↓ 2 callers
Method
setDefaultPlanarInterleaving
()
cog.go:155
↓ 2 callers
Method
stripping
(srcWidth, srcHeight, dstWidth, dstHeight int)
stripper.go:293
↓ 2 callers
Method
tiles
(entries entries)
cog.go:1126
↓ 2 callers
Method
writeArray32
(w io.Writer, tag uint16, data interface{}, tags *tagData)
field.go:148
↓ 1 callers
Method
Data
(data []byte)
cog.go:1072
↓ 1 callers
Method
Error
()
stripper.go:36
↓ 1 callers
Method
InternalTileSize
()
stripper.go:57
↓ 1 callers
Function
MinOverviewSize
MinOverviewSize sets the minimal overview size of the TIF file. i.e. overviews will stop being added once one of width or height has reached this valu
stripper.go:64
↓ 1 callers
Method
Rewrite
(out io.Writer, readers ...tiff.ReadAtReadSeeker)
loader.go:63
↓ 1 callers
Method
RewriteSplitted
(headerOut, dataOut io.Writer, readers ...tiff.ReadAtReadSeeker)
loader.go:67
↓ 1 callers
Function
TargetPixelCount
Approximate number of pixels to use for a single strip. i.e. a single subjob will have to process approximately this number of pixels, whatever the si
stripper.go:98
↓ 1 callers
Method
computeImageryOffsets
the space at the start of the last line is required to make room for changing NO to YES
cog.go:522
↓ 1 callers
Function
loadIFD
(r tiff.ReadAtReadSeeker, tifd tiff.IFD)
loader.go:36
↓ 1 callers
Function
loadTIFFs
(tifRs []tiff.ReadAtReadSeeker)
loader.go:11
↓ 1 callers
Function
process
(input string, output string, numworkers int, creationOptions []string)
cmd/pcogger/parallel-cogger.go:32
↓ 1 callers
Method
pyramid
(width, height int)
stripper.go:261
↓ 1 callers
Function
run
(ctx context.Context)
cmd/cogger/main.go:25
↓ 1 callers
Method
writeHeader
(w io.Writer)
cog.go:460
↓ 1 callers
Method
writeTileData
(out io.Writer)
cog.go:722
Method
DAG
Compute the DAG for a Pyramid.
stripper.go:223
Function
ExampleStripper
()
stripper_test.go:75
Method
FullresStripHeightMultiple
()
stripper.go:126
Method
MinOverviewSize
()
stripper.go:74
Function
OverviewCount
OverviewCount forces the number of overviews to create. By default we create as many as needed in order to reach a size that fits into a single intern
stripper.go:81
Method
OverviewCount
()
stripper.go:91
Method
RewriteIFDHeader
(ifd *IFD, out io.Writer)
cog.go:751
Method
Size
()
stripper.go:40
Method
TargetPixelCount
()
stripper.go:108
Function
TestCases
(t *testing.T)
cogger_test.go:48
Function
TestFullresStripHeightMultipleCount
(t *testing.T)
stripper_test.go:41
Function
TestMultiFiles
(t *testing.T)
cogger_test.go:63
Function
TestStripperOverviews
(t *testing.T)
stripper_test.go:14
Function
main
This program is an example implementation using cogger's stripping functionalities to produce a COG using parallel/multi-threaded conversions
cmd/pcogger/parallel-cogger.go:17
Function
main
()
cmd/cogger/main.go:16