Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overlays for StudiTUM Innenstadt #293

Merged
merged 4 commits into from
Feb 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions data/sources/02_coordinates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,60 @@
"0205.03.302": { lat: 48.147494785237, lon: 11.567622229204972 }
"0305.04.508": { lat: 48.14609440391391, lon: 11.569374210372473 }
"0503.02.345A": { lat: 48.1483384891566, lon: 11.565865189789264 }

# === StudiTUM Innenstadt ===
"0201.EG.001": { lat: 48.147784, lon: 11.566958 }
"0201.EG.002": { lat: 48.147715, lon: 11.567000 }
"0201.EG.003": { lat: 48.147678, lon: 11.566972 }
"0201.EG.004": { lat: 48.147684, lon: 11.566933 }
"0201.EG.005": { lat: 48.147699, lon: 11.566878 }
"0201.EG.006": { lat: 48.147712, lon: 11.566846 }
"0201.EG.007": { lat: 48.147744, lon: 11.566860 }
"0201.EG.008": { lat: 48.147767, lon: 11.566878 }
"0201.EG.010": { lat: 48.147748, lon: 11.566941 }
"0201.EG.011": { lat: 48.147726, lon: 11.566936 }
"0201.EG.012": { lat: 48.147681, lon: 11.566899 }

"0201.01.001": { lat: 48.147784, lon: 11.566958 }
"0201.01.002": { lat: 48.147731, lon: 11.567009 }
"0201.01.003": { lat: 48.147708, lon: 11.566995 }
"0201.01.004": { lat: 48.147678, lon: 11.566972 }
"0201.01.005": { lat: 48.147684, lon: 11.566933 }
"0201.01.006": { lat: 48.147699, lon: 11.566878 }
"0201.01.007": { lat: 48.147712, lon: 11.566846 }
"0201.01.008": { lat: 48.147744, lon: 11.566860 }
"0201.01.009": { lat: 48.147767, lon: 11.566878 }
"0201.01.011": { lat: 48.147748, lon: 11.566941 }
"0201.01.012": { lat: 48.147726, lon: 11.566936 }
"0201.01.013": { lat: 48.147681, lon: 11.566899 }

"0201.02.001": { lat: 48.147784, lon: 11.566958 }
"0201.02.002": { lat: 48.147731, lon: 11.567009 }
"0201.02.003": { lat: 48.147708, lon: 11.566995 }
"0201.02.004": { lat: 48.147678, lon: 11.566972 }
"0201.02.005": { lat: 48.147684, lon: 11.566933 }
"0201.02.006": { lat: 48.147699, lon: 11.566878 }
"0201.02.007": { lat: 48.147712, lon: 11.566846 }
"0201.02.008": { lat: 48.147744, lon: 11.566860 }
"0201.02.009": { lat: 48.147767, lon: 11.566878 }
"0201.02.011": { lat: 48.147748, lon: 11.566941 }
# "0201.02.012" doesn't exist in data, but has same coordinate as 0201.01.012
"0201.02.013": { lat: 48.147681, lon: 11.566899 }

"0201.03.001": { lat: 48.147784, lon: 11.566958 }
"0201.03.002": { lat: 48.147715, lon: 11.567000 }
"0201.03.003": { lat: 48.147678, lon: 11.566972 }
"0201.03.004": { lat: 48.147684, lon: 11.566933 }
"0201.03.005": { lat: 48.147699, lon: 11.566878 }
"0201.03.006": { lat: 48.147712, lon: 11.566846 }
"0201.03.007": { lat: 48.147739, lon: 11.566858 }
"0201.03.008": { lat: 48.147751, lon: 11.566864 }
"0201.03.009": { lat: 48.147767, lon: 11.566878 }
"0201.03.011": { lat: 48.147748, lon: 11.566941 }
"0201.03.012": { lat: 48.147726, lon: 11.566936 }
"0201.03.013": { lat: 48.147681, lon: 11.566899 }

# === Weitere Südgelände ===
"0206.EG.002": { lat: 48.14712792949811, lon: 11.567150950288777 }
"0206.EG.003": { lat: 48.14709034738519, lon: 11.567336022710748 }
"0206.EG.004": { lat: 48.14717803893956, lon: 11.567057072973626 }
Expand Down
19 changes: 17 additions & 2 deletions data/sources/45_custom-maps.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
# Custom maps are located in sources/img/maps/roomfinder
# `scale` is an estimate, doesn't make much sense actually

- props:
type: "indoor"
scale: 400 # Estimate, doesn't make much sense actually
scale: 300
north: 48.147833
east: 11.567110
south: 48.147640
west: 11.566764
rotation: 67.5229
maps:
- {file: "0201_0.webp", b_id: "0201", floor: "EG", desc: "StudiTUM Innenstadt (EG)"}
- {file: "0201_1.webp", b_id: "0201", floor: "01", desc: "StudiTUM Innenstadt (1.OG)"}
- {file: "0201_2.webp", b_id: "0201", floor: "02", desc: "StudiTUM Innenstadt (2.OG)"}
- {file: "0201_3.webp", b_id: "0201", floor: "03", desc: "StudiTUM Innenstadt (3.OG)"}

- props:
type: "indoor"
scale: 400
north: 48.26692
east: 11.67051
south: 48.26672
Expand All @@ -16,7 +31,7 @@

- props:
type: "indoor"
scale: 1500 # Estimate, doesn't make much sense actually
scale: 1500
north: 48.269547
east: 11.671167
south: 48.267818
Expand Down
15 changes: 14 additions & 1 deletion data/sources/46_overlay-maps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,20 @@
- {file: "0104_3.webp", id: 3, floor: "03", desc: "U-Trakt N4 (3. OG) – © TUM WWW & Online Services"}
- {file: "0104_4.webp", id: 4, floor: "04", desc: "U-Trakt N4 (4. OG) – © TUM WWW & Online Services"}
- {file: "0104_5.webp", id: 5, floor: "DG", desc: "U-Trakt N4 (5. OG) – © TUM WWW & Online Services"}


- props:
parent: "0201"
box:
- [11.566737, 48.147667]
- [11.566869, 48.147881]
- [11.567138, 48.147806]
- [11.567005, 48.147594]
maps:
- {file: "0201_0.webp", id: 0, floor: "EG", desc: "StudiTUM Innenstadt (EG)"}
- {file: "0201_1.webp", id: 1, floor: "01", desc: "StudiTUM Innenstadt (1.OG)"}
- {file: "0201_2.webp", id: 2, floor: "02", desc: "StudiTUM Innenstadt (2.OG)"}
- {file: "0201_3.webp", id: 3, floor: "03", desc: "StudiTUM Innenstadt (3.OG)"}

- props:
parent: "0505"
box:
Expand Down
Loading