How to Overlay a DWG Drawing on a Map and Georeference It

2026-09-155 min read
DWGподложкапривязкаAutoCADкарта

This is the reverse of the usual task: the drawing is finished, and it is the map that has to go underneath. People phrase it differently — "overlay a drawing on a map", "base map under a DWG", "georeference a DWG" — but it all comes down to one question: which coordinates does your drawing live in. The answer decides whether the map lands by itself or has to be aligned by hand.

Step 1. Find out whether the drawing is georeferenced

The check takes ten seconds. Run ID (Tools → Inquiry → ID Point), click a building corner and read the numbers:

  • Values in the hundreds or low thousands, starting near zero — the drawing is in arbitrary coordinates. There is no georeference; someone simply started drawing from 0,0.
  • Six- and seven-digit numbers — the drawing is projected: metres in a local or national grid. That is already a georeference, you only need to learn which system.
  • Numbers like 37.6 and 55.7 — the drawing is in degrees. In CAD that is almost always an import mistake: nothing in such a file can be measured.

While you are there, check the units: DIST across a side of known length. Got 12,000 instead of 12? The drawing is in millimetres, and you will have to account for that.

Step 2. Get a base map in the same coordinate system

A base map is the context under your project: streets, blocks of buildings, water, greenery. Select the territory and download it as DWG or DXF, choosing the coordinate system your drawing uses. That is the cheapest way to avoid manual alignment altogether: if the systems match, the two halves meet by themselves.

For a sketch or a presentation a raster base or a ready PDF sheet is sometimes enough — it cannot be edited, but it is lighter and prints predictably.

Step 3A. The drawing is already in projected coordinates

Then nothing needs moving:

  1. Command XREF (Insert → Attach), pick the downloaded file.
  2. Insertion point 0,0, scale 1, rotation 0, "Specify on-screen" unticked.
  3. ZOOM E — both parts in view and in place.

If the map lands nearby but not on target, the zones almost certainly differ: the same family of coordinate system but a neighbouring zone shifts things by hundreds of kilometres. If the map is 1000 times bigger or smaller, the units diverged (metres versus millimetres); fix it with SCALE from base point 0,0 and a factor of 1000 or 0.001.

The reverse task — putting a surveyor's topographic file, rather than a map, under a finished plan — is covered in How to place a topographic survey onto a plan in AutoCAD: the sequence is the same, with a local grid and a height datum added on top.

Step 3B. The drawing is in arbitrary coordinates

Here you align by hand, but the procedure is short. You need two points identifiable both on the drawing and on the map: corners of a permanent building, a crossroads, fence corners.

  1. Attach the base with XREF.
  2. Command ALIGN, select your drawing.
  3. Pick the first point on the drawing and its counterpart on the map, then the second pair.
  4. Answer "no" to the scaling prompt if the drawing is to scale and in metres, "yes" if it was drawn freehand.

Two points define shift, rotation and scale at once. A single point gives only a parallel move, so do not stop at one.

There is another order of operations: instead of moving the drawing, assign it a geographic location with GEOGRAPHICLOCATION (Insert → Set Location). AutoCAD then remembers the georeference and the coordinate system inside the file, and later maps drop into place automatically. This suits drawings that live a long time and will see several base maps.

Step 4. Set up layers so the base does not interfere

A base map must behave like a background, not like a participant:

  • Draw order. DRAWORDER → Back sends the map below your linework.
  • Colour. Mute the base layers to grey or give the layer some transparency so the drawing reads on top.
  • Locking. Lock the base layers: a building outline from the map accidentally caught by object snap is a classic cause of dimensions going wrong.
  • Separation. In the base file roads, buildings, water and greenery sit on separate layers, so anything unwanted can simply be switched off rather than deleted.
  • Refreshing. When working through an external reference, download the file again and run RELOAD — the project itself is untouched.

More on attaching a base and on the raster option is in Adding an OpenStreetMap underlay to a DWG drawing, and map import in general in Importing a map into AutoCAD.

The opposite case: putting the drawing onto a map

Sometimes you need the drawing on the map rather than the map under the drawing — to show a client the project over satellite imagery or inside a GIS. The order is: save the drawing as DXF (File → Save As → DXF), open it in QGIS, assign the layer the coordinate system it was drawn in, and reproject to EPSG:4326 on export. If the drawing is in arbitrary coordinates, you must georeference it on two points first — there is nothing to recalculate otherwise. How DWG differs from DXF, and which to pick for exchange, is covered in DWG vs DXF.

In short

  • First determine the drawing's coordinates with ID: arbitrary, projected or degrees.
  • Take the base map in the same coordinate system as the drawing — then no alignment is needed.
  • A georeferenced drawing: XREF at 0,0, scale 1, no rotation.
  • An arbitrary drawing: ALIGN on two identifiable points, or GEOGRAPHICLOCATION for a permanent georeference.
  • A factor-of-1000 mismatch means metres versus millimetres; fix it with SCALE from the origin.
  • Keep the base map at the back, muted and locked.
← All articles