MapColonies / MapColonies/vector-tiles-rasterizer

APP_RATIO produces strange images

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
When the APP_RATIO value is set to 1 everything works fine. Then I changed it to 2. When I request e.g. the file /1/1/1.png then the image looks like this:
1

To Reproduce
Steps to reproduce the behavior:

  1. Build the Docker image as provided
  2. Deploy to kubernetes cluster
  3. Set the environment variable APP_RATIO to "2"
  4. Request some image

Expected behavior
Correctly rendered image.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by building the provided Docker image, deploying it to Kubernetes, setting APP_RATIO to "2", and requesting /1/1/1.png. Inspect the image-rendering path reached by that request; done means the output is rendered correctly with APP_RATIO set to 2.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, kubernetes, typescript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.