diff --git a/lib/pbfParser.js b/lib/pbfParser.js
index <HASH>..<HASH> 100644
--- a/lib/pbfParser.js
+++ b/lib/pbfParser.js
@@ -280,9 +280,26 @@ function createWaysView(pb, pg){
             return tags;
         }
 
+        function createNodeRefIds(){
+            var nodeIds, lastRefId, i;
+
+            nodeIds = [];
+            lastRefId = 0;
+
+            for(i = 0; i < way.refs.length; ++i){
+                // TODO we should test wheather adding 64bit numbers works fine with high values
+                lastRefId += way.refs[i].toNumber();
+
+                nodeIds.push('' + lastRefId);
+            }
+
+            return nodeIds;
+        }
+
         return {
             id: way.id.toString(),
-            tags: createTagsObject()
+            tags: createTagsObject(),
+            nodeRefs: createNodeRefIds()
         };
     }
 
diff --git a/test/pbfTest.js b/test/pbfTest.js
index <HASH>..<HASH> 100644
--- a/test/pbfTest.js
+++ b/test/pbfTest.js
@@ -164,6 +164,10 @@ describe('pbf read', function(){
                         way.tags.highway.should.be.equal('service');
                     });
 
+                    it('then first way node ref has id 304994979', function(){
+                        way.nodeRefs[0].should.be.equal('304994979');
+                    });
+
                 });
             });
added parsing way ref node IDs