Conversation
visr
reviewed
Jan 22, 2023
Comment on lines
+118
to
+119
| We assume tiles are the standard 256*256 pixels. Note that this is not an | ||
| enforced standard, and that retina tiles are 512*512. |
Member
There was a problem hiding this comment.
Perhaps it's best to directly add the tile size as an argument?
Member
Author
There was a problem hiding this comment.
Ok I considered that too. I guess a keyword with default is best.
Co-authored-by: Martijn Visser <mgvisser@gmail.com>
asinghvi17
reviewed
Apr 23, 2024
| We assume tiles are the standard 256*256 pixels. Note that this is not an | ||
| enforced standard, and that retina tiles are 512*512. | ||
| """ | ||
| function z_index(extent::Extent, res::NamedTuple, crs::WebMercator) |
Member
There was a problem hiding this comment.
Should this also accept tuples (x, y) as Makie does? In that case we can also make z_index(..., Tuple) = z_index(..., (; X = ..., Y = ...)) or so.
Member
There was a problem hiding this comment.
There should probably also be a catchall method to error when crs is not WebMercator (for now...)
asinghvi17
pushed a commit
that referenced
this pull request
Apr 13, 2025
Bumps [julia-actions/setup-julia](https://github.com/julia-actions/setup-julia) from 1 to 2. - [Release notes](https://github.com/julia-actions/setup-julia/releases) - [Commits](julia-actions/setup-julia@v1...v2) --- updated-dependencies: - dependency-name: julia-actions/setup-julia dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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
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.
Adds a function to get the z index for a specific extent and resolution.
Needs tests