1.0.0 • Published 9 years ago
null-island v1.0.0
null-island
Generate GeoJSON features from the Republic of Null Island.
Useful for test fixtures and datasets to be geocoded.
Null bomb:
➜ null-island git:(from-the-cli) cat ../marco/test/fixtures/dataset.csv | node cli.js --pipe
{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[0,0]}}
{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[0,0]}}
{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[0,0]}}
{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[0,0]}}
{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[0,0]}}
JS:
var feature = JSON.parse(nils.nullIsland());
t.deepEqual(feature.geometry.coordinates, [0, 0], '0°N 0°E');
Where's Null Island? CLICK HERE
1.0.0
9 years ago