aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <cbaines8@gmail.com>2014-02-07 00:03:15 +0000
committerChristopher Baines <cbaines8@gmail.com>2014-02-07 00:03:15 +0000
commit3f7f37f7760e7826ff7c3c0d4c9c8c1e586fb03e (patch)
treeeebd57e9073e6ca5330a44ebd067008ccdaa60ca
parent7dc5dadaf39673ab74a0c9e33471b5b3fd5aea31 (diff)
downloadmfd-location-3f7f37f7760e7826ff7c3c0d4c9c8c1e586fb03e.tar
mfd-location-3f7f37f7760e7826ff7c3c0d4c9c8c1e586fb03e.tar.gz
Replace the json file with yaml
This allows for comments
-rw-r--r--data.json16
-rw-r--r--data.yaml110
2 files changed, 110 insertions, 16 deletions
diff --git a/data.json b/data.json
deleted file mode 100644
index e5b2d8b..0000000
--- a/data.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "http://id.southampton.ac.uk/mfd/1812968319": { "level": "1", "coordinates": [-1.3977322, 50.9372873] },
- "http://id.southampton.ac.uk/mfd/1812968313": { "level": "3", "coordinates": [-1.3976627, 50.9373496] },
- "http://id.southampton.ac.uk/mfd/1812950344": { "level": "3", "coordinates": [-1.3977299, 50.9372259] },
- "http://id.southampton.ac.uk/mfd/1811637593": { "level": "3", "coordinates": [-1.3977482, 50.937225] },
- "http://id.southampton.ac.uk/mfd/1811652107": { "level": "3", "coordinates": [-1.3977665, 50.9373547] },
-
- "http://id.southampton.ac.uk/mfd/1811643313": { "level": "2", "coordinates": [-1.3957815, 50.9348748] },
- "http://id.southampton.ac.uk/mfd/1811689061": { "level": "2", "coordinates": [-1.3957612, 50.9348692] },
- "http://id.southampton.ac.uk/mfd/1811689058": { "level": "2", "coordinates": [-1.395739, 50.9348633] },
- "http://id.southampton.ac.uk/mfd/1811689064": { "level": "2", "coordinates": [-1.39575, 50.9348476] },
- "http://id.southampton.ac.uk/mfd/1811689068": { "level": "2", "coordinates": [-1.3957726, 50.9348536] },
- "http://id.southampton.ac.uk/mfd/1811689072": { "level": "2", "coordinates": [-1.3957927, 50.93486] },
-
- "http://id.southampton.ac.uk/mfd/1812956311": { "level": "3", "coordinates": [-1.3958056, 50.9361012] }
-}
diff --git a/data.yaml b/data.yaml
new file mode 100644
index 0000000..63b2593
--- /dev/null
+++ b/data.yaml
@@ -0,0 +1,110 @@
+# This file contains the location of multi-function devices
+
+## Zepler (59)
+
+# PR_B59_C1730_M01
+http://id.southampton.ac.uk/mfd/1812968319:
+ level: '1'
+ coordinates:
+ - -1.3977322
+ - 50.9372873
+ comment:
+ Just outside the rapid prototyping lab
+
+# PR_B59_R3218_M01
+http://id.southampton.ac.uk/mfd/1812968313:
+ level: '3'
+ coordinates:
+ - -1.3976627
+ - 50.9373496
+ comment:
+ Middle of the main corridor on level 3
+
+# PR_B59_R3207_M01
+http://id.southampton.ac.uk/mfd/1812950344:
+ level: '3'
+ coordinates:
+ - -1.3977299
+ - 50.9372259
+ comment:
+ South end of the Undergraduate Computing Labs, on the left
+
+# PR_B59_R3237_M01
+http://id.southampton.ac.uk/mfd/1811637593:
+ level: '3'
+ coordinates:
+ - -1.3977482
+ - 50.937225
+ comment:
+ South end of the Undergraduate Computing Labs, on the right
+
+
+# PR_B59_R3237_M02
+http://id.southampton.ac.uk/mfd/1811652107:
+ level: '3'
+ coordinates:
+ - -1.3977665
+ - 50.9373547
+ comment:
+ Middle of the Undergraduate Computing Labs
+
+## Library (36)
+
+# PR_B36_LVL02_M01
+http://id.southampton.ac.uk/mfd/1811643313:
+ level: '2'
+ coordinates:
+ - -1.3957815
+ - 50.9348748
+ comment: Print room, far right
+
+# PR_B36_LVL02_M02
+http://id.southampton.ac.uk/mfd/1811689061:
+ level: '2'
+ coordinates:
+ - -1.3957612
+ - 50.9348692
+ comment: Print room, middle right
+
+# PR_B36_LVL02_M03
+http://id.southampton.ac.uk/mfd/1811689058:
+ level: '2'
+ coordinates:
+ - -1.395739
+ - 50.9348633
+ comment: Print room, near right
+
+# PR_B36_LVL02_M04
+http://id.southampton.ac.uk/mfd/1811689064:
+ level: '2'
+ coordinates:
+ - -1.39575
+ - 50.9348476
+ comment: Print room, near left
+
+# PR_B36_LVL02_M05
+http://id.southampton.ac.uk/mfd/1811689068:
+ level: '2'
+ coordinates:
+ - -1.3957726
+ - 50.9348536
+ comment: Print room, middle right
+
+# PR_B36_LVL02_M06
+http://id.southampton.ac.uk/mfd/1811689072:
+ level: '2'
+ coordinates:
+ - -1.3957927
+ - 50.93486
+ comment: Print room, far right
+
+## Building 32
+
+# PR_B32_C3049_M01
+http://id.southampton.ac.uk/mfd/1812956311:
+ level: '3'
+ coordinates:
+ - -1.3958056
+ - 50.9361012
+ comment:
+ In the open space, at the south end of level 3