Testing encoding / decoding of rasters in vtfx
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 4
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Working in https://github.com/mapbox/vtfx/tree/raster-query, beginning to test raster decoding / encoding with different image formats / pixel depths. Right now, in https://github.com/mapbox/vtfx/tree/raster-query/raster-tests:
1. Create a vector tile
2. Load and add image data to a vector tile
3. Write the vector tile to disk
4. Try decoding the vector tile with vtfx
5. Take the image data from the vector tile that was decoded with vtfx, and load it into mapnik
6. Try getting a pixel
Currently, these steps all work with 8 bit RGB tiles (image data from `.png`, but predictably fails at step 5 for 32 Bit Float "tiles" (image data from `.tif`). Going to try other formats and bit depths next.
cc: @springmeyer
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start on the raster-query branch and inspect the existing raster-tests workflow. Run the tests through the six listed steps, comparing the working 8-bit RGB PNG case with the failing 32-bit Float TIFF case at step 5. Done means the relevant image formats and pixel depths have defined test coverage and their decoding behavior is understood.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100