tileToBBOX output question
- Dominant language
- TypeScript
- Stars
- 288
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
Hi there, I'm using the tileToBBOX function to extract the bbox of a tile. Easy enough. My issue comes with reading the output. Let's say I have a point at coordinates Latitude 33.43386; Longitude 8.561223. Converting this to slippy map tilenames (https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames) x and y gives me 34326 and 26303 respectively at zoom level 16. When I run tileToBBOX i get the output 8.55835 -90.00000 1705.58899 33.43603 . I can see that the first and last coordinate make sense bearing in mind the original long-lat I've provided, but the middle values threw me off. I am a bit lost - is the second digit the angle of the tile, and the third one - the length of each side of the square? Can you provide some context as to what these two number mean and in general about the output of the function. Thank you!
Contributor guide
Research direction
Start with the tileToBBOX function and compare its output with the linked Slippy map tilenames convention. Determine what each of the four returned values represents, including the two values the reporter questions, and document the coordinate order and units so the example is understandable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100