openstreetmap / openstreetmap-website

The Rails application that powers OpenStreetMap
https://www.openstreetmap.org/
GNU General Public License v2.0
2.19k stars 911 forks source link

Add pagination on element history pages #3524

Open Dimitar5555 opened 2 years ago

Dimitar5555 commented 2 years ago

Description

There are a lot of relations (and possibly ways and nodes) which have 100 or even 200+ versions. Loading their history is very slow and sometimes it's not possible at all. For example the history of https://www.openstreetmap.org/relation/544260 cannot be loaded due to a timeout error.

Screenshots

No response

dpriskorn commented 1 year ago

same here https://www.openstreetmap.org/relation/197845/history

tsmock commented 1 year ago

A related JOSM ticket: https://josm.openstreetmap.de/ticket/21563

Some relations (such as https://www.openstreetmap.org/relation/2769137 ) have > 1k versions. Relation 2769137 history is ~190M when unzipped, and ~22M when gzipped.

This makes it really easy to hit the data limit (509).

tomhughes commented 1 year ago

No, that is not related at all other than tangentially - that is about the API bandwidth limit and this is about the web browser view.

pnorman commented 3 months ago

The ability to link to object versions has helped but I think there's still a need for pagnation.