-
Notifications
You must be signed in to change notification settings - Fork 48
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
Tile extent should be 4096 inclusive #32
Comments
Related: #33. |
So they are basically saying that the range of values within a tile is
Which if these statements should we trust? |
I think it's possible for the doc to agree with itself, if we assume that coordinates are unlike pixels and have zero width. While a bitmap (for example) 10 pixels wide would have positions One way of thinking about it might be that pixels in raster images index the squares on a sheet of gridded paper, but the coordinates in vector tiles index the lines which separate the squares. I think it might be less confusing if the doc were (suggestions in italics):
|
@zerebubuth yes thank you, this makes sense to me now. |
Looks like the issue here is that after scaling, we truncate the point, whereas we'd probably want to round instead. |
Requires Tangram coordination – will there be overlaps and break boundary detection? |
/cc @bcamper |
Can we put it on a dev server so we can do a visual check? |
Definitely. We haven't implemented the change yet, and will let you know when it's on dev. |
@bcamper these changes should be live on dev now |
Looks good. |
I'll also ask the CartoDB folks to look at dev. |
From the Mapbox spec:
The text was updated successfully, but these errors were encountered: