in baremaps-pmtiles/src/main/java/org/apache/baremaps/pmtiles/Header.java [103:153]
public Header(
int specVersion,
long rootDirectoryOffset,
long rootDirectoryLength,
long jsonMetadataOffset,
long jsonMetadataLength,
long leafDirectoryOffset,
long leafDirectoryLength,
long tileDataOffset,
long tileDataLength,
long numAddressedTiles,
long numTileEntries,
long numTileContents,
boolean clustered,
Compression internalCompression,
Compression tileCompression,
TileType tileType,
int minZoom,
int maxZoom,
double minLon,
double minLat, double maxLon,
double maxLat,
int centerZoom,
double centerLon,
double centerLat) {
this.specVersion = specVersion;
this.rootDirectoryOffset = rootDirectoryOffset;
this.rootDirectoryLength = rootDirectoryLength;
this.jsonMetadataOffset = jsonMetadataOffset;
this.jsonMetadataLength = jsonMetadataLength;
this.leafDirectoryOffset = leafDirectoryOffset;
this.leafDirectoryLength = leafDirectoryLength;
this.tileDataOffset = tileDataOffset;
this.tileDataLength = tileDataLength;
this.numAddressedTiles = numAddressedTiles;
this.numTileEntries = numTileEntries;
this.numTileContents = numTileContents;
this.clustered = clustered;
this.internalCompression = internalCompression;
this.tileCompression = tileCompression;
this.tileType = tileType;
this.minZoom = minZoom;
this.maxZoom = maxZoom;
this.minLon = minLon;
this.minLat = minLat;
this.maxLon = maxLon;
this.maxLat = maxLat;
this.centerZoom = centerZoom;
this.centerLon = centerLon;
this.centerLat = centerLat;
}