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

load only activated favorits instead of all (also deactivated favorits) = resource saving #19414

Open
halalilalo opened this issue Mar 28, 2024 · 6 comments
Labels
Nice to Have Should be fixed but there is no priority or no possibility to fix it within current horizon planning

Comments

@halalilalo
Copy link

Describe the idea (required)

It seems to be that all favorits are loaded (activated AND deactivated) at the same time
With large number of favorits/POI-groups the system becomes very slow (also in saving new favorits).
Deactivation of large favorits group dont solve the slow probem.
If osmand would load only the activated favorits
and ignore the deactived this would save resources
and would solve the slow down problem with large number of POIs/favorits groups.
And I could activate the oversized POIs/favourit groups successively (coutry after country)
(in present situation all oversized pois/favorit groups of all countries seems to loaded at the same time )

Tell us about the expected behaviour (required)

see above

Tell us about alternatives you've considered (required)

at present situation I have to delete at every country boarder old oversized country favorit/poi file and import
the new

Context (optional)

could be resource saving

@halalilalo
Copy link
Author

halalilalo commented Mar 28, 2024

add:
the official pois loaded from OSM (also a large number) dont slow down the system if they are deactivated
perhaps personal favorits should handled at the same kind?

@DmitryAlexei
Copy link
Contributor

duplicate of #19373 ?

@halalilalo
Copy link
Author

halalilalo commented Mar 28, 2024

oh, there could be a connection: but some is different
slow down was in connection of very large number of favorits (60.000-100.000)
This are MB
not with normal number (not in general).
What is with the idea to load only activated favorits?

@mariush444
Copy link
Contributor

It seems that it,should work similar to gpx where there are groups than can be activated/deactivated.
Good idea especialy when favs where moved from gpx to db.

@vshcherb
Copy link
Member

vshcherb commented Apr 2, 2024

Well you could use GPX instead of Favorites, they work differently. Favorites not designed to have large amount of points

@vshcherb vshcherb added the Nice to Have Should be fixed but there is no priority or no possibility to fix it within current horizon planning label Apr 2, 2024
@halalilalo
Copy link
Author

the system works with such a large number of favorits during navigation
only the favorits saving is ugly slow
deactivation of countrygroup dont solve this problem
only deleting of countrygroup fix the slow down
the present workaround is
Instead activating/deactivating at the country border
i have to import the countrygroup at every border und delete the old

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Nice to Have Should be fixed but there is no priority or no possibility to fix it within current horizon planning
Projects
None yet
Development

No branches or pull requests

4 participants