Indoor Mapping in JOSM

2017, Jul 13    

Today, I did indoor mapping of MBA block of Guru Nanak Dev Engineering College, Ludhiana in JOSM. So for that, I followed this link.

To clarify your vision regarding the area of rooms in the building you need a blueprint/plan of that building in image format for reference. For eg below is the plan of MBA block.

For using the image for mapping in JOSM you need PicLayer-plugin. This can be done by

Edit -> Preferences (F12) -> Configure available plugins

Afterwards, the created picture can be loaded into JOSM by selecting

PicLayer -> New picture layer from file

After that import osm data as a base layer and then place the image of MBA block on the top of the base layer of osm map layer where MBA block is located. It is like doing a drawing with the help of tracing paper. So here the pic of MBA block is acting as a tracing paper.

To position and scale MBA block pic on osm layer tag the corners of the plan (green arrow-button 05.Symbol PicLayer01.jpg ).

You need to click on the left side of image layer in order to get image adjusting tools as shown in the above screenshot.

Before the mapping activities can start, the OSM Layer must be activated. Then the rooms can be created (“Draw nodes”), this is done in the same way as one would map a normal polygon.

After mapping, you can delete image layer and then you are left with

Afterwards, different properties (tags) can be added to the different OSM features: doors, stairways, elevator, windows, rooms.

To add this manually is a complex task. So, the more efficient approach is to use the indoor-helper plugin.

Adding details via this plugin is very simple. You just need to click the power button after selecting pin icon on the upper right corner of the window and then add the details by selecting the level of building and so on…

Today I edited ground floor of MBA block. I didn’t edit the first floor and the second floor because before that I need to figure out how can I show the indoor details of multi-story building on the 2D and 3D map.

Also to show the indoor mapping of MBA block on the map I need to explore its code like that of http://clement-lagrange.github.io/osmtools-indoor/#lat=50.60950&lon=3.13776&z=21&room=224&id_building=3440826&id_level=3473285&id_room=258772069 which I will do tomorrow.