Hitchhiker's guide to floor plan digitalization


Intro

Hei the Internet! I’m going to introduce a complete tutorial on how to create a geoJSNO file from a floor plan image.

Tools

  • QGIS 2.14
    • Plugins:
      • Copy_Coords
      • Digitizing Tools
      • OpenLayers Plugin
      • QuickMultiAttributeEdit
  • Bamboo Tablet Pencil: You DON’T wanna use a mouse for this, seriously.
  • geojson.io: For testing the geoJSON files you created.

Final Output

Drawing

This is what you are going to get at the end of this tutorial.

Original Floor Plan(TIF)

Drawing

This is the original floor plan file which I’m going to use. I’m going to convert it into TIF. You can use GhostScript for conversion. It’s a command line tool and the following command will do all the work for you. Really, don’t use online PDF converters. They SUCK – low resolution & large file size.

gs -q -dNOPAUSE -sDEVICE=tiffg4 -sOutputFile=a.tif foo.pdf -c quit

Get your hands dirty

This part is mostly based on eeGeo’s README.

You can either read the text guide of eeGeo’s or watch my video tutorials:

Last words

If you think it takes you too long to draw one floor, you are doing it right. It took me a lot of time to get used to using QGIS and it still takes me more than 8 hours to draw the floor in the video. Remember that good things take time :)