0

I want to know that I am using GRASS GIS correctly. I'm having trouble merging these two shapefiles

How would you go about the process of dealing with shapefiles which have errors like this?

I've tried importing and cleaning using both QGIS and GRASS but I always end up with warnings like this:

WARNING: Number of centroids exceeds number of areas: 32665 > 20038
WARNING: Number of incorrect boundaries: 62688
WARNING: Number of centroids outside area: 12461
WARNING: Number of duplicate centroids: 3210

I've tried changing the snapping threshold for v.in.ogr but it doesn't seem to make a difference

when I try doing v.patch it looks like this: https://i.stack.imgur.com/kdBey.jpg

I'd like to end up with something that looks like this but on one layer with no overlap so that there is a 1 to 1 relationship with every space on the map: https://i.stack.imgur.com/n5TWi.jpg

jaksco
  • 423
  • 7
  • 18

1 Answers1

0

You can use QGIS (SAGA tool) to merge the layers and then import the new layer to GRASS environment:

Vector ‣ Data Management Tools ‣ Merge vect Layers

New Shp QGIS

New Shp GRASS

Or you can also create a pipeline using bash in which you automate this function by importing the layer in grass. I hope it helps you :)

PowerStat
  • 3,757
  • 8
  • 32
  • 57
deiviiz
  • 1
  • 1