You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Member fetching via overpass is currently only enabled for public transport routes and climbing areas. As climbing areas typically are quite small it has fine performance for them. But a big train route can have a lot of members. In this case everything is blocked until the members are fetched, eventhough these members are only secondary information. Ideally the images and tag table should be available as fast as possible and everything that needs members should appear once the information is available.
The text was updated successfully, but these errors were encountered:
Very good point! I am very happy you think about performance first.
A quickfix solution would be to disable memerFeatures fetching for route relations, and fetch these in some component like <RouteMembers/> in FeaturePanel, where it would fetch them only in browser via useEffect.
Only downside of this solution is, that we would lose server-side rendered links between those pages, which could be eventually picked up by search engines. But we can worry about this later.
The ultimate "future" solution would be probably to have our own backend, which would allow for quicker resolving time, or perhaps ask osm-ng to implement some useful method which would fetch only necessary data. But I would like to stay backend-less as long as possible :)
Member fetching via overpass is currently only enabled for public transport routes and climbing areas. As climbing areas typically are quite small it has fine performance for them. But a big train route can have a lot of members. In this case everything is blocked until the members are fetched, eventhough these members are only secondary information. Ideally the images and tag table should be available as fast as possible and everything that needs members should appear once the information is available.
The text was updated successfully, but these errors were encountered: