Linked Questions
29 questions linked to/from Fixing geometry validity errors in QGIS 2
12 votes
1 answer
27k views
Repairing geometry using QGIS? [duplicate]
I have shapefile with few polygons. Some of them are self-intersecting. In ArcMap I can use "Repair geometry" tool, and it works well. But problem is, that for that task some users need to use open ...
2 votes
1 answer
151 views
Intersecting to vector layers when there is no common attribute [duplicate]
I am trying to join two vector layers into one, the first is a road noise barrier shapefile, the second is a vectorised DEM. The road barriers have a relative height attribute for each section of ...
0 votes
0 answers
104 views
Is there a tool that is similar to the ArcGIS repair geometry tool in QGIS? [duplicate]
I need a tool in QGIS that has the same functionality as the repair geometry tool (native of ArcGIS).
0 votes
0 answers
51 views
Repairing geometry using QGIS [duplicate]
I'm looking for a roughly equivalent tool in QGIS to the Repair Geometry Tool in ArcGIS Desktop. When I run some common vector processing tools in QGIS, I occasionally run into invalid geometry errors ...
13 votes
4 answers
43k views
QGIS: "Invalid geometry" even after using validity checker and v.clean
I'm trying to intersect two layers in QGIS, similar to this unanswered question. I've performed Vector > Geometry Tools > Check Geometry Validity and I've run GRASS's v.clean, per these questions. I'...
9 votes
7 answers
25k views
Fixing corrupt shapefile?
I have a shapefile that I was working on in ArcGIS Desktop 9.3 get corrupted somehow and it gives me the error "Number of shapes does not match the number of table records.". What I would want is to ...
7 votes
2 answers
9k views
How to to validate geometries using ogr2ogr
I have been trying to dissolve a shapefile with more than 38000 rows. I used query as follows ogr2ogr -f "ESRI Shapefile" dissolved.shp Barangays.shp -dialect sqlite -sql "select ST_union(Geometry),* ...
4 votes
1 answer
4k views
QGIS: Feature passes ‘Check validity’ but ‘Fix geometries’ has an issue - where to start?
I think I have a problem in understanding how the ‘Identify Features’ tool works in QGIS with a shapefile that might have some kind of error. I don’t know quite enough QGIS to be sure I’m asking this ...
1 vote
2 answers
6k views
Add ring and Fill Ring error: could not add ring since the inserted Ring is not contained in a feature
I'm new to QGIS and am struggling a bit, I'm using the 2.18 version on a Mac OSX Yosemite. I'm trying to add a ring to create a geological map, I was successful for most of the map, but suddenly it ...
4 votes
2 answers
4k views
Cleaning polygon after using dissolve to repair geometry in QGIS?
I'm trying to obtain the boundaries of shapefile, thus to clean the inside as a matter of speaking. While I had expected that dissolve while get me a proper polygon, unfortunately it still has some ...
1 vote
1 answer
3k views
Overlap of raster over a vector in QGIS
I have a single band raster image with values of pixel 0 and 1. There's another line vector layer over the same area. I need to find the percentage of line which is overlapped by the pixels of value 1....
3 votes
1 answer
2k views
How do I find the percent overlap between two shapefiles in QGIS?
I have two different shapefiles (first and second). I want to calculate how much overlap there is between the liquefaction zones in the second shapefile and each of the neighborhoods in the first. I'...
3 votes
2 answers
495 views
QGIS Spatial query error
I have a layer of a csv file with around 700k rows and a polygon layer, both are in wgs84. I'm trying with the spatial query to calculate what point are in the polygons. The problem is that the ...
3 votes
2 answers
836 views
Spatial query that doesn't seem to work
I have QGIS 2.8.2 Wien on windows 7 and quite new to QGIS. I have two shapefiles - 1 with rivers and 2 with sites located on some of those rivers. I want to carry out a spatial query to find the river ...
3 votes
2 answers
634 views
Calculating polygon area fail — QGIS
I'm trying to calculate the area of US congressional districts (shapefiles from here). I have eight different district shapefiles. I can calculate areas perfectly for the first five shapefiles (...
1 vote
0 answers
2k views
Resolving geometry errors in QGIS?
I have a shapefile where the geometry is a mess, lots of gaps, slivers, and holes. I need to correct these geometry errors, but I am having trouble with the process. I have read the pages here, here ...
3 votes
0 answers
1k views
Polygon Layer Cleaning with QGIS
I have a little situation with my data. I have vectorized a raster layer, and now I have some issues with the geometries, as you can see in the picture. Most of errors I have are like this one. ...
6 votes
0 answers
850 views
Clip of polygons does not work properly by invalid geometry
I want to clip a polygon shapefile by another polygon shapefile. Input polygon is the green one (first), clip polygon is the light blue one (second) and the result should look like the dark blue one (...
0 votes
1 answer
830 views
Cutting out polygon from other polygon / removing clip
I have a polygon that shows a lake. I have a second polygon that contains districts. I want to cut out the lake so only get the bits of the districts that is on land. I tried clip, but I think I ...
1 vote
1 answer
538 views
Invalid geometry error after polygonizing a GeoTIFF file
I wanted to clip an OSM vector layer with the boundaries of a raster image--a GeoTIFF file. I was able to polygonize the raster and obtain its boundary in a vector format. But I am getting a error ...
1 vote
1 answer
517 views
SpatiaLite Buffer() to repair geometries
I work in a mixed open/closed-source GIS office where we have both open source (QGIS, and soon PostGIS) and Esri (ArcMap, ArcGIS Pro) available. I bring in OpenStreetMap regularly and have to fix the ...
3 votes
0 answers
568 views
Dissolve fails, geometry errors, and cleaning problems
I fairly new to GIS, and I'm having an issue with dissolving a vector. To start, I'm running QGIS 2.14.15 on Windows 7 Pro. When I try to dissolve the polygons it creates a blank shapefile. All of the ...
2 votes
0 answers
535 views
How to add map layer of Italy in map canvas in standalone QGIS application
I have map canvas and I need to add map layer of Italy. I already succeed to add map of whole world, but when I zoom it to Italy I get nothing. I do research and I found this page: http://mobac....
1 vote
0 answers
208 views
Invalid geometry -
I have polygonised a viewshed and as a result, I have small 1x1 holes on the perimeter of the output which has created overlapping nodes (although the node tool does not pick up on it). The screenshot ...
1 vote
1 answer
143 views
Unable to intersect a shapefile with a set of points
I have a set of 1000 urban points that I'm trying to intersect with a classification result to find the accuracy but I keep getting an error "GEOS geoprocessing error: One or more input features have ...
1 vote
0 answers
90 views
Automatically deleting lines within generated polygon using QGIS?
How do I automatically delete lines within a generated polygon? what I have: is a polygon with lines within. The lines I want to be deleted automatically -- like a auto clean up. This is what I did: ...
2 votes
0 answers
83 views
Tools for fixing geometry of shapefiles
does someone have experience in fixing geometry errors in QGIS 3.10 LTR? I'd like to fix geometries first and then use processing algorithm "Snap geometries to layer". So far, the algorithm ...
1 vote
0 answers
64 views
Clip only works on some areas, and not on others, despite being from the same dataset
I have a shapefile of provinces (nxprovincias), and another shapefile of small, disconnected areas ("protected areas") that overlaps with the provinces. I want to easily calculate the total area of ...
0 votes
0 answers
61 views
Extract a vector from a raster with a single boundary in QGIS
I have a "problem", I need transform a raster in a vector and it works but some pixels like the one in the print it is separated from the boundary, and for my use (a specific use of ...