-
Notifications
You must be signed in to change notification settings - Fork 237
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
Empty tiles after zoom level 12 #355
Comments
Could you upload your .mbtiles file somewhere, and say what lat/lon these screenshots are taken at? |
below is screenshot with coordinates for zoom 13 I saw today that I have empty tiles on few other locations on this map. |
@systemed in the meantime I've done some test with my map presenter and on places where tiles are missing I'm getting null tiles, so I'd say that mbtiles file is, well, corrupted...please give some feedback and advise how to fix this...many thanks... |
Thanks for checking. I'll take a look as soon as I've got a spare minute. :) |
Thanks for being patient. :) I viewed your .mbtiles with tilemaker's demo server ( So I'm not quite sure what's happening with your screenshots. Two possibilities:
|
@systemed thanks for feedback...I'm using mbtiles for offline WPF map presentation...it should be small part of the project....for drawing tiles I'm using VectorTileRenderer and I tried it with MapsUI, some custom MapControl and with GMap.Net.
Well, I tried with deleting cache folder, but result is always the same, guess that is the answer to this question
I live in Novi Sad, and as I know and can remember, there is nothing complex here, a few roundabouts, buildings, park here and there, and except Fruska Gora, no uphill or downhill, everything is almost flat... Again, many thanks for the feedback, I'll come back as soon as I get something useful, and if happens that you figure out something please let me know. |
I'm guessing that VectorTileRenderer is having an issue with something in those tiles, perhaps a particular polygon, or a missing POI icon in the style. The tiles are certainly present and are being rendered by MBGL. It might be worth extracting the individual .mvt files from the mbtiles using SQLite (remember to invert the Y axis) and attaching them to your issue at AliFlux/VectorTileRenderer#27 for their developers to have a look. |
I'm debugging VectorTileRenderer and for tiles for which I receive null it seems that SQLiteDataReader.Read() returns false...I'm still checking but if I'm calculating Longitude and Latitude well those are the tiles that are missing on the screen...for example I've got null for tile x = 4546 and y = 5252 zoom = 13 and tile x = 4546 and y = 5253 zoom = 13 and in the output in line before null, output shows the following exception Exception thrown: 'System.AggregateException' in System.Private.CoreLib.dll edit: y tile is transformed by VectorTileRenderer, so for zoom 13, empty tiles are 4546, 2937; 4546, 2938; 4546, 2939 and some more...also my first impression that SQLiteDataReader.Read() returns false, seems that is not true...it's tricky to debug since everything is async... |
I've found breaking point for two missing tiles (but I'm pretty sure that it is the same for the others), it seems that issue is in transportation layer, you can see it on AliFlux/VectorTileRenderer#27, |
Ah, that's interesting. So it looks like the OMT-compatible script in tilemaker can occasionally adds two attributes with the same key ("class") to one object; Mapbox GL is happy to render that; but VectorTileRenderer isn't. My guess is that this happens in |
Great news, thanks... |
More complex than I thought, but see if this branch fixes it for you: https://github.com/systemed/tilemaker/commits/dupe_classes |
thanks, but now I have issues with build... when I build as debug I'm getting this and when I build as release/install I get this With release/install it builds some mbtiles file but with only 20KB and along with it I'm getting mbtiles-journal file, while with debug I'm not getting anything. Sorry if I'm annoying, but I'm not sure if I'm done something wrong or it's just something in the code...C++ and CMake are unknown territory for me... |
Windows is unknown territory for me ;) Try https://www.systemed.net/temp/serbia-test.mbtiles which is generated with that branch. |
thanks a lot, it works...now I'll just have to figure out how to build tilemaker for windows :) edit: |
Hello, I've used tilemaker with basic config to make mbtiles of Geofabrik.de extract of Serbia, and I'm not quite sure if it is up to mbtiles renderer that I'm using or it is up to tilemaker, but I have these as a results
Zoom 12:
Zoom 13:
Zoom 14:
Since always the same tiles are missing, I'd say that it's up to tilemaker more than up to mbtiles renderer, but in any case some hints would be very appreciated. Thanks.
The text was updated successfully, but these errors were encountered: