-
Notifications
You must be signed in to change notification settings - Fork 52
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
At some zoom levels some tiles are not rendered #27
Comments
In addition to first comment, second image is at zoom 13, and third at zoom 14. Also, I've noted that when I'm using MapsUI instead of missing tiles I can see tiles from previous zoom levels, which are blurry and have lot of pixelation, and this is not the only location where it is visible (or not visible) |
@kezara please check if the tiles generated from TileMaker are complete. It's possible that some tiles are missing in the mbtiles. Furthermore, you can also put breakpoints to observe exceptions and null values. It may help you debug your tileset |
@AliFlux thanks for reply. In method |
@AliFlux Tiles that have been debugged are
For both tiles exception is thrown in method For the first tile exception has been thrown when i == 11, and for second when i == 20, in both cases feature is LineString. This is the exception that is thrown on feat.GetProperties() line:
and on the return from
and below is the screenshot of the feature where it breaks and sends null tile for 4547, 5255, zoom 13 Could you please see what's the issue here and how to fix it. Many thanks. |
Can you please share the tileset? It may be easier to debug it that way |
Please see this answer, I think it will make this issue more clearer and will cost you less time than debugging. According to the answer, issue is not in your code, issue is with MapBox method Mapbox.VectorTile.VectorTileFeature,GetProperties() as it returns Dictionary<string,object>() which can't accept duplicate keys...In the meantime systemed has changed his code so now TileMaker doesn't create duplicate tags... In your project, I've replaced Mapbox Nuget dependencies with projects from Mapbox and changed GetProperties() to return List<KeyValuePair<string, object>>() and I've changed your code accordingly. I'm not tested this extensively, and I'm not sure if it can impact to something else (as I could see it should not have any impact), but with this change mbtiles with duplicate tags are shown correctly, at least this mbtiles file. Here are mbtiles |
Hello, I have issues with rendering of mbtiles, as you can see from attached screenshots. At some zoom level some tiles are not rendered. I've used tiles made with TileMaker from extract downloaded from Geofabrik.
I'm not sure what zoom level is on the first image, but zoom on second is higher than zoom on the first, and zoom on third image is higher than zoom on second.
The text was updated successfully, but these errors were encountered: