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

London and Paris Marathon are quite heavy (25MB) #59

Open
ThomasParistech opened this issue Nov 7, 2024 · 9 comments
Open

London and Paris Marathon are quite heavy (25MB) #59

ThomasParistech opened this issue Nov 7, 2024 · 9 comments

Comments

@ThomasParistech
Copy link
Owner

When the map is really large and centered on a dense city (like Paris or London Marathon), we could avoid drawing each tiny street, to lighten the filesize.

What do you think @JulesL2 ?

@JulesL2
Copy link
Contributor

JulesL2 commented Nov 7, 2024

Indeed, I will check the options to see how we can detect it is a large city (probably by doing a count request in overpass) and how we can fix it :)

@JulesL2
Copy link
Contributor

JulesL2 commented Nov 8, 2024

@ThomasParistech Do you speak of the download data size ? or only the vectorized image size ?

If it is the vectorized image size then I can also investigate a filtering of points/ a resampling when drawing roads.

@ThomasParistech
Copy link
Owner Author

I meant the vectorized image size
When I open it on my laptop, the viewer struggles a bit ^^

@ThomasParistech
Copy link
Owner Author

But finding a way to reduce the download size would also be useful !

@JulesL2
Copy link
Contributor

JulesL2 commented Nov 12, 2024

I have included both.

One thing : To chose the priority level to download I use a function (such as an auto mode), it would be cool to be able to override the auto value with a user value in the gui if someone really wants a high res pic.
Second thing : The criteria in the auto mode should be tested on a lot of maps, I have tested only 4-5 maps.
Third thing : Seems that the download is still the limiting factor

@ThomasParistech
Copy link
Owner Author

ThomasParistech commented Nov 20, 2024

My laptop is usually pretty fast, but here's what it looks like when zooming in on the A4 pdf, after the road simplification (PR #62)
It seems like there's still too many tiny complex details to render

Video screenshot:
https://github.com/user-attachments/assets/c4892721-9752-494e-8ddb-ec3bac05ccf3

@JulesL2
Copy link
Contributor

JulesL2 commented Nov 20, 2024

It seems that a lot of ways are not merged, I will have a look

@JulesL2
Copy link
Contributor

JulesL2 commented Nov 20, 2024

@ThomasParistech Which viewer are you using ?

@ThomasParistech
Copy link
Owner Author

i was using Chrome

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