-
Notifications
You must be signed in to change notification settings - Fork 1
Integrate tileserver #149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Integrate tileserver #149
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* multiscale-layers: Both carto and carto_slim seem to work now Added a layer definition for carto-slim Basic layer defs for carto A pretty nice dynamic tile layer Updated basic function layer A basic function layer A halfway reasonable tileserver API Basic function layer Updated management SQL functions Created a CLI for producing SQL functions Added tile-bounds calculating fixtures Moved reference queries to same file Added outdated seed script files from macrostrat-utils as reference material
* multiscale-layers: Handle cors at the webserver level Updated some functions Updated tile utils
* v2: Handle cors at the webserver level Updated some functions Updated tile utils Both carto and carto_slim seem to work now Added a layer definition for carto-slim Basic layer defs for carto A pretty nice dynamic tile layer Updated basic function layer A basic function layer A halfway reasonable tileserver API Basic function layer Updated management SQL functions Created a CLI for producing SQL functions Added tile-bounds calculating fixtures Moved reference queries to same file Added outdated seed script files from macrostrat-utils as reference material
* cartocss: Better checking for bad colors Simplify stylesheet generation Greatly increase the speed of Mapnik tile generation by using data-driven styles Updated map display Mapnik layers work amazingly well
* mapnik: Slightly nicer style management Better checking for bad colors Simplify stylesheet generation Greatly increase the speed of Mapnik tile generation by using data-driven styles Updated map display Mapnik layers work amazingly well Basic image serving works Added some extremely basic tests Added skeletal build scripts for tileserver docs WIP update tile pages Remove some build dependencies Add mapnik compilation to dockerfile
* tile-caching: Updated URLs for image tiles Updated cache definitions Updated cache management Saves tiles to cache but doesn't recover them properly Start working towards a viable cache system
* separate-legacy-tileserver: Updated release tagging scripts Updated lockfiles and dependencies Updated services Allow mvt to be served from legacy tile server as well Works better with tile caching Streamlined tileserver utils Improved scripts to build images Slightly improved cache pool Slightly adjust styles for efficiency Updated map styling Updated map cache queue Tileserver actually works Partially working legacy tileserver Starting point for separating tile servers
* update-tileserver: Draft new Github actions workflows Small adjustments to index page Streamlined tileserver and removed archival files Updated legacy tileserver and docker files Start streamlining tileserver code Updated tileserver Updated macrostrat.tileserver Updated tileserver building Include new utility functions
…rate-tileserver * origin/integrate-tileserver: Format code and sort imports
This was referenced May 22, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Integrate tileserver from the
UW-Macrostrat/tileserverrepository, which is now archived.We're making this integration because the tileserver needs to become multiple services anyway, due to different technical requirements between Mapnik, RasterIO, and other dependencies for different types of tile serving. We'd also like to more closely integrate tile services with other "API v3" elements in the future. Housing all of these components in the same codebase should be helpful for integration tests, sharing components between services, etc. However, this will be slightly unwieldy (especially with a lot of noise in github issues). We'll see how it goes.
Changes
macrostrat.tileserver_utilsmodulescripts/prepare-servicesto compile wheels of local Python packages, stage them in service directories, and lock dependenciesscripts/tag-releasesscript to create version tags that can be consumed by Github CI pipelinesFuture updates
These next steps are tracked in #150
Preparing Docker images using Poetry was quite intricate during this, suggesting that migrating to UV (#89) might be worthwhile