Replies: 1 comment 5 replies
-
I agree the least ambiguous would be to express in units of tile size - the problem is that typical min area threshold would be around 1e-5 which isn't as easy to reason about compared to 1 square pixel at 256x256px resolution. For the yaml configs, I want to support configurable units like tiles, pixels, acres, meters, hectares, etc. (see #349) - what unit do you think you would use to describe 1 unit of the 4096x4096 output resolution? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Example:
planetiler/config-example.properties
Line 68 in 88c7f56
These parameters are a user-facing part of the API, and expressed in the
pixels
unit of 256x256, but this seems arbitrary:It could be more intuitive for profile or config authors to work with a model of 512x512 pixels, even though this becomes opinionated towards display in MapLibre GL. A display-agnostic choice would be to work in the actual dimensions of the output tiles, but this seems worse because the resolution of tiles could not be adjusted as a parameter (for example, using 2048x2048 pixels to achieve smaller tile sizes like Tippecanoe does)
Beta Was this translation helpful? Give feedback.
All reactions