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


Our best illustrations of 2022

Our artists’ thought-provoking, playful creations bring our stories to life, often saying more with an image than words ever could.

How CRISPR is making farmed animals bigger, stronger, and healthier

These gene-edited fish, pigs, and other animals could soon be on the menu.

The Download: the Saudi sci-fi megacity, and sleeping babies’ brains

This is today’s edition of The Download, our weekday newsletter that provides a daily dose of what’s going on in the world of technology. These exclusive satellite images show Saudi Arabia’s sci-fi megacity is well underway In early 2021, Crown Prince Mohammed bin Salman of Saudi Arabia announced The Line: a “civilizational revolution” that would house up…

10 Breakthrough Technologies 2023

Every year, we pick the 10 technologies that matter the most right now. We look for advances that will have a big impact on our lives and break down why they matter.

Stay connected

Illustration 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.