Tutorialfloor planscanningdigitizing

How to digitize a paper floor plan: scan, scale, trace

How to digitize a floor plan from paper or a photo: scanning, perspective correction, getting the scale right, when to redraw in CAD, and turning it into a map.

7 min readPublished By Spatial Map team
The Production Museum demo in Spatial Map: three gallery floors in 3D with exhibits, stairs and lifts, traced from floor plans

How to digitize a floor plan: three levels

To digitize a floor plan is to turn a paper drawing — an old blueprint, a framed evacuation plan, a photocopy from the landlord — into something a computer can use. Spatial Map is a browser-based indoor mapping platform that takes a scanned or photographed plan as an image, places it at real-world scale on a map, and turns it into a multi-floor indoor map with live data. Before you start, decide how far you need to go:

LevelWhat you end up withGood for
1. Digital imageA clean, square, scaled scan or photo (PNG, JPEG, PDF)Archiving, sharing, printing, the base for tracing
2. CAD redrawVector lines and dimensions in a CAD drawingBuilding works, permits, consultants, precise dimensions
3. Indoor mapRooms, walls, doors, floors and racks as named objects at real coordinatesOperations, directions, live data, reports

Level 1 is always needed. Levels 2 and 3 are different jobs: you rarely need a CAD redraw just to get an indoor map, and a CAD drawing on its own still is not one.

Step 1: scan or photograph the plan

A scanner gives the best result because the sheet is flat and the optics are square to it. A phone photo works for small plans and for plans you cannot take off the wall.

SheetBest captureSettings
A4 or A3Flatbed scanner, or a phone photo300 dpi, greyscale; 400 dpi if the text is tiny
A2 to A0, blueprintsLarge-format scanner (print and copy shops have them)300 dpi, greyscale or colour if colours carry meaning
Wall-mounted evacuation planPhone photo, straight onNo flash on glass; step back and zoom in slightly to reduce lens distortion
Torn or folded sheetsFlatten under glass, scan in parts if neededOverlap the parts generously
  • Keep the edges. Include all four corners of the sheet in the photo; they are your reference for squaring it.
  • Light it evenly. Two light sources at an angle beat one overhead lamp; shadows across the sheet become grey smudges later.
  • Hold the camera parallel. Every degree of tilt has to be corrected afterwards, and corrections cost sharpness.
  • Save losslessly. Keep the master as PNG or TIFF; JPEG artefacts blur thin lines.

Step 2: correct perspective, crop and clean

  1. 1
    Correct perspective

    Document-scanner apps do this automatically when they detect the page. In an image editor, use the perspective or “warp” tool and pull the four sheet corners to a rectangle with the sheet’s real proportions (an A-size sheet is 1 : 1.414).

  2. 2
    Check the right angles

    Long walls should be straight and corners square. Curved lines near the edges mean lens distortion; retake from further away rather than fix it.

  3. 3
    Crop and straighten

    Crop to the plan area plus the scale bar, and rotate so the main walls are horizontal.

  4. 4
    Clean the background

    Use levels or a threshold to turn yellowed paper white and lines black. Remove stains and folds with a soft eraser, not by redrawing.

  5. 5
    Export a working copy

    Keep the master. For map use, export a copy of at most 4096 px on its long edge — larger images do not display on some devices.

Step 3: establish the scale

A digital image has pixels, not metres. You need one trustworthy real-world length to convert between them — and the written scale on a paper plan is the least trustworthy, because photocopiers and printers quietly enlarge or shrink.

Source of scaleHow reliable
A dimension you measured on site with a laser measureBest — measure the longest straight wall you can
A dimension written on the planGood, if it is between two clear points
A graphic scale barGood — it shrinks and grows with the copy
Column grid spacing from another drawingGood for structural buildings
“Scale 1:100” printed on a copyPoor — only true at the original paper size

Measure the reference in pixels, divide by its real length, and you know the size of the whole image. For example, a 40 m wall that is 1,600 px long means 40 px per metre, so a 4,000 px-wide image covers 100 m. Check a second dimension in the other direction: if it disagrees, the perspective correction is off.

Step 4: redraw in CAD, or trace straight into a map?

Redraw in CAD when…Trace straight into an indoor map when…
Building works, permits or a fit-out are comingThe plan is for operations, directions or live data
Consultants will exchange the drawingThe people using it are on site, not in a design office
You need dimensions to the centimetreRoom-level and rack-level accuracy is enough
Fire or evacuation plans must follow a drawing standardYou want a 3D map in a browser this week

Automatic raster-to-vector converters exist, and they help with clean drawings. On old, hand-drawn or stained plans they produce many short, broken lines that take longer to fix than to trace. Either way, walk the building: paper plans are often decades behind the walls.

Step 5: from the digitized plan to an indoor map

In Spatial Map, upload the cleaned image (PNG, JPEG, GIF or WebP) in the floor plan tool and drag a box on the map to place it. Then type its real Width — with Lock aspect ratio on, the height follows — lower the Opacity, and rotate and nudge it until it sits on the building. The floor plan tool guide covers every control.

Next, let AI Map draft the floor from the image: walls, doors, racks, labels, areas, stairs, lifts and escalators appear on the map for review, and you add them all or kind by kind. The cleaner the scan, the cleaner the draft — which is the practical reward for steps 1 and 2. Fix and add what is missing with the drawing tools, name the rooms, and the plan is now a map. See AI floor plan mapping.

A three-floor building mapped from its plans
The Production Museum demo in Spatial Map: three gallery floors stacked in 3D with exhibits, stairs and lifts
The Production Museum demo in Spatial Map: three gallery floors stacked in 3D with exhibits, stairs and lifts

If you later receive a better scan or a CAD drawing, Replace image swaps the picture while keeping its position and size, so everything traced on top stays aligned. The full path from any kind of plan is on floor plan to indoor map, and the 7-day free trial covers up to 5 facilities with no card.

Try the platform your data belongs on.

Spatial Map turns spreadsheets, sensor streams, and CAD drawings into one live 3D facility view — nothing to install, seven-day free trial.

Keep reading