Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 4 vector shapefile that I would like to join/merge, without worrying about attributes.
Here are the shapefiles.
I would like to do an union and a spatial dissolve, but everytime I do a dissolve after "PUP" and "PRG" layers union, I got an error about wrong geometries and the output layer is empty.
I validated layers geometry with no errors (at least is what QGIS tells me).

Am I missing out something?

share|improve this question
version of QGIS, GRASS? I would also check geometry with GRASS. – Vladimir Nov 24 '12 at 16:27
QGIS 1.8.0 GRASS 6.4 on a Mac – sanzoghenzo Nov 25 '12 at 12:50
up vote 2 down vote accepted

While doing spatial joins in QGIS you have to make sure that all your layers are in the same projection! Otherwise there is a high chance of wrong outputs.

In your example data the shapes PUP and PRG have no correct set CRS projection, while the other shapes are all in ETRS89/ETRS-TM32.

-> Reproject them by saving them with the correct CRS (right-click on layer -> save as with selected ETRS89/ETRS-TM32 projection). -> Then load in the reprojected layers and merge them via the mmqgis function merge layers or through the function in the QGIS vector menu.

As soon as you have one single shape, you'll find the dissolve function in the vector menu.

share|improve this answer
ok, I'm an idiot. I thought "they have the same projection, even if it's not specified, it should work..." It worked quite well. Thankyou so much! – sanzoghenzo Nov 25 '12 at 13:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.