Skip to Content

Smartphone App Crowdsources Indoor Floor Plans

A new app developed in North Africa uses crowdsourced smartphone data to construct indoor floorplans

Maps have repeatedly revolutionised the world since the dawn of civilisation. The most recent iteration is based on the widespread adoption of smartphone technology and the location-based applications that it allows.

Anybody with one of these devices has access to the global satellite positioning system, a huge database of highly accurate maps and other layers of additional information, such as road names, local coffee shops and even the locations of friends.

But all this stops as soon as you enter a building. GPS famously stops working indoors and few maps are available for indoor locations. 

Google and others have begun to change this by making maps of some large shopping malls in the US and Japan. But progress is slow, largely because these maps have to be painstakingly created more or less by hand.

Today, that looks set to change thanks to an innovative idea from Moustafa Alzantot and Moustafa Youssef at Alexandria University in Egypt. These guys have developed an app that crowdsources data from smartphone sensors to construct indoor floorplans automatically. The new app is called CrowdInside.

Clearly, the type and quality of the data is crucial. These guys point out that smartphones are equipped with a wide variety of sensors: GPS devices, magnetometers (compasses), accelerometers and even WiFi signals strength meters that give a rough estimate of the distance to the nearest hotspot. They use all this data in a remarkably innovative way.

The basic technique is dead-reckoning using an accelerometer as a pedometer and the magnetometer as a direction finder. The number of steps in a specific direction give a rough idea of the distance walked. 

The problem, of course, is that dead-reckoning is notoriously susceptible to errors, which build rapidly in time. To get around this, the system needs to be constantly re-calibrated using points at a known location. 

This is the clever part of the system. Alzantot and Youssef start by using the location where GPS data becomes unavailable to determine the entrance to the building. That gives a starting point for the dead-reckoning.

Next, they use the sensor data to spot when the users are in an elevator, using an escalator or simply walking up or down stairs. In each case, the movement produces a unique pattern of acceleration that is different from walking and so makes them easy to spot. 

Since all these locations are fixed in a building, they can be used as anchor points to recalibrate the dead-reckoning calculations. The result is an app that trace a user’s movements in a building with reasonable accuracy. 

The great power of this system comes from taking data from many users, in other words crowdsourcing it. This sharpens the floorplan, making it more accurate. 

It also allows them to  infer higher level data, such as the shape of rooms by looking at the spread of traces, or the position of doors by looking for the intersection between corridors and rooms. 

The map above comes from about 150 traces.

That’s a clever idea with significant commercial potential. Alzantot and Youssef don’t say whether they will make CrowdInside widely available. Whatever their plans, they need to make sure they’ve protected their intellectual property, a task that may be more challenging in North Africa than in other parts of the world. 

Let’s wish them luck with it.

Ref: CrowdInside: Automatic Construction of Indoor Floorplans

Deep Dive


Five poems about the mind

DREAM VENDING MACHINE I feed it coins and watch the spring coil back,the clunk of a vacuum-packed, foil-wrappeddream dropping into the tray. It dispenses all kinds of dreams—bad dreams, good dreams,short nightmares to stave off worse ones, recurring dreams with a teacake marshmallow center.Hardboiled caramel dreams to tuck in your cheek,a bag of orange dreams…

Work reinvented: Tech will drive the office evolution

As organizations navigate a new world of hybrid work, tech innovation will be crucial for employee connection and collaboration.

lucid dreaming concept
lucid dreaming concept

I taught myself to lucid dream. You can too.

We still don’t know much about the experience of being aware that you’re dreaming—but a few researchers think it could help us find out more about how the brain works.

panpsychism concept
panpsychism concept

Is everything in the world a little bit conscious?

The idea that consciousness is widespread is attractive to many for intellectual and, perhaps, also emotional
reasons. But can it be tested? Surprisingly, perhaps it can.

Stay connected

Illustration by Rose WongIllustration by Rose Wong

Get the latest updates from
MIT Technology Review

Discover special offers, top stories, upcoming events, and more.

Thank you for submitting your email!

Explore more newsletters

It looks like something went wrong.

We’re having trouble saving your preferences. Try refreshing this page and updating them one more time. If you continue to get this message, reach out to us at with a list of newsletters you’d like to receive.