question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tilecover with the same min and max zoom creates unpredictable results

See original GitHub issue

screen shot 2016-11-02 at 11 01 03 trying to cover the US with min_zoom:7, max_zoom: 7 - no coastal tiles, and lots of scattered random ones

screen shot 2016-11-02 at 11 28 09 if I generate tiles with min_zoom: 6, max_zoom: 7 then use tilebelt to get the child-tiles for z6 tiles, I get what I was expecting

Interestingly, both runs result in the same number of tiles, which suggests there’s just some data flow issue where the coastal tiles get their coordinates scrambled up

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
mournercommented, Nov 23, 2016

@bkowshik I think this can be an expected output — it may return adjacent tiles because the tile coordinate in mercator is unprojected to latitude/longitude bbox, which is subject to floating point precision errors, and then tiles that had a border exactly matching a tile side can start overlapping it slightly.

However, the cases in the first two comments look like serious bugs.

0reactions
mournercommented, Dec 14, 2016

@tcql I have to close this as not reproducible on the tile-cover side. Please feel free to reopen after we have a reproducible test case.

Read more comments on GitHub >

github_iconTop Results From Across the Web

zoom level | Help - Mapbox docs
Zoom level Latitude 0 (Equator) Latitude ±20 (Mexico City; Mutar... 0 78271.484 meters/pixel (256796.21 feet/pixel) 73551.136 meters/pixel (241309... 1 39135.742 meters/pixel (128398.10 feet/pixel) 36775.568 meters/pixel...
Read more >
Min/Max zoom levels for a TileLayer - GIS Stack Exchange
According to the openlayers documentation, ol.source.XYZ has a minZoom and maxZoom parameter. However these do not show the desired effect.
Read more >
How to set webmap max zoom greater than 19?
I want to make a web map using tiles stored in mapbox. Notice how you can zoom into zoom level 21 in the...
Read more >
https://raw.githubusercontent.com/mapbox/mapbox-gl...
Fixed `clusterMaxZoom` so that it is not capped by the source `maxzoom`. ... `fitBounds` had an unexpected result with non-zero bearing and uneven...
Read more >
Zoom levels and tile grid - Azure Maps - Microsoft Learn
Min (Math.Max(n, minValue), maxValue); } /// <summary> /// Calculates width and height of the map in pixels at a specific zoom level from ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found