Skip to content
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

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

Open
LaoshuBaby opened this issue Oct 24, 2022 · 2 comments
Open

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

LaoshuBaby opened this issue Oct 24, 2022 · 2 comments

Comments

@LaoshuBaby
Copy link

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):

  • OS: Whatever
  • Browser: Firefox
  • Version: since Firefox 99 (June this year, in August I also meet with problem, but when I attempt to open a last year's comparison map tiles loads well, so I just think it is a accidental bug.)

** Other question**

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

@drklrd
Copy link
Member

drklrd commented Oct 25, 2022

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
Copy link
Author

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants