You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A tile source could be a file like foo.pmtiles or bar.mbtiles - both of which contain just one set of tiles. Moreover, at least mbtiles stores some metadata as well to make the creation of tilejson relatively easy.
We need a configuration schema that:
publish a single file as a source, with the file name being the source ID
same but publish a list of files
publish a whole directory(s) of files, possibly with a glob pattern
add some configuration params to a single file like maxzoom
add some configuration params to all the files discovered in a directory(s)
# Single filepmtiles: /path/to/file.pmtiles# Directory of files - will only look at *.pmtilespmtiles: /path/to/dir# A few paths and a few source IDspmtiles:
paths:
- /dir-path
- /path/to/pmtiles2.pmtilessources:
pm-src1: /tmp/pmtiles.pmtilespm-src2:
path: /tmp/pmtiles.pmtilesmaxzoom: 10# A map of source-IDs to individual files -- this method wouldn't handle multiple files though,# or else it would need to ignore the ID if the path is a directory, which is not very clear to the users.pmtiles:
id1: /dir/pathid2: /file.mbtilesid3:
path: /foo/barmaxzoom: 10# A list of objects (similar to PG), where each could be either a file or a dir. A bit verbose to specify the ID# CONs: possibly a bit less ergonomic because the ID must be specified explicitly, but at the same time# if the file name is good enough as the ID, this is the cleanest approach.pmtiles:
- path: file.mbtilesid: foomaxzoom: 10
- path: /pathmaxzoom: 11
The text was updated successfully, but these errors were encountered:
A tile source could be a file like
foo.pmtiles
orbar.mbtiles
- both of which contain just one set of tiles. Moreover, at least mbtiles stores some metadata as well to make the creation of tilejson relatively easy.We need a configuration schema that:
maxzoom
ideas
The text was updated successfully, but these errors were encountered: