I have a file containing a large number of points that were digitized from scanned plans in CAD. The points represent pit lids at an industrial facility.

When the point file is laid over the aerial image the points are all out by varying amounts.

Around the perimeter of aerial I can see a decent number of the pits. Within the centre of the facility there is a lesser amount of pits visible.

Is there a technique or workflow to "transform" the pits to the aerial in QGIS?

I inherited the files in this manner and would do it differently if I had the chance

1 Answer 1


I think the first thing I would do is trace the original source of the data and ask for the original CAD data used to create the drawings. If it was done by a third-party under contract to your organisation, then they may have an obligation to supply the data. Even if it was done by a third-party, a polite phone call often works wonders. Even if all they can supply you with is a list of coordinates for the points you can do a table join and move your points that way.

This may not be possible. So the second thing I would do is determine which (if either) is correctly georeferenced, the aerial image or the CAD drawing. If the aerial image is commercially purchased and the CAD drawings were scanned by some guy on work-experience in a poorly maintained office scanner from crumpled paper, my bet is that the CAD scans are at fault, but you can't be certain until you check them both against a trusted reference (e.g. known survey points). However, if your aerial image is from a mass-market source such as Google or Bing, then I would take the internal rubber-sheeting of the image with a pinch of salt. If you can't trust either image, then there is nothing for it but to start again and georeference/rubber-sheet the CAD images yourself.

If you can trust the aerial image then you can use the Affine Transformation tool in the plugins. Working out the transformation matrix could be tricky depending on how the georeferencing of the CAD images went wrong. Hopefully it is just a bit of a scale and rotate issue, but your statement 'off by varying amounts' is worrying. You can try determining this by re-georeferencing the CAD image.

Another tool to consider in your case could be the Vector Bender plugin. This post shows somebody had a very similar problem to yours and created a tool to solve the problem. I have not used this tool but it does sound promising.

  • Thanks. I am pretty confident the aerial image is correct.
    – boberdorf
    Commented Dec 14, 2015 at 19:10
  • Vector bender looks to be exactly what I was thinking off.
    – boberdorf
    Commented Dec 14, 2015 at 19:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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