-
Notifications
You must be signed in to change notification settings - Fork 28
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
sam_feature_history[-1][0] error #19
Comments
Could you please provide a detailed description of the scenario in which this issue is triggered? Does it occur when finishing a labeling session and labeling after loading new features? |
I launch QGIS and open the Geo SAM tool. The demo image appears and works fine in both hover and selection modes. However, when I attempt to work with the features folder, the tool becomes buggy. Based on my observations, I suspect that the issue is related to the shapefile, or something related to it. I also tried loading a previously worked-on shapefile, but it didn’t work either. I think it's better to add a create new shapefile button maybe the automate system that creates shapefiles gets bugged I am not sure. I will try to record a video and share it with you.
|
Thank you for your feedback. I look forward to your video. The previous testing primarily focused on labeling. We will conduct new tests specifically for loading new shapefiles and features in the future. |
Hello here an example of my workflow: bug.mp4 |
Hi @4del-Yousefi . In the video, it seems like you were using a very early dev version. Could you please conduct the testing on the latest dev version? |
I encoded new image then worked on it saved the shapefile then reloaded the feature folder and shape file. Thats when its stop working I tried with almost all versions same issue. I will try again to see if one of dev builds work. |
Can the stable version run properly? It appears the issue may be caused by the inability to convert the projection of the features to the projection of the shapefile. Additionally, could you please help test if the problem occurs when creating a new shapefile by clicking the "From file" button? |
Okay an update, creating a new shapefile using "from file" makes a new shp file where the selection hovering and saving works. However, loading a saved shp doesn't. |
Hi @4del-Yousefi. Could you please share the projection details for both the previous and current shapefiles? The projection files have the same name as the shapefile, with the extension ".prj", and can be opened with a text editor. We did not encounter this issue during our testing on our own dataset. Your case can help us further improve the code. |
prj file with issues:
newly created prj that works: I don't think the issue is from that. |
According to this log, it seems that the newly added feature IDs (FID) are smaller than the ones previously saved. It appears that QGIS did not add the FIDs in chronological order. In the future, we will try customizing the FIDs in the attribute table instead of relying on QGIS's automatic generation. However, this will take some time. For now, please work with the new shapefile for your remaining work, and merge it after finishing all the work. Besides, if possible, could you share your shapefile with issues so that we can further investigate the cause of the error, debug the code, and resolve the issue. |
I have attached the bugged shapefiles. take a look. |
Thank you for sharing. We will use this shapefile to determine the source of the issue, but it may take some time to resolve it and publish a new version. |
using version 1.2.1 I am loading features folder and trying to work on it but this errors shows up.
The text was updated successfully, but these errors were encountered: