Linked Questions

12 votes
4 answers
38k 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'...
snadhelta's user avatar
  • 123
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 ...
risk_ltu's user avatar
  • 329
10 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 ...
Erick's user avatar
  • 873
7 votes
2 answers
8k 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),* ...
AMahajan's user avatar
  • 198
6 votes
0 answers
826 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 (...
Pavla's user avatar
  • 61
4 votes
1 answer
3k 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 ...
Erik Paulson's user avatar
3 votes
2 answers
454 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 ...
Tobbe's user avatar
  • 611
3 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 ...
Geosphere's user avatar
  • 763
3 votes
2 answers
574 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 (...
Macaulay's user avatar
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'...
Sebastian's user avatar
  • 255
3 votes
2 answers
793 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 ...
lynda's user avatar
  • 39
3 votes
0 answers
537 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 ...
Caffeinated Crow's user avatar
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. ...
Luismi's user avatar
  • 1,005
2 votes
1 answer
138 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 ...
nashm999's user avatar
  • 327
2 votes
0 answers
67 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 ...
geofee's user avatar
  • 651

15 30 50 per page