GeoTIFF / GeoTIFF/georaster

Support Zipped TIFF Files

Open
#18 1 comment 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
JavaScript
Stars
96
Forks
37
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

Users sometimes have GeoTIFFs in zipped tiff file. For example, a file name could be something like `ndvi.tif.zip`

**Describe the solution you'd like**

Users should be able to be able to pass a (array)buffer of the zipped file to georaster, just as they can pass a buffer of an unzipped GeoTIFF. There may be a way to identify whether an buffer represents a zip file by looking for a magic number (i.e. byte identifier). There appears to be a few packages on NPM that do this. Therefore, the user won't have to specify the file type. They can just directly pass in a buffer and that's it.

**Describe alternatives you've considered**

None at the moment

**Additional context**

Basically, GeoTIFFs can get large and so people zip compress them. When people use mobile devices, it can be especially annoying and difficult to unzip tiff files. We want people to be able to use geotiff.io on mobile devices with .tiff.zip files.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating georaster's buffer-parsing entry point and the tests covering unzipped GeoTIFF buffers. Review how the input can distinguish zipped TIFF data, then verify that passing a zipped buffer works without callers specifying its type and that existing unzipped-buffer behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.