Skip to content

Switch to pmtiles, update planet data#413

Merged
michaelkirk merged 10 commits into
mainfrom
mkirk/update-planet-260420
May 13, 2026
Merged

Switch to pmtiles, update planet data#413
michaelkirk merged 10 commits into
mainfrom
mkirk/update-planet-260420

Conversation

@michaelkirk
Copy link
Copy Markdown
Member

No description provided.

@michaelkirk michaelkirk force-pushed the mkirk/update-planet-260420 branch from b442a66 to fc32802 Compare May 11, 2026 17:55
@michaelkirk michaelkirk force-pushed the mkirk/update-planet-260420 branch from 97d55b6 to a4da2e4 Compare May 12, 2026 22:16
Comment thread dagger/main.go
return rustContainer("git").
WithEnvVariable("CACHE_BUSTER", time.Now().String()).
WithExec([]string{"git", "clone", "--branch", "mkirk/fix-forwarding-header", "--depth=1", "https://github.com/michaelkirk/martin.git", "/martin"}).
WithExec([]string{"git", "clone", "--branch", "mkirk/relative-source-urls", "--depth=1", "https://github.com/michaelkirk/martin.git", "/martin"}).
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

www (maplibre-gl-js) was (mostly1) happy with relative URLs in the style.json, but maplibre-native wasn't able to construct them.

Footnotes

  1. tilejson and sprites worked with relative URLs, but glyphs didn't, so I fixed it with a style-transform handler, but I guess the good news is my hand was forced to fix this on the service side and thus I can get rid of that www client-side glyph hack.

@michaelkirk michaelkirk enabled auto-merge May 12, 2026 22:43
www (maplibre-gl-js) was (mostly[^1]) happy with relative URLs in the
style.json, but maplibre-native wasn't able to construct them.

[^1]: tilejson and sprites worked with relative URLs, but glyphs didn't,
so I fixed it with a style-transform handler, but I guess the good news
is my hand was forced to fix this on the service side and thus I can get
rid of that www client-side glyph hack.
Previously each tag invoked a fresh `dagger -c` session, so non-deterministic
build steps could produce different image digests per tag. Build the container
once per image and reuse it for every tag — via a new `publish-multi` Headway
function for the publish path, and `docker tag` after a single `export-image`
for the local-export path.
@michaelkirk michaelkirk force-pushed the mkirk/update-planet-260420 branch from 4cbcdcd to 7d0dc66 Compare May 13, 2026 18:53
@michaelkirk michaelkirk added this pull request to the merge queue May 13, 2026
Merged via the queue into main with commit bc4acd1 May 13, 2026
6 checks passed
@michaelkirk michaelkirk deleted the mkirk/update-planet-260420 branch May 13, 2026 19:25
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.

1 participant