2

Is there any way to perfectly fit the blue shapes into the green shapes? I have over 7k blue shapes and 550 green shapes and I would love if someone could help me to avoid me doing all the fitting manually.

enter image description here

I'm using QGIS 3.10.4.


EDIT: When i use the "snap geometries to layer" the boundary lines are fine but the inner lines remain in the same place:

enter image description here

2
2

You could try running the processing tool "snap geometries to layer". Choose a suiting snap tolerance (in CRS units) and the desired behavior from the dropdown menu. Set your green ones as Input Layer and your blue ones as Reference Layer.

Like this for example:

enter image description here

5
  • Thank you! that solve me almost 95% of the work! Apr 17 '20 at 20:12
  • I found a problem! this script doesn't fit the inner lines! only the boundary lines Apr 21 '20 at 19:09
  • What should happen to the inner lines? Can you draw an example of the expected output?
    – MrXsquared
    Apr 21 '20 at 19:56
  • When i use the "snap geometries to layer" the boundary lines are fine but the inner lines remain in the same place i.imgur.com/Sykw7EP.png Apr 21 '20 at 20:03
  • 1
    I see. Dont know of an out of the box solution for this. Maybe someone else does, better include this in your question body.
    – MrXsquared
    Apr 21 '20 at 20:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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