Localizing Coordinates in a Building

Job ID: 40207410

Budget: $10 – $30 USD

Localizing Coordinates in a Building

You are given a simple representation of geometries of buildings and floors. Your task is
to implement a frontend that accepts a 3D point defined in metric coordinates as user
input, and a backend endpoint that can be used to query the given buildings and floors
with the point data. The building and floor in which the point is located should be
presented to the user afterwards.
The input data format to describe buildings and floors is as defined in the
'example_data.json' file. Please make the backend parse a file in that format. Feel
free to choose a suitable data structure to store the buildings and floors in an efficient
manner. You can make use of a database. Storing the data in memory is fine for this task.
Please use Typescript (Node.js and Angular) for the implementation.
We suggest keeping it simple. Include a short description on how to run your project.
Furthermore, please write a short document explaining any additional work that would
be required to turn your solution into a production application that could be exposed
publicly on the internet. If your code requires compilation, you do not need to include
the compiled binaries, but please provide instructions on how to build them.
The visualization on the right is just an
illustration of the example data. It is
not part of the requirements to
implement a UI.
Example data can be found in the 'example_data.json' file. All coordinates in that
file are metric. The values of the outlines are pairs of x- and y-coordinates. The height
property defines a range. Example result for the provided data: a query for the 3D point
(11, 11, 11) will show the user that it is in building "Office building" and on floor "Floor 3".
Remarks:
• We recognize that AI tools are increasingly part of modern development workflows.
Therefore, you are encouraged to use an AI assistant while working on this challenge.
To help us understand how you approach and collaborate with such tools in a
realistic setting, please include the full chat history of your interaction with AI.