Skip to content

Pdok 18835/vervanging trex v2 tile detection - #44

Open
DvBree wants to merge 17 commits into
PDOK-18835/vervanging-trex-v2-vertegelingfrom
PDOK-18835/vervanging-trex-v2-tile-detection
Open

Pdok 18835/vervanging trex v2 tile detection#44
DvBree wants to merge 17 commits into
PDOK-18835/vervanging-trex-v2-vertegelingfrom
PDOK-18835/vervanging-trex-v2-tile-detection

Conversation

@DvBree

@DvBree DvBree commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Description

Added options to texel for detecting which tiles a geometry lies on, including option with buffer. Two mechanisms for detecting tiles have been added: BBox, using the bbox of the polygon in question, and LineTrace, tracing the edge of the polygon and finding tiles on the inside. Tiles on the inside are encoded by a default precomputed tile-filling square.

Changes to interface:

  • Added tilebuffer (buf) as flag, in internal pixel size. Default 0.
  • Added uselinetrace (lt) as flag. true means using linetrace, false means using bbox for tile detection. Default false.

Both flags are only relevant if encoding is enabled.

Type of change

  • New feature

Checklist:

  • I've double-checked the code in this PR myself
  • I've left the code better than before (boy scout rule)
  • The code is readable, comments are added that explain hard or non-obvious parts.
  • I've expanded/improved the (unit) tests, when applicable
  • I've run (unit) tests that prove my solution works
  • There's no sensitive information like credentials in my PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants