-
-
Notifications
You must be signed in to change notification settings - Fork 295
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
[Feat] Add functionality to load only data from the current mapset in the Data tree #749
Comments
|
I tried the current state (revision=a3888a00d) of the updated wxGUI and like the new data tab very much. Small cosmetical wish (probably it fits here): use a "busy" cursor when loading the list of maps in the various locations, like Rationale: on my laptop, with SSD and a number of locations, it takes 5 seconds to load. At time it is just empty and I (initially) wondered what's going on as all remained empty for this time. |
I was wondering approximately how many maps and locations do you have? I haven't had an issue with the speed, loading is pretty much instantaneous for me, but I likely don't have as many layers as you do. I found calling g.list to be fast, what took time is unfolding a node with thousands of layers. |
|
I count on my laptop:
(seems I am more focused on raster :p - and the oldest file is from 29 Mar 1998) |
|
Seems the problem is the number of locations, I created 10000 rasters in one mapset and that is not an issue. I do have new laptop though. The loading is parallel on level of locations, but I am not sure how effective that is. Some kind of notification about loading is definitely needed. |
|
I have only some 30 locations in my active grassdata dir, but I have noticed a clear loading speed-up with wxPython 4.1.0 compared to with 4.0.7. |
|
Given the testing done so far, the significance of this issue is reduced by #847 which reduces the number of times whole tree is re-rendered and will be further reduced by indicating the loading (issue needed). Once that is in place, this issue can be closed I think. |
Is your feature request related to a problem? Please describe.
Loading list of raster and vector maps in the data tab can be slow if there is a lot of maps in a mapset, lot of mapsets, or lot of locations in the database. This becomes more of an issue when #741 and #748 are implemented.
Describe the solution you'd like
To future-prove the data catalog (data tree/tab), the function which initializes the tree, should have a parameter to load the lists of maps only current for the current mapset.
At this point, this issue is aiming only at extenteding the API. However, we can use it to discuss how the user interface should look like and behave.
The text was updated successfully, but these errors were encountered: