-
-
Notifications
You must be signed in to change notification settings - Fork 215
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
Refactorings, content-type/enc, cli parsing, tests, minor fixes #548
Conversation
Splitting from maplibre#517 * introduce a new Connections object to track all positional strings passed as the CLI arguments * make xyz use better types - u8 for zoom, u32 for x&y. Postgres casts those to INT2 and INT8 * minor bug in pre-push git hook
Codecov ReportBase: 60.42% // Head: 61.80% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #548 +/- ##
==========================================
+ Coverage 60.42% 61.80% +1.37%
==========================================
Files 23 25 +2
Lines 1933 1987 +54
==========================================
+ Hits 1168 1228 +60
+ Misses 765 759 -6
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Merge after #548 Adds a new [.pmtiles](https://protomaps.com/docs/pmtiles/) backend. Supports all formats like png, vector, etc. From CLI, can be as easy as adding a path to a directory that contains a .pmtiles file: ```bash # All *.pmtiles files in this dir will be published. # The filename will be used as the source ID martin ./tests/fixtures ``` From configuration file, the path can be specified in a number of ways: ```yaml pmtiles: paths: # scan this whole dir, matching all *.pmtiles files - /dir-path # specific pmtiles file will be published as pmtiles2 source - /path/to/pmtiles2.pmtiles sources: # named source matching source name to a single file pm-src1: /tmp/pmtiles.pmtiles # named source, where the filename is explicitly set. This way we will be able to add more options later pm-src2: path: /tmp/pmtiles.pmtiles ``` Fixes #508
/catalog
response (json)