3

I have imported a dxf file (site layout drawings for proposed development), but its scaling is too small and it does not line up with the google street maps. I want to re-scale the layer manually based a common feature on the aerial photo and correlating the length of the same feature on the dxf import. I then want to move the layer manually to line up with a particular point on the map. Any advice would be appreciated.

3

I was a tester of the 3.0 version of QAD plugin, which I consider an impressive programming job.

The plugin is still in the experimental phase, but you can install it if you enable the option to install experimental plugins in QGIS.

1

If you install it, you will see that you can use CAD like commands with your QGIS layers. You will find the MOVE, ROTATE, SCALE, and ALIGN commands among others. Of course, you need to have a basic understanding of how these commands operate in a CAD system.

If you need help with the use of some of these commands, you can ask another question specific to their use.

Testers are welcome by the developer.

|improve this answer|||||
2

The Plugin AnotherDXFImporter contains a module for georeferencing: enter image description here

3.2.1. Parameter

By means of X and Y offset, a simple displacement of the DXF can be achieved. This is y.B. useful when the original coordinates have been shortened in the CAD / system.

3.2.2. World files for CAD datasets

A world (.wld) file is a text file containing control points that describe a coordinate transformation. A world file can be used to extend the properties of a CAD drawing to include georeferencing information. The information is stored as coordinate values that define one or two displacement vectors called links.

The data comprises two or four pairs of coordinates organized into two rows. Each row defines a displacement link using the following syntax: . The first pair of coordinates in each row corresponds to the source coordinates, also known as the from-coordinates. These values represent the x,y location of any known control point in the CAD drawing. The second pair of coordinates in each row corresponds to the destination coordinates, also known as the to-coordinates. These values represent a new location in geographic space, typically a reference point in another feature layer. Source: arcgis.com

If the coordinate transformation is activated and the plug-in finds a corresponding WLD-file it is automatically integrated and the DXF file is transformed accordingly.

3.2.3. Transformation over 1-4 identical points

Similar to the CAD data set, a transformation takes place via identical points. The number of parameters for the transformation depends on the number of the given points. Note: An output of the residuals for over-determination is currently not.

|improve this answer|||||
1

How about using a click and point vector georeferencing plugin like Vector Bender? I georeference all my imported dwgs with this. https://plugins.qgis.org/plugins/VectorBender/

You import your dwg/dxf as an editable format e.g. using Another DXF Importer or QGIS's own dwg/dxf->gpkg tool in QGIS 3.x (Projects tab), which will be in the wrong area/scale to begin with.

Then indicate two pairs of source and destination points (two lines on the canvas). This will shift, scale and rotate your data so it matches up to the points. You probably won't need a third line.

Note you may need to install later versions of some Python libraries for the plugin to work.

|improve this answer|||||

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.