baato / before-after

Generate before-after maps for OpenStreetMap with ease.
https://beforeafter.baato.io/
21 stars 2 forks source link

Can't display any map data in generated comparision #38

Open LaoshuBaby opened 1 year ago

LaoshuBaby commented 1 year ago

Describe the bug 图片 Since this years June, I can't see anything when open a generated comparison, it only give me 2 empty windows.

And when I press F12 open the developer tools, many vector tiles return with 404, others return empty 0kb files.

Is this related to my poor network behind China's GFW? or something wrong on baato's server?

Here is the link: https://beforeafter.baato.io/provision/de2c9425-b97c-4f45-9f12-6d41771cbd56 The 404 tile in picture: https://beforeafter.baato.io/aftertiles/de2c9425-b97c-4f45-9f12-6d41771cbd56/4/12/7.pbf

Desktop (please complete the following information):

Other question

Besides, when I want to view comparison generated last year, I got a 500 error, is them deleted in server? 图片

drklrd commented 1 year ago

Thanks, @LaoshuBaby for reporting this issue.

Looks like, for the generated region, tiles at lower zoom levels are not being rendered properly. For the link you shared, some tiles are rendered while we zoom more. But still, there are some issues. I can not say at this moment, what is causing this. I will look into this in detail.

For the second question- since the tool is hosted in a server with limited storage/processing capabilities, for now, it might be that the older generated maps were deleted. Sorry for the inconvenience! But we are also working on the feature for logging with OSM. That way we can keep persistent generated maps for the logged-in users.

Thanks a lot for your descriptive issues and queries! :)

LaoshuBaby commented 1 year ago

Looks like, for the generated region, tiles at lower zoom levels are not being rendered properly. For the link you shared, some tiles are rendered while we zoom more. But still, there are some issues. I can not say at this moment, what is causing this. I will look into this in detail.

I can't see tiles in any zoom level, and if you want to make the tool more useful and convenience, you can tell visitor which zoom level is available, or auto zoom to suitable level for data like overpass Turbo done:

图片

https://overpass-turbo.eu/s/1n5c (have a try, I move the bbox out of 北京市, but when you finish query or click the button, overpass turbo will change bbox and zoom level based on received data.)