From 60753670153f86ee6339d8e4cff4e89c73601ca9 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 14 May 2013 20:47:58 -0700 Subject: [PATCH] Don't store unused parts of OSM XML --- js/id/core/connection.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/js/id/core/connection.js b/js/id/core/connection.js index d4116b992..e265436e4 100644 --- a/js/id/core/connection.js +++ b/js/id/core/connection.js @@ -100,11 +100,7 @@ iD.Connection = function() { id: iD.Entity.id.fromOSM(nodeStr, attrs.id.nodeValue), loc: [parseFloat(attrs.lon.nodeValue), parseFloat(attrs.lat.nodeValue)], version: attrs.version.nodeValue, - changeset: attrs.changeset.nodeValue, user: attrs.user && attrs.user.nodeValue, - uid: attrs.uid && attrs.uid.nodeValue, - visible: attrs.visible.nodeValue, - timestamp: attrs.timestamp.nodeValue, tags: getTags(obj) }); }, @@ -114,11 +110,7 @@ iD.Connection = function() { return new iD.Way({ id: iD.Entity.id.fromOSM(wayStr, attrs.id.nodeValue), version: attrs.version.nodeValue, - changeset: attrs.changeset.nodeValue, user: attrs.user && attrs.user.nodeValue, - uid: attrs.uid && attrs.uid.nodeValue, - visible: attrs.visible.nodeValue, - timestamp: attrs.timestamp.nodeValue, tags: getTags(obj), nodes: getNodes(obj) }); @@ -129,11 +121,7 @@ iD.Connection = function() { return new iD.Relation({ id: iD.Entity.id.fromOSM(relationStr, attrs.id.nodeValue), version: attrs.version.nodeValue, - changeset: attrs.changeset.nodeValue, user: attrs.user && attrs.user.nodeValue, - uid: attrs.uid && attrs.uid.nodeValue, - visible: attrs.visible.nodeValue, - timestamp: attrs.timestamp.nodeValue, tags: getTags(obj), members: getMembers(obj) });