Brandon Liu

Results 553 comments of Brandon Liu

Hi, the current code isn't really meant to expose a programmatic API beyond the CLI. Copying those bits of low-level parts seems like a good enough solution for now. Because...

@akhenakh thanks - would adding utility functions for parsing headers help accomplish what you need for your project? On the topic of reading tiles - I don't think there is...

(Leaving this as a breadcrumb... https://go.dev/doc/modules/layout)

This would a good addition. I'd prefer keeping progress the default and adding `--quiet` instead of making quiet the default and adding `--progress`. What program is earlier in your pipeline...

If you are using the maintained version of tippecanoe https://github.com/felt/tippecanoe you can generate PMTiles directly and don't need to use go-pmtiles at all.

* move to go 1.21 and structured logging https://pkg.go.dev/log/slog to aid this

[The linux binary](https://github.com/protomaps/go-pmtiles/releases/tag/v1.9.2) does not need installation, you simply run the binary with `./pmtiles`. This should also obviate the need for Docker.

New docs for CLI here: https://docs.protomaps.com/pmtiles/cli

added Docker example here: https://docs.protomaps.com/pmtiles/cli#convert TMPDIR in Docker was resolved by https://github.com/protomaps/go-pmtiles/pull/171

Here's a way to work around it for now: ``` go run main.go serve . --bucket=file:///full/path/to/folder ``` The "bucket" is a path like `file://` or `s3://` while the `.` is...