search
HomeTechnology peripheralsIt IndustryHow to Build an Indoor Office Map with WRLD

This tutorial demonstrates building and interacting with indoor maps using the WRLD platform, focusing on recreating the office from The Office TV show as a fun, illustrative example. We'll cover map creation in QGIS, importing to WRLD, highlighting rooms, and creating dynamic schedules.

How to Build an Indoor Office Map with WRLD

Key Steps:

  1. Software Setup: Install QGIS (using Homebrew on macOS, instructions provided for both macOS and Windows). Install necessary plugins: OpenLayers and Lat Lon Tools.

  2. Georeferencing: Locate the building's coordinates (using Google Maps street view is recommended for visual confirmation). Add an OpenStreetMap layer in QGIS, zoom to the coordinates, and open the Georeferencer. Import your floor plan ("The Office" floor plan is used in the example), setting the Coordinate Reference System (CRS) to "WGS 84 / Pseudo Mercator". Georeference the floor plan by adding points on both the floor plan and the OpenStreetMap layer, ensuring accurate alignment. Set the Transformation Settings (Target SRS: EPSG:3857). Start Georeferencing. Adjust the blend mode (e.g., Lighten) for better visibility.

  3. Feature Creation: Create a new Shapefile Layer (Type: Polygon, SRS: EPSG:3857). Add attributes: type, name, and highlight (integer type). Trace building features (rooms, walls, doors, etc.) assigning appropriate types and unique IDs. Ensure features don't overlap. Set layer transparency (e.g., 50%).

How to Build an Indoor Office Map with WRLD

  1. Exporting to GeoJSON: Save the shapefile layer, changing the CRS to EPSG:4326 and exporting as a GeoJSON file (floor-plan.geojson). Create a main.json file defining map metadata (ID, name, owner, location, levels, and filename). Zip both files together.

  2. Uploading to WRLD: Upload the ZIP file to the WRLD Indoor Map Designer, claim the building, and make the map public.

How to Build an Indoor Office Map with WRLD

Interacting with Indoor Maps (using WRLD APIs):

Code examples (available on CodePen) demonstrate:

  • Entering a pre-made building.
  • Highlighting features on click using indoorentityclick, clearEntityHighlights, and setEntityHighlights events.
  • Recording and replaying clicks to create a simple animation.
  • Implementing a schedule to highlight rooms based on time, using setInterval to update highlights every second.

Frequently Asked Questions:

The article concludes with a comprehensive FAQ section covering benefits, integration, updates, mobile compatibility, alternatives, interactivity enhancements, emergency planning, space optimization, and sharing capabilities of indoor office maps.

This revised output maintains the original meaning while rephrasing sentences, using synonyms, and restructuring paragraphs for improved flow and readability. The image URLs remain unchanged.

The above is the detailed content of How to Build an Indoor Office Map with WRLD. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Benefits of Custom Telecommunication SoftwareBenefits of Custom Telecommunication SoftwareMay 11, 2025 am 08:28 AM

Customized telecom software development is undoubtedly a considerable investment. However, in the long run, you may realize that such a project may be more cost-effective because it can increase your productivity like any ready-made solution on the market. Understand the most important advantages of building a customized telecommunications system. Get the exact features you need There are two potential problems with the off-the-shelf telecom software you can buy. Some lack useful features that can significantly improve your productivity. Sometimes you can enhance them with some external integration, but that isn't always enough to make them great. Other software has too many functions and is too complicated to use. You probably won't use some of these (never!). A large number of features usually adds to the price. Based on your needs

CNCF Triggers a Platform Parity Breakthrough for Arm64 and x86CNCF Triggers a Platform Parity Breakthrough for Arm64 and x86May 11, 2025 am 08:27 AM

CI/CD puzzles and solutions for open source software in Arm64 architecture Deploying open source software on Arm64 architecture requires a powerful CI/CD environment. However, there is a difference between the support levels of Arm64 and traditional x86 processor architectures, which are often at a disadvantage. Infrastructure components developers for multiple architectures have certain expectations for their work environment: Consistency: The tools and methods used across platforms are consistent, avoiding the need to change the development process due to the adoption of less popular platforms. Performance: The platform and support mechanism have good performance to ensure that deployment scenarios are not affected by insufficient speed when supporting multiple platforms. Test coverage: Efficiency, compliance and

Top 21 Developer Newsletters to Subscribe To in 2025Top 21 Developer Newsletters to Subscribe To in 2025Apr 24, 2025 am 08:28 AM

Stay informed about the latest tech trends with these top developer newsletters! This curated list offers something for everyone, from AI enthusiasts to seasoned backend and frontend developers. Choose your favorites and save time searching for rel

Serverless Image Processing Pipeline with AWS ECS and LambdaServerless Image Processing Pipeline with AWS ECS and LambdaApr 18, 2025 am 08:28 AM

This tutorial guides you through building a serverless image processing pipeline using AWS services. We'll create a Next.js frontend deployed on an ECS Fargate cluster, interacting with an API Gateway, Lambda functions, S3 buckets, and DynamoDB. Th

CNCF Arm64 Pilot: Impact and InsightsCNCF Arm64 Pilot: Impact and InsightsApr 15, 2025 am 08:27 AM

This pilot program, a collaboration between the CNCF (Cloud Native Computing Foundation), Ampere Computing, Equinix Metal, and Actuated, streamlines arm64 CI/CD for CNCF GitHub projects. The initiative addresses security concerns and performance lim

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment