null-island

1.0.0 • Public • Published

Build Status

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

Readme

Keywords

Package Sidebar

Install

npm i null-island

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • rodowi