If you're encountering this message while trying to upload management zones or map layers into FarmQA, you have tried uploading a layer that has an issue and cannot be uploaded. These errors occur when your spatial data contains invalid geometry that needs to be corrected before upload.
Check the error messages below to identify your specific issue and find an appropriate solution:
| Error Message | Description |
| Topology Validation Error | Generic error indicating the geometry violates topology rules |
| Repeated Point | Same coordinate appears multiple times consecutively in a line/polygon |
| Hole lies outside shell | A polygon's hole (inner ring) extends beyond its outer boundary |
| Holes are nested | One hole is inside another hole within a polygon |
| Interior is disconnected | Polygon has separate, disconnected parts when it should be one piece |
| Self-intersection | A line or polygon crosses over itself |
| Ring Self-intersection | The outer or inner ring of a polygon intersects itself |
| Nested shells | One polygon's outer boundary is completely inside another's outer boundary |
| Duplicate Rings | Same ring geometry appears twice in a polygon |
| Too few points in geometry component | Geometry has insufficient vertices (e.g., line with <2 points, polygon with <3) |
| Invalid Coordinate | Contains NULL, NaN, or out-of-bounds coordinate values |
Most GIS software (QGIS, ArcGIS) have a "Fix Geometries" or "Repair Geometry" tool that automatically corrects many of these issues.
We can help guide you through the steps to fix this with QGIS below:
Step by step to view the errors/invalid layer in QGIS:
- Import your file as a new vector layer in QGIS
- At the top, navigate to Vector > Geometry Tools > Check Validity...
- Ensure the Input layer is the layer you're wanting to check and click Run
- Notice that 3 new layers are created. You can close out of the Vector Geometry dialog
- These new layers show the valid and invalid parts of the layer
Step by step to fix the spatial file in QGIS:
- Import your file as a new vector layer in QGIS
- If your Processing Toolbox is not already open. At the top, navigate to Processing > Toolbox and a new pane will open up
- In the Processing Toolbox, under Vector geometry, double click Fix geometries
- Ensure the Input layer is the problem layer and click Run
- Notice a new layer is created named Fixed geometries
- You can now export this "fixed" layer to a shapefile, and reimport into FarmQA
Comments
0 comments
Please sign in to leave a comment.