-
-
Notifications
You must be signed in to change notification settings - Fork 228
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
QField project layers appearing empty (zero features) when downloaded from QFieldCloud #5727
Comments
@robertvecino , did you accidentally enable this option in the project properties dialog's QField panel: That's often the cause when people are reporting missing features. |
@jmacalupur , can you share your cloud user name (not password! :) ) and project name here please? |
Thank you for your reply, but I don't have the option selected. I also don't have an AOI defined. This has not impacted the other layers. |
But the problem persist in other layers... in my case in the points layers... Can QFieldCloud Solve this? |
Yes, features seem to be "dropping off" during the download from QFieldCloud to the QField app. The project appears as ~78.1 megabytes in size on QFieldCloud, but only ~50MB is downloaded when syncing to the QField app. |
Hi @jmacalupur , After reviewing your first picture, it seems the issue is due to a character limit in the field. This limitation is why changes couldn't be applied to the cloud when trying to update those fields. I recommend using the QGIS core processing tool called "Refactor Fields." This tool can help you remove the string limitation or allow more characters (ShapeFiles are limited to 255 characters for strings). For QFieldCloud projects, I suggest using GeoPackage to improve synchronization. 😉 |
Thank you, I would understand that it would be like that; however, it also depends on the data type. In this case, I even had date data where text data was saved (e.g., photos, provinces, etc.), and these errors occur when recording the data and uploading it to the cloud, as a strange entry appears in the photos field. |
Hi @jmacalupur, Are you using a PostGIS database? Also could you provide a sample project to make some test? |
I'm only use Gepackage and QField Cloud. |
Could you test using the "Refactor fields" to remove any limiting characters and replace the created GeoPackages in the project, and then synchronize and push some changes? |
Hi all, |
Hello,
I am having an issue where some of my layers are appearing on my QField map, but they contain 0 features, causing them not to render anything.
When viewing the uploaded project on QFieldCloud, I can see that the project contains ~78 megabytes worth of files. However, when I download the project to QField on iOS, it only downloads ~50 megabytes worth of files.
In QGIS, I then see the notification "Finished uploading the project to QFieldCloud, you are now viewing the locally stored copy." This new local stored copy correctly contains everything that I expect to see (including all features) when the project is loaded in QField.
I work for a state utility and I'm working on providing read-only mobile maps on iOS using QField. I have a free QField Cloud account which I plan to upgrade to an Organisation account when I can get my proof-of-concept project working.
Reproduction steps:
I would expect that all layers and their features within them appear on the QField Map.
However, while the layers are present in QField, some contain "0" features, so they don't render. Also only ~50MB of files are downloaded, not the ~78 stored on QFieldCloud. It seems that these affected layers have dropped all of their features, and their attributes tables are empty.
I have already tried uninstalling/reinstalling QField app, deleting previous export folders, using different QFieldCloud accounts.
QGIS
QField
QFieldCloud
username: wpwit
projectname: WPW20241014
The text was updated successfully, but these errors were encountered: