-
Notifications
You must be signed in to change notification settings - Fork 13
Data Flow
Yuxiang Huang edited this page Nov 8, 2025
·
44 revisions
The data acquisitor [insert folder link] is responsible for
- Scraping the outside graph from OSM
- Scraping building outlines from ESIM
- Extracting polygons from the floorplans in the FMS Website
- Link each polygon with a room name, type, etc.
- Generate graphs from the polygons
- Useful file: https://github.com/ScottyLabs/cmumaps-data-visualization-deprecated/blob/main/public/python/api/walkway_detection.py
- And store all data in JSON files in S3 buckets
The deserializer will read the JSON data from S3 bucket and populate the database in Staging.
In this step, the visualizer in Staging allows us to visually verify the integrity of the graph and polygons. Then, the visualizer allows the floor to be placed in geo coordinates.
[TODO: more explanation coming soon]
Note: we want to do this step in staging so users will not see unplaced floor data.
The serializer will read from the database and serialize the data to JSONs in S3 bucket.
The deserializer will read the JSON data from S3 bucket and populate the database in Prod.
The visualizer in Prod allows us to quickly add POIs (points of interest) that users can immediately see.