Skip to content

Per-layer drop_rate and encode knobs (TileConfig is global) #7

Open

Description

@jimbrig

Parent: #2
Related: multi-layer files/queries.

Current behavior

TileConfig is process-wide: one drop_rate, cluster_*, coalesce, simplification for all layers. A TIGER overlay that must not drop cannot share an archive with parcels at drop_rate ≈ 4 even on the existing sf multi-layer path.

Goal

Per-layer encode options on the layer spec (drop_rate, base_zoom, maybe simplification / coalesce). Kernel must apply drop/cluster per LayerData, not only from a global config.

Can land in the same PR as multi-layer files if the config change is small; otherwise immediately after, or multi-layer files are not usable for mixed themes.

Activity

  1. added
    enhancement
    on Aug 24, 2026
  2. jimbrig commented on Nov 14, 2026

    @jimbrig
    OwnerAuthor

    Grounding (2026-11-14)

    TileConfig remains process-wide (now includes gzip_level from upstream PR walkerke#32 on wip/layered-tiler-absorb). LayerData only carries zooms.

    Land with or immediately after #3 — otherwise multi-source archives cannot mix TIGER (no drop) with parcels (drop_rate≈4). Recipes (#8) will emit these same knob names; do not invent a parallel vocabulary.

    gzip_level can stay archive-global (compresses the finished multilayer tile blob) even when drop/cluster are per-layer.

    Workbook: https://github.com/jimbrig/freestiler/blob/wip/layered-tiler-absorb/dev/docs/issues-review.md §#7

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions