@mapbox/graph-normalizer
Advanced tools
Comparing version 2.3.2 to 3.0.0
@@ -44,3 +44,3 @@ 'use strict'; | ||
// persist oneway, highway, bridge, tunnel tags if they are present | ||
// persist oneway, highway, bridge, tunnel, name, and ref tags if they are present | ||
if (way.properties.hasOwnProperty('oneway')) waySlice.properties.oneway = way.properties.oneway; | ||
@@ -50,2 +50,4 @@ if (way.properties.hasOwnProperty('highway')) waySlice.properties.highway = way.properties.highway; | ||
if (way.properties.hasOwnProperty('tunnel')) waySlice.properties.tunnel = way.properties.tunnel; | ||
if (way.properties.hasOwnProperty('name')) waySlice.properties.name = way.properties.name; | ||
if (way.properties.hasOwnProperty('ref')) waySlice.properties.ref = way.properties.ref; | ||
@@ -70,3 +72,3 @@ splitWays.push(waySlice); | ||
// persist oneway, highway, bridge, and tunnel tags if they are present | ||
// persist oneway, highway, bridge, tunnel, name, and ref tags if they are present | ||
if (way.properties.hasOwnProperty('oneway')) waySlice.properties.oneway = way.properties.oneway; | ||
@@ -76,2 +78,4 @@ if (way.properties.hasOwnProperty('highway')) waySlice.properties.highway = way.properties.highway; | ||
if (way.properties.hasOwnProperty('tunnel')) waySlice.properties.tunnel = way.properties.tunnel; | ||
if (way.properties.hasOwnProperty('name')) waySlice.properties.name = way.properties.name; | ||
if (way.properties.hasOwnProperty('ref')) waySlice.properties.ref = way.properties.ref; | ||
@@ -78,0 +82,0 @@ splitWays.push(waySlice); |
{ | ||
"name": "@mapbox/graph-normalizer", | ||
"version": "2.3.2", | ||
"version": "3.0.0", | ||
"description": "Takes nodes and ways and turn them into a normalized graph of intersections and ways.", | ||
@@ -5,0 +5,0 @@ "bin": "./bin/normalize-ways", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
2373145
843
3