From 673611170c7be5323bad1fb28f224f0635468b4d Mon Sep 17 00:00:00 2001 From: Micho Date: Thu, 23 May 2013 14:00:07 +0200 Subject: [PATCH] adding rooms to accesspoints --- .gitattributes | 2 +- cleaned/accesspoints.json | 636 +++++++++++++++++++------------------- node.js/2 convert svg.js | 2 + 3 files changed, 321 insertions(+), 319 deletions(-) diff --git a/.gitattributes b/.gitattributes index 9957579..507320a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1 @@ -cleaned/*.json -diff +cleaned/rp13*.json -diff diff --git a/cleaned/accesspoints.json b/cleaned/accesspoints.json index b1b7628..b3f3e88 100644 --- a/cleaned/accesspoints.json +++ b/cleaned/accesspoints.json @@ -1,620 +1,620 @@ { "ap-r5-m2-001": { "id": "ap-r5-m2-001", - "x": 0.6407456087090069, - "y": 0.9127220646746622, - "group": "" + "x": 0.64074, + "y": 0.91272, + "group": "workshop4" }, "ap-r5-m5-001": { "id": "ap-r5-m5-001", - "x": 0.6407456087090069, - "y": 0.9127220646746622, - "group": "" + "x": 0.64074, + "y": 0.91272, + "group": "workshop4" }, "ap-r5-m2-002": { "id": "ap-r5-m2-002", - "x": 0.5842624274070847, - "y": 0.9127220646746622, - "group": "" + "x": 0.58426, + "y": 0.91272, + "group": "workshop3" }, "ap-r5-m5-002": { "id": "ap-r5-m5-002", - "x": 0.5842624274070847, - "y": 0.9127220646746622, - "group": "" + "x": 0.58426, + "y": 0.91272, + "group": "workshop3" }, "ap-r5-m2-003": { "id": "ap-r5-m2-003", - "x": 0.3708446136592544, - "y": 0.909150457522876, - "group": "" - }, - "ap-r5-m5-003": { - "id": "ap-r5-m5-003", - "x": 0.4367532662347403, - "y": 0.909150457522876, - "group": "" + "x": 0.37084, + "y": 0.90915, + "group": "workshop1" }, "ap-r5-m2-004": { "id": "ap-r5-m2-004", - "x": 0.3708446136592544, - "y": 0.909150457522876, - "group": "" + "x": 0.37084, + "y": 0.90915, + "group": "workshop1" + }, + "ap-r5-m5-003": { + "id": "ap-r5-m5-003", + "x": 0.43675, + "y": 0.90915, + "group": "workshop2" }, "ap-r5-m5-004": { "id": "ap-r5-m5-004", - "x": 0.4367532662347403, - "y": 0.909150457522876, - "group": "" + "x": 0.43675, + "y": 0.90915, + "group": "workshop2" }, "ap-r4-m2-002": { "id": "ap-r4-m2-002", - "x": 0.5963916052945505, - "y": 0.6112998507068211, - "group": "" + "x": 0.59639, + "y": 0.6113, + "group": "stage5" }, "ap-r4-m5-002": { "id": "ap-r4-m5-002", - "x": 0.5963916052945505, - "y": 0.6112998507068211, - "group": "" + "x": 0.59639, + "y": 0.6113, + "group": "stage5" }, "ap-r4-m2-001": { "id": "ap-r4-m2-001", - "x": 0.6409224032630203, - "y": 0.6112998507068211, - "group": "" + "x": 0.64092, + "y": 0.6113, + "group": "stage5" }, "ap-r4-m5-001": { "id": "ap-r4-m5-001", - "x": 0.6409224032630203, - "y": 0.6112998507068211, - "group": "" + "x": 0.64092, + "y": 0.6113, + "group": "stage5" }, "ap-r4-m2-003": { "id": "ap-r4-m2-003", - "x": 0.763555320623174, - "y": 0.6362796711264135, - "group": "" + "x": 0.76355, + "y": 0.63628, + "group": "stage6" }, "ap-r4-m5-003": { "id": "ap-r4-m5-003", - "x": 0.763555320623174, - "y": 0.6362796711264135, - "group": "" + "x": 0.76355, + "y": 0.63628, + "group": "stage6" }, "ap-r4-m2-004": { "id": "ap-r4-m2-004", - "x": 0.8240226297029136, - "y": 0.6362796711264135, - "group": "" + "x": 0.82402, + "y": 0.63628, + "group": "stage6" }, "ap-r4-m5-004": { "id": "ap-r4-m5-004", - "x": 0.8240226297029136, - "y": 0.6362796711264135, - "group": "" + "x": 0.82402, + "y": 0.63628, + "group": "stage6" }, "ap-r4-m2-020": { "id": "ap-r4-m2-020", - "x": 0.8085915010036215, - "y": 0.49252248326702047, + "x": 0.80859, + "y": 0.49252, "group": "" }, "ap-r4-m5-020": { "id": "ap-r4-m5-020", - "x": 0.8085915010036215, - "y": 0.49252248326702047, + "x": 0.80859, + "y": 0.49252, "group": "" }, "ap-r1-m2-002": { "id": "ap-r1-m2-002", - "x": 0.6393330380804755, - "y": 0.11659654411291992, + "x": 0.63933, + "y": 0.1166, "group": "" }, "ap-r1-m5-002": { "id": "ap-r1-m5-002", - "x": 0.6393330380804755, - "y": 0.11659654411291992, - "group": "" - }, - "ap-r1-m2-004": { - "id": "ap-r1-m2-004", - "x": 0.4180148293128942, - "y": 0.08366275456629972, - "group": "" - }, - "ap-r1-m5-004": { - "id": "ap-r1-m5-004", - "x": 0.4180148293128942, - "y": 0.08366275456629972, - "group": "" - }, - "ap-r1-m2-003": { - "id": "ap-r1-m2-003", - "x": 0.49472045030822975, - "y": 0.08366275456629972, - "group": "" - }, - "ap-r1-m5-003": { - "id": "ap-r1-m5-003", - "x": 0.49472045030822975, - "y": 0.08366275456629972, + "x": 0.63933, + "y": 0.1166, "group": "" }, "ap-r1-m2-005": { "id": "ap-r1-m2-005", - "x": 0.6068367704099491, - "y": 0.2367275506632474, + "x": 0.60684, + "y": 0.23673, "group": "" }, "ap-r1-m5-005": { "id": "ap-r1-m5-005", - "x": 0.6068367704099491, - "y": 0.2367275506632474, + "x": 0.60684, + "y": 0.23673, "group": "" }, "ap-r1-m2-007": { "id": "ap-r1-m2-007", - "x": 0.5441639939139814, - "y": 0.2367275506632474, + "x": 0.54416, + "y": 0.23673, "group": "" }, "ap-r1-m5-007": { "id": "ap-r1-m5-007", - "x": 0.5441639939139814, - "y": 0.2367275506632474, + "x": 0.54416, + "y": 0.23673, "group": "" }, "ap-r1-m2-008": { "id": "ap-r1-m2-008", - "x": 0.4696870557813605, - "y": 0.2367275506632474, + "x": 0.46969, + "y": 0.23673, "group": "" }, "ap-r1-m5-008": { "id": "ap-r1-m5-008", - "x": 0.4696870557813605, - "y": 0.2367275506632474, + "x": 0.46969, + "y": 0.23673, "group": "" }, "ap-r1-m2-001": { "id": "ap-r1-m2-001", - "x": 0.740422021101055, - "y": 0.19475045180830472, + "x": 0.74042, + "y": 0.19475, "group": "" }, "ap-r1-m5-001": { "id": "ap-r1-m5-001", - "x": 0.740422021101055, - "y": 0.19475045180830472, + "x": 0.74042, + "y": 0.19475, "group": "" }, "ap-r1-m2-009": { "id": "ap-r1-m2-009", - "x": 0.6759580836184667, - "y": 0.330300086432893, + "x": 0.67596, + "y": 0.3303, "group": "" }, "ap-r1-m5-009": { "id": "ap-r1-m5-009", - "x": 0.6759580836184667, - "y": 0.330300086432893, + "x": 0.67596, + "y": 0.3303, "group": "" }, "ap-r1-m2-006": { "id": "ap-r1-m2-006", - "x": 0.6623806190309516, - "y": 0.43833048795296903, + "x": 0.66238, + "y": 0.43833, "group": "" }, "ap-r1-m5-006": { "id": "ap-r1-m5-006", - "x": 0.6623806190309516, - "y": 0.43833048795296903, + "x": 0.66238, + "y": 0.43833, "group": "" }, "ap-r3-m2-007": { "id": "ap-r3-m2-007", - "x": 0.40454272713635686, - "y": 0.22173037223289738, + "x": 0.40454, + "y": 0.22173, "group": "" }, "ap-r3-m5-007": { "id": "ap-r3-m5-007", - "x": 0.40454272713635686, - "y": 0.22173037223289738, + "x": 0.40454, + "y": 0.22173, "group": "" }, "ap-r3-m2-003": { "id": "ap-r3-m2-003", - "x": 0.3908009686198596, - "y": 0.45816362246683756, + "x": 0.3908, + "y": 0.45817, "group": "" }, "ap-r3-m5-003": { "id": "ap-r3-m5-003", - "x": 0.3908009686198596, - "y": 0.45816362246683756, + "x": 0.3908, + "y": 0.45817, "group": "" }, "ap-r3-m2-001": { "id": "ap-r3-m2-001", - "x": 0.46749408899016376, - "y": 0.43833048795296903, + "x": 0.46749, + "y": 0.43833, "group": "" }, "ap-r3-m5-001": { "id": "ap-r3-m5-001", - "x": 0.46749408899016376, - "y": 0.43833048795296903, + "x": 0.46749, + "y": 0.43833, "group": "" }, "ap-r3-m2-002": { "id": "ap-r3-m2-002", - "x": 0.5513393526819198, - "y": 0.43833048795296903, + "x": 0.55134, + "y": 0.43833, "group": "" }, "ap-r3-m5-002": { "id": "ap-r3-m5-002", - "x": 0.5513393526819198, - "y": 0.43833048795296903, + "x": 0.55134, + "y": 0.43833, "group": "" }, "ap-r3-m2-008": { "id": "ap-r3-m2-008", - "x": 0.42005600280014005, - "y": 0.6112998507068211, - "group": "" + "x": 0.42005, + "y": 0.6113, + "group": "stage4" }, "ap-r3-m5-008": { "id": "ap-r3-m5-008", - "x": 0.42005600280014005, - "y": 0.6112998507068211, - "group": "" + "x": 0.42005, + "y": 0.6113, + "group": "stage4" }, "ap-r3-m2-005": { "id": "ap-r3-m2-005", - "x": 0.463667111927025, - "y": 0.6112998507068211, - "group": "" + "x": 0.46367, + "y": 0.6113, + "group": "stage4" }, "ap-r3-m5-005": { "id": "ap-r3-m5-005", - "x": 0.463667111927025, - "y": 0.6112998507068211, - "group": "" + "x": 0.46367, + "y": 0.6113, + "group": "stage4" }, "ap-r2-m2-002": { "id": "ap-r2-m2-002", - "x": 0.34752201895809076, - "y": 0.22173037223289738, + "x": 0.34752, + "y": 0.22173, "group": "" }, "ap-vi-m2-002": { "id": "ap-vi-m2-002", - "x": 0.8237190430950119, - "y": 0.2613502103676611, + "x": 0.82372, + "y": 0.26135, "group": "" }, "ap-vi-m5-002": { "id": "ap-vi-m5-002", - "x": 0.8237190430950119, - "y": 0.2613502103676611, + "x": 0.82372, + "y": 0.26135, "group": "" }, "ap-vi-m2-003": { "id": "ap-vi-m2-003", - "x": 0.9610866257598595, - "y": 0.40880044002200117, + "x": 0.96109, + "y": 0.4088, "group": "" }, "ap-vi-m2-001": { "id": "ap-vi-m2-001", - "x": 0.9160718750223226, - "y": 0.24567442657847172, + "x": 0.91607, + "y": 0.24567, "group": "" }, "ap-vi-m5-001": { "id": "ap-vi-m5-001", - "x": 0.9160718750223226, - "y": 0.24567442657847172, + "x": 0.91607, + "y": 0.24567, "group": "" }, "ap-vi-m2-020": { "id": "ap-vi-m2-020", - "x": 0.7918442350688963, - "y": 0.4097111998457066, + "x": 0.79184, + "y": 0.40971, "group": "" }, "ap-vi-m5-020": { "id": "ap-vi-m5-020", - "x": 0.7918442350688963, - "y": 0.4097111998457066, - "group": "" - }, - "ap-r7-m2-004": { - "id": "ap-r7-m2-004", - "x": 0.2020861757373583, - "y": 0.40237869036308965, - "group": "" - }, - "ap-r7-m5-004": { - "id": "ap-r7-m5-004", - "x": 0.2020861757373583, - "y": 0.40237869036308965, - "group": "" - }, - "ap-r7-m2-001": { - "id": "ap-r7-m2-001", - "x": 0.26367318365918296, - "y": 0.40237869036308965, - "group": "" - }, - "ap-r7-m5-001": { - "id": "ap-r7-m5-001", - "x": 0.26367318365918296, - "y": 0.40237869036308965, - "group": "" - }, - "ap-r7-m2-005": { - "id": "ap-r7-m2-005", - "x": 0.2020861757373583, - "y": 0.2980020429592907, - "group": "" - }, - "ap-r7-m5-005": { - "id": "ap-r7-m5-005", - "x": 0.2020861757373583, - "y": 0.2980020429592907, - "group": "" - }, - "ap-r7-m2-002": { - "id": "ap-r7-m2-002", - "x": 0.26367318365918296, - "y": 0.2980020429592907, - "group": "" - }, - "ap-r7-m5-002": { - "id": "ap-r7-m5-002", - "x": 0.26367318365918296, - "y": 0.2980020429592907, - "group": "" - }, - "ap-r7-m2-006": { - "id": "ap-r7-m2-006", - "x": 0.2020861757373583, - "y": 0.19682198395634062, - "group": "" - }, - "ap-r7-m5-006": { - "id": "ap-r7-m5-006", - "x": 0.2020861757373583, - "y": 0.19682198395634062, - "group": "" - }, - "ap-r7-m2-003": { - "id": "ap-r7-m2-003", - "x": 0.26367318365918296, - "y": 0.19682198395634062, - "group": "" - }, - "ap-r7-m5-003": { - "id": "ap-r7-m5-003", - "x": 0.26367318365918296, - "y": 0.19682198395634062, + "x": 0.79184, + "y": 0.40971, "group": "" }, "ap-r7-m2-013": { "id": "ap-r7-m2-013", - "x": 0.25116541541362786, - "y": 0.582755566349746, - "group": "" + "x": 0.25116, + "y": 0.58275, + "group": "stage3" }, "ap-r7-m5-013": { "id": "ap-r7-m5-013", - "x": 0.25116541541362786, - "y": 0.582755566349746, - "group": "" + "x": 0.25116, + "y": 0.58275, + "group": "stage3" }, "ap-r7-m2-014": { "id": "ap-r7-m2-014", - "x": 0.19950568957019282, - "y": 0.582755566349746, - "group": "" + "x": 0.1995, + "y": 0.58275, + "group": "stage3" }, "ap-r7-m5-014": { "id": "ap-r7-m5-014", - "x": 0.19950568957019282, - "y": 0.582755566349746, - "group": "" + "x": 0.1995, + "y": 0.58275, + "group": "stage3" + }, + "ap-r7-m2-004": { + "id": "ap-r7-m2-004", + "x": 0.20208, + "y": 0.40238, + "group": "stage1" + }, + "ap-r7-m5-004": { + "id": "ap-r7-m5-004", + "x": 0.20208, + "y": 0.40238, + "group": "stage1" + }, + "ap-r7-m2-001": { + "id": "ap-r7-m2-001", + "x": 0.26367, + "y": 0.40238, + "group": "stage1" + }, + "ap-r7-m5-001": { + "id": "ap-r7-m5-001", + "x": 0.26367, + "y": 0.40238, + "group": "stage1" + }, + "ap-r7-m2-005": { + "id": "ap-r7-m2-005", + "x": 0.20208, + "y": 0.298, + "group": "stage1" + }, + "ap-r7-m5-005": { + "id": "ap-r7-m5-005", + "x": 0.20208, + "y": 0.298, + "group": "stage1" + }, + "ap-r7-m2-002": { + "id": "ap-r7-m2-002", + "x": 0.26367, + "y": 0.298, + "group": "stage1" + }, + "ap-r7-m5-002": { + "id": "ap-r7-m5-002", + "x": 0.26367, + "y": 0.298, + "group": "stage1" + }, + "ap-r7-m2-006": { + "id": "ap-r7-m2-006", + "x": 0.20208, + "y": 0.19682, + "group": "stage1" + }, + "ap-r7-m5-006": { + "id": "ap-r7-m5-006", + "x": 0.20208, + "y": 0.19682, + "group": "stage1" + }, + "ap-r7-m2-003": { + "id": "ap-r7-m2-003", + "x": 0.26367, + "y": 0.19682, + "group": "stage1" + }, + "ap-r7-m5-003": { + "id": "ap-r7-m5-003", + "x": 0.26367, + "y": 0.19682, + "group": "stage1" }, "ap-r7-m2-007": { "id": "ap-r7-m2-007", - "x": 0.1278521068910588, - "y": 0.40237869036308965, - "group": "" + "x": 0.12785, + "y": 0.40238, + "group": "stage1" }, "ap-r7-m5-007": { "id": "ap-r7-m5-007", - "x": 0.1278521068910588, - "y": 0.40237869036308965, - "group": "" + "x": 0.12785, + "y": 0.40238, + "group": "stage1" }, "ap-r7-m2-008": { "id": "ap-r7-m2-008", - "x": 0.1278521068910588, - "y": 0.2980020429592907, - "group": "" + "x": 0.12785, + "y": 0.298, + "group": "stage1" }, "ap-r7-m5-008": { "id": "ap-r7-m5-008", - "x": 0.1278521068910588, - "y": 0.2980020429592907, - "group": "" + "x": 0.12785, + "y": 0.298, + "group": "stage1" }, "ap-r7-m2-009": { "id": "ap-r7-m2-009", - "x": 0.1278521068910588, - "y": 0.19682198395634062, - "group": "" + "x": 0.12785, + "y": 0.19682, + "group": "stage1" }, "ap-r7-m5-009": { "id": "ap-r7-m5-009", - "x": 0.1278521068910588, - "y": 0.19682198395634062, - "group": "" + "x": 0.12785, + "y": 0.19682, + "group": "stage1" }, "ap-r7-m2-010": { "id": "ap-r7-m2-010", - "x": 0.07703706613902124, - "y": 0.40237869036308965, - "group": "" + "x": 0.07704, + "y": 0.40238, + "group": "stage1" }, "ap-r7-m5-010": { "id": "ap-r7-m5-010", - "x": 0.07703706613902124, - "y": 0.40237869036308965, - "group": "" + "x": 0.07704, + "y": 0.40238, + "group": "stage1" }, "ap-r7-m2-011": { "id": "ap-r7-m2-011", - "x": 0.07703706613902124, - "y": 0.2980020429592907, - "group": "" + "x": 0.07704, + "y": 0.298, + "group": "stage1" }, "ap-r7-m5-011": { "id": "ap-r7-m5-011", - "x": 0.07703706613902124, - "y": 0.2980020429592907, - "group": "" + "x": 0.07704, + "y": 0.298, + "group": "stage1" }, "ap-r7-m2-012": { "id": "ap-r7-m2-012", - "x": 0.07703706613902124, - "y": 0.19682198395634062, - "group": "" + "x": 0.07704, + "y": 0.19682, + "group": "stage1" }, "ap-r7-m5-012": { "id": "ap-r7-m5-012", - "x": 0.07703706613902124, - "y": 0.19682198395634062, - "group": "" + "x": 0.07704, + "y": 0.19682, + "group": "stage1" }, "ap-r7-m2-020": { "id": "ap-r7-m2-020", - "x": 0.1645646568042688, - "y": 0.33221446786625036, - "group": "" + "x": 0.16457, + "y": 0.33221, + "group": "stage1" }, "ap-r7-m5-020": { "id": "ap-r7-m5-020", - "x": 0.1645646568042688, - "y": 0.33221446786625036, - "group": "" + "x": 0.16457, + "y": 0.33221, + "group": "stage1" }, "ap-r7-m2-021": { "id": "ap-r7-m2-021", - "x": 0.1645646568042688, - "y": 0.254439150528955, - "group": "" + "x": 0.16457, + "y": 0.25444, + "group": "stage1" }, "ap-r7-m5-021": { "id": "ap-r7-m5-021", - "x": 0.1645646568042688, - "y": 0.254439150528955, - "group": "" + "x": 0.16457, + "y": 0.25444, + "group": "stage1" }, "ap-r2-m5-002": { "id": "ap-r2-m5-002", - "x": 0.34752201895809076, - "y": 0.22173037223289738, + "x": 0.34752, + "y": 0.22173, "group": "" }, + "ap-r1-m2-004": { + "id": "ap-r1-m2-004", + "x": 0.41801, + "y": 0.08366, + "group": "stage2" + }, + "ap-r1-m5-004": { + "id": "ap-r1-m5-004", + "x": 0.41801, + "y": 0.08366, + "group": "stage2" + }, + "ap-r1-m2-003": { + "id": "ap-r1-m2-003", + "x": 0.49472, + "y": 0.08366, + "group": "stage2" + }, + "ap-r1-m5-003": { + "id": "ap-r1-m5-003", + "x": 0.49472, + "y": 0.08366, + "group": "stage2" + }, "ap-r1-m2-020": { "id": "ap-r1-m2-020", - "x": 0.45730250798254196, - "y": 0.08366275456629972, - "group": "" + "x": 0.4573, + "y": 0.08366, + "group": "stage2" }, "ap-r1-m5-020": { "id": "ap-r1-m5-020", - "x": 0.45730250798254196, - "y": 0.08366275456629972, - "group": "" + "x": 0.4573, + "y": 0.08366, + "group": "stage2" }, "ap-r1-m2-021": { "id": "ap-r1-m2-021", - "x": 0.38171480002571556, - "y": 0.08366275456629972, - "group": "" + "x": 0.38171, + "y": 0.08366, + "group": "stage2" }, "ap-lo-m2-001": { "id": "ap-lo-m2-001", - "x": 0.9520343874336575, - "y": 0.7286628617145142, + "x": 0.95203, + "y": 0.72866, "group": "" }, "ap-lo-m5-001": { "id": "ap-lo-m5-001", - "x": 0.9520343874336575, - "y": 0.7286628617145142, + "x": 0.95203, + "y": 0.72866, "group": "" }, "ap-lo-m2-002": { "id": "ap-lo-m2-002", - "x": 0.9508396848413848, - "y": 0.6656168522711849, + "x": 0.95084, + "y": 0.66561, "group": "" }, "ap-lo-m5-002": { "id": "ap-lo-m5-002", - "x": 0.9508396848413848, - "y": 0.6656168522711849, + "x": 0.95084, + "y": 0.66561, "group": "" }, "ap-lo-m2-003": { "id": "ap-lo-m2-003", - "x": 0.9381319065953297, - "y": 0.5940561313779974, + "x": 0.93813, + "y": 0.59405, "group": "" }, "ap-lo-m5-003": { "id": "ap-lo-m5-003", - "x": 0.9381319065953297, - "y": 0.5940561313779974, + "x": 0.93813, + "y": 0.59405, "group": "" }, "ap-r3-m2-004": { "id": "ap-r3-m2-004", - "x": 0.5145160829470045, - "y": 0.330300086432893, + "x": 0.51451, + "y": 0.3303, "group": "" }, "ap-r3-m5-004": { "id": "ap-r3-m5-004", - "x": 0.5145160829470045, - "y": 0.330300086432893, + "x": 0.51451, + "y": 0.3303, "group": "" }, "ap-r4-m2-005": { "id": "ap-r4-m2-005", - "x": 0.7841742087104355, - "y": 0.9445200831470145, - "group": "" + "x": 0.78417, + "y": 0.94452, + "group": "stage7" }, "ap-r4-m5-005": { "id": "ap-r4-m5-005", - "x": 0.7841742087104355, - "y": 0.9445200831470145, - "group": "" + "x": 0.78417, + "y": 0.94452, + "group": "stage7" }, "ap-noc-test": { "id": "ap-noc-test", - "x": 0.3016804411649154, - "y": 0.2614645017965184, + "x": 0.30168, + "y": 0.26146, "group": "" } } \ No newline at end of file diff --git a/node.js/2 convert svg.js b/node.js/2 convert svg.js index 31d5b59..a40f1fc 100644 --- a/node.js/2 convert svg.js +++ b/node.js/2 convert svg.js @@ -31,6 +31,8 @@ svg.forEach(function (line) { x = (x - x0)/width; y = (y - y0)/height; + var x = Math.round(x*1e5)/1e5; + var y = Math.round(y*1e5)/1e5; accesspoints[id] = {id:id, x:x, y:y, group:group} } else if (line.match(/\