geojsontoosm
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -5,3 +5,3 @@ var jxon = require('jxon'); | ||
function geojsontoosm(geojson) { | ||
var features = geojson.features || geojson.length>0 ? geojson : [geojson] | ||
var features = geojson.features || (geojson.length>0 ? geojson : [geojson]) | ||
@@ -8,0 +8,0 @@ var nodes = [], nodesIndex = {}, |
{ | ||
"name": "geojsontoosm", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Convert GeoJSON to OSM", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
8366