Floor Plan to Indoor Wayfinding: A Practical Architecture
By Floor Plan Analyzer, an AxcelerateAI practice
A room graph can show that an office is connected to a lobby. A wayfinding product must also choose a path through circulation space, cross the correct floor transition and respect the rules that apply now. A shortest-path algorithm cannot repair an invented door or an outdated lift state.
This guide is for product and engineering teams planning a custom drawing-to-wayfinding integration. It builds on our adjacency guide and focuses on multi-floor routing, query policy, operational ownership and acceptance tests. The worked example makes a lift outage produce an honest no-path result.

At a glance
Extract candidate spaces and openings, review walkable paths and level transitions, then serve routes over a versioned graph filtered by access rules and operating state. Keep positioning, route costs and user instructions separate. Test closures and no-path cases alongside successful routes before release.
Download the fictional two-floor routing fixture
Separate drawing intelligence from a live routing product
A floor plan supplies evidence about spaces, openings and circulation. It does not establish which door is unlocked now, where the visitor currently stands or whether a lift is operating. Treat extraction, reviewed map geometry, routing policy and user positioning as separate parts of the system.
OGC IndoorGML focuses on indoor spatial information for navigation. It is useful vocabulary for exchanging spaces and connections, but selecting a standard does not validate the source drawing or operating conditions. The downloadable fixture in this guide is a deliberately small application graph, not an IndoorGML implementation.
For a discovery call, define the product decision first: destination search, a kiosk route from a known start, a mobile route from an observed position, or facilities planning. These use cases share map data but have different dependencies. A kiosk with a fixed origin can be a useful first release without claiming live indoor positioning.
| Layer | Produces | Needs |
|---|---|---|
| Drawing extraction | Candidate rooms, doors and circulation | Source sheets and confidence/review evidence |
| Map authoring | Reviewed geometry and destinations | Map owner and revision control |
| Route service | A permitted path for this request | Profile, closures and graph version |
| Positioning and interface | Start location and usable guidance | Location source, floor and uncertainty |
References: OGC IndoorGML standard overview
Start with an evidence and destination inventory
Collect the permitted drawing set, sheet index, current issue, level names and site identifiers. Ask which drawings reflect the building that users will actually enter. Retain drawings that disagree rather than silently choosing the cleanest image. A map owner needs to decide which source is authoritative and when on-site verification is necessary.
Use stable destination IDs independently of room labels. Room 201 can be renamed, duplicated in another building or divided by a later fit-out. Store display names and aliases as editable attributes. An entry named Main Entrance also needs a specific building, level and approach point.
Create a coverage manifest of included levels and areas, unsupported regions and unresolved links. A partial map can be useful if its coverage is explicit. A route request outside the reviewed coverage should return an explanatory result rather than a straight line through an unmapped wing.
Build walkable paths, not lines between room centers
Extract candidate walls, room boundaries and openings, then review their spatial relationships. Use door approach points, corridor junctions and destination access points as route nodes. Generate or draw paths through traversable space and inspect them against the source plan. A segment between centroids can cross furniture, a wall or an atrium.
Choose the path construction technique for the geometry. A regular lattice, a corridor skeleton or a visibility-based method makes different tradeoffs in open areas and irregular layouts. Keep the method replaceable behind a common reviewed route-segment contract. Do not let a clean-looking centerline hide an unverified connection.
Esri’s indoor-network workflow distinguishes pathways on levels from transitions between levels and describes different pathway-generation approaches. This supports the architecture distinction, not a claim that our custom extraction has passed Esri validation. Your receiving platform may require its own network model and tooling.
References: Esri ArcGIS Pro 3.6: create the indoor network
Connect floors through explicit vertical transitions
Give each stair or lift landing a level-specific node and link the appropriate landings explicitly. Two symbols at similar x-y coordinates on separate sheets do not prove they belong to the same stair or lift. Confirm the core identity, served levels and any intermediate landing evidence.
Keep the building-level transform with each view. A local drawing origin or rotation may differ between floors. Align levels using reviewed references before drawing a continuous visual route. For split levels or mezzanines, distinguish the user-facing level name from an internal elevation or level ID.
Record transition type, direction and policy attributes independently. A one-way escalator should not become two ordinary edges by default. A lift transition needs an operating-state source if the product promises current availability. Where the association is uncertain, create a review issue and return no route through that transition until it is resolved.
Define route costs and hard constraints separately
Choose a cost with an explicit meaning: distance, estimated duration or another agreed non-negative score. Do not add meters and seconds in the same field. If using duration, explain walking-speed assumptions and transition delays; a shortest path under those assumptions is not a measured arrival time.
NetworkX documents Dijkstra for non-negative edge weights. For an integration, validate cost presence, units and bounds before solving; do not let a missing field fall back silently to an unintended value. Keep the graph algorithm independent of the method used to extract the drawing.
Apply hard constraints by excluding edges the request cannot use, rather than assigning a large penalty that still permits them when alternatives disappear. Use separate attributes for stairs, access restrictions, direction, review state and temporary closure. Preserve the reason when filtering makes the destination unreachable.
| Request | Implementation choice | Limit |
|---|---|---|
| Minimize travel distance | Reviewed route lengths | Does not include lift wait |
| Minimize modeled time | Consistent seconds and stated delays | Not a guaranteed ETA |
| Avoid stairs | Remove stair transitions for this request | Does not certify an accessible route |
| Respect a closure | Exclude the closed segment | Return no path when required |
References: NetworkX: Dijkstra with non-negative weights
Work through two floors and a lift outage
The downloadable fixture is fictional and contains no client geometry or measured travel times. Entry E reaches junction J on level L0. From J, a stair branch goes through S0 and S1 to upper junction U; a lift branch goes through L0-LIFT and L1-LIFT to U. U leads to destination D on level L1. All edges are bidirectional for this example only.
The stipulated edge costs are seconds: E–J=10; J–S0=5; S0–S1=20; S1–U=5; J–L0-LIFT=8; L0-LIFT–L1-LIFT=35; L1-LIFT–U=7; U–D=10. Under the ordinary profile, the stair path totals 10+5+20+5+10=50. The lift path totals 10+8+35+7+10=70.
The avoid-stairs query excludes the stair transition, so it returns the lift branch with modeled cost 70. If the lift transition is also closed, it returns no permitted path. It must not fall back to the stair branch and call the result suitable for that request. The destination and both branches remain in the base graph; the query result changes with policy.
These totals validate routing logic only. The fixture has no clearance, gradient, door-operation or site-condition evidence. Avoid-stairs is a narrowly defined filter, not a finding of accessibility compliance or safety. An implementation needs appropriate verified attributes and review before offering stronger route assurances.
| Query | Expected result | Cost or explanation |
|---|---|---|
| Ordinary; all transitions open | E → J → S0 → S1 → U → D | 50 modeled seconds |
| Avoid stairs; lift open | E → J → L0-LIFT → L1-LIFT → U → D | 70 modeled seconds |
| Avoid stairs; lift closed | No permitted path | Explain closure; no silent fallback |
Make closures and policy changes operational data
Keep the reviewed base graph immutable by version and overlay operating state separately. A closure record should identify the segment or transition, effective time, source, review/expiry policy and reason suitable for users. Decide what happens when the state feed is stale rather than assuming the last known open state remains reliable forever.
Choose an authoritative owner for access policy: facilities, security or another designated operator. The drawing model should not infer permission from a room name. Apply access checks on the service side before returning route segments, especially when a public application shares an underlying map with restricted areas.
Include graph version, policy version and operating-state timestamp in the result and cache key. Otherwise a cached visitor route can survive a closure or be served to a different profile. If data changes during a journey, define whether to invalidate, replan or ask the user to confirm a new route. Do not replace a route silently with one that violates the original constraints.
Anchor the start without snapping through a wall
A known kiosk origin, a selected map point and an indoor-positioning observation are different start sources. Store which was used and the level. For uncertain mobile positions, validate the floor and feasible path to a candidate route edge; the nearest edge in x-y may be across a wall or on another level.
IndoorAtlas describes graph edges and floor transitions as part of its SDK’s route workflow. Its overview also describes snapping a coordinate to a nearby edge. That is product-specific behavior, not evidence that unconstrained nearest-edge snapping is correct for every building. Define your own admissibility and ambiguity handling with the receiving platform.
If several starts remain plausible, offer a location confirmation or a manual start choice. Extraction from a PDF does not provide a positioning system. Evaluate map alignment and location uncertainty separately from route computation so a correct graph is not blamed for a wrong-floor observation.
References: IndoorAtlas wayfinding overview (updated 2019)
Turn a path into instructions a person can follow
A list of node IDs is an integration result, not finished wayfinding guidance. Associate route segments with reviewed landmarks, entrances and transition labels. Generate instructions from route geometry and direction, and verify them in the relevant approach direction. A label visible on a plan may not be visible from the corridor.
Provide a clear floor-change instruction and retain the destination access point rather than ending at its centroid. Keep localization and alternative display names separate from stable IDs. For a destination inside a restricted area, the permitted endpoint may be reception rather than the room itself.
Handle no-path results in the interface as deliberately as successful routes. State the limitation, preserve the requested destination and provide an appropriate help option. Do not draw a direct connection merely to avoid an empty map. A changed opening or closure can make no-path the most truthful result.
Test route behavior before releasing a building
Build a route acceptance matrix with the map owner. Include representative entrances, destinations, floors and user profiles, plus negative cases: an unreviewed door, a closed connector, an inaccessible start, a wrong-floor observation and a destination outside coverage. Check both directions where they are supposed to be supported.
Automated validation should check node and edge reference integrity, non-negative costs, consistent units, explicit vertical transitions and query filtering. A graph can be connected while a route cuts through a wall; include geometry-to-plan checks and on-site walk-throughs where required. Separately evaluate instruction clarity and destination identity.
Keep approved test routes and no-path cases as regression fixtures. Before releasing a revised drawing, compare changed nodes, openings and transitions, rerun the matrix and obtain the designated map review. Report extraction errors, manual corrections and route-policy defects separately. No universal accuracy figure can stand in for those acceptance results.
| Gate | Evidence | Failure handling |
|---|---|---|
| Reference integrity | Every edge endpoint exists | Reject invalid map version |
| Geometry review | Paths stay in reviewed traversable space | Open a correction task |
| Profile filter | Avoid-stairs query excludes stair edge | Reject violating route |
| Closure regression | Lift outage removes the relevant transition | Return reviewed alternative or no path |
| Revision release | Affected destinations and transitions retested | Keep prior approved version available |
Define the integration handoff and ownership
Agree stable IDs, coordinate frames, geometry format, level identifiers, destination taxonomy, route profile inputs, error responses and versioning. The fictional JSON has logical nodes and costs to isolate routing behavior; it deliberately lacks production geometry. Add reviewed polylines and source links in the real contract rather than treating this fixture as a complete indoor map.
A practical route response includes the node/segment sequence, destination ID, selected profile, cost meaning, map and policy versions and any limitation. A no-path response should distinguish missing coverage, unresolved geometry, policy exclusions and closures when that explanation is appropriate to disclose.
Assign responsibility for map correction, operating-state updates and route-service support. Retain a rollback path to an approved map. Log request and version information sufficient to diagnose failures while minimizing location data; retention and access should be agreed for the actual deployment. Custom software delivery needs these operating decisions as well as a model that recognizes doors.
Scope a useful drawing-to-wayfinding pilot
Start with a bounded, representative area and explicitly included levels. Provide permitted plans, an authoritative destination list, known entrance points, connector information, desired profiles and examples of routes the building team considers correct or invalid. Include a difficult transition and a no-path scenario in the acceptance set.
Floor Plan Analyzer is AxcelerateAI’s drawing-intelligence practice. We fine-tune models and build custom integrations around your drawings and receiving workflow. Our related indoor-wayfinding project describes its actual proof-of-concept stage; this guide is an educational architecture, not a new deployed-client claim.
A scoped pilot should deliver reviewed map evidence, an agreed graph contract, repeatable route tests and a clear operations plan. It should also state what is excluded, such as live positioning or emergency evacuation design. Ordinary destination routing must not be presented as an approved emergency or life-safety system.
Frequently asked questions
Is a room adjacency graph enough for turn-by-turn routing?
Usually it needs additional reviewed geometry: doorway approaches, corridor paths, junctions and level transitions. Touching rooms do not establish a passage or a walkable segment.
Does avoiding stairs prove the route is accessible?
No. It only excludes stair transitions under that filter. Other physical attributes, operating conditions and appropriate review are required before stronger assurances.
Can floor plan AI locate a person indoors?
Drawing extraction supplies map evidence. A live start location requires a separate positioning source or a known or manually selected origin.
What should happen when the only permitted lift is closed?
Return an appropriate alternative if it meets the same constraints; otherwise explain that no permitted path is available. Do not silently fall back to stairs.
Is the downloadable example a production map or benchmark?
No. It is fictional logical graph data with stipulated costs for testing routing and filtering. It has no surveyed geometry, measured travel times or client evidence.
References and illustration notes
Sources support the terminology and interpretation notes cited above. Worked examples and diagrams are our own educational material, not client drawings or measured project results.